I am trying to do my own blob detection. My program will receive a real time video, and try to detect a white paper sheet, even if something is written on the paper.
I need to detect the paper and its corner, because what I really want is to draw a opengl polygon over the paper, such that each corner of the paper will be a corner of the polygon. Then, I need the coordinates of the paper to do other operations. So, I need to:
- detect a square white blob
- get the coordinates of the corners
- draw a polygon over the white sheet
Any ideas on how can I do that?