I want to scan some documents and I want to know when a page is "in the frame" of the camera. What I mean by this is the optimal distance from camera to page document (but without cutting any of the document). I want to run the detection program in a loop, so that the user calibrates the camera distance for each document before scanning.
How can I do this?
Detect if page is in frame
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Detect if page is in frame
galv wrote:I want to scan some documents and I want to know when a page is "in the frame" of the camera. What I mean by this is the optimal distance from camera to page document (but without cutting any of the document). I want to run the detection program in a loop, so that the user calibrates the camera distance for each document before scanning.
How can I do this?
You will need to explain in more detail and possible show examples of what you mean by in frame and out of frame.