The current approximation of width/height ratio is based on:
- the average width
- the average height
It gives good results when the camera is at about the same distance from all four corners of the document.
However, it leads to a wrong ratio when a document is captured with a significant angle.
The current approximation of width/height ratio is based on:
It gives good results when the camera is at about the same distance from all four corners of the document.
However, it leads to a wrong ratio when a document is captured with a significant angle.