Correction and trimming in the realization of a copy in OpenCV

One morning, Zhang Sangang go to work, punch a cup of tea, going back to work the computer, his boss in a hurry to come over, so he hastened to open the e-mail sent by 2:00 last night, this message is sent by the client. Customer raises the following requirements:

This document corrects the above, and saved as a new file. The original John's company is the development of copiers, under normal circumstances, ordinary copier are asking people to copy the file in accordance with the scale on the copier to set it straight before you start copying. But the customer raised a demand, the documents into the copier anywhere, any place, you can copy a normal file. In fact, this demand is normal, because every time people began to re-align the copy, it is not enough to fool mode of operation. If there is such a function, anyone can copy to a normal document.

 

Joe Smith has spoken to the boss and then, within three days to finish this function. Joe Smith said good on verbal, but the back kept cold sweat. Because we never on such image processing, nor have studied relevant content, had to hurriedly open the browser, enter the word "opencv" in Baidu's search box, and then continue to click on the search content, View, and then shut down. Time flies so fast, all of a sudden went to lunch time, but this demand was not forthcoming and direction. But he is also very smart, to a forum posted this task, as long as who can solve this problem, you can give 1,000 yuan.

 

When I saw this task, they move to the heart going to solve it. So I began to consider how this kind of problem to solve? its

Guess you like

Origin blog.csdn.net/caimouse/article/details/103609781