I want to be able to recognize what page of a text only (no images) book I'm on... what is the best approach:
I was initially thinking some sort of image matching but the pag开发者_如何转开发es of an all text book look so similar not sure how well this would work?
Second thought was to use OCR??
Any ideas or suggestions... thanks!
I think image matching is really useless in your case... If you want to detect on which page you are and that the book has numbered pages you can use an OCR like Tesseract.
- 1) Locate the page number (top left hand corner, right, bottom..)
- 2) Extract it (extract the imaget to proceed to decoding on it)
- ( 2bis) Preprocess the imaget... )
- 3) Decode it (use Tesseract or another OCR)
If you don't want to use an OCR you can look at Hu Moments, if the numbers are standard printed numbers it can be quite good at recognising them.
精彩评论