开发者

Computer Vision - Use Image Matching or OCR to recognize page of a text only book?

开发者 https://www.devze.com 2023-03-27 10:08 出处:网络
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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号