how to locate any text in an image

5 views (last 30 days)
mandy
mandy on 20 Mar 2016
Commented: Manu BN on 23 Mar 2016
Hello, i want to find the word 'of' where ever occurring in the image and also want to mark it in rectangle. Can any one help for doing this, any guidance? Please help. Thanks in advance
link for the image: https://www.google.co.in/search?q=indiatimes+news&biw=1093&bih=458&noj=1&source=lnms&tbm=isch&sa=X&ved=0ahUKEwi1uc6E_c7LAhXUA44KHXpFCTAQ_AUICSgD#imgrc=aAedLBEdTP6pyM%3A
  1 Comment
Manu BN
Manu BN on 23 Mar 2016
HOG+SVM can also locate it. One can use SVMLight package.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 20 Mar 2016
Create a template of the "of" word, then use normxcorr2() to find the location of the template in the search image. Demo attached.
  1 Comment
mandy
mandy on 20 Mar 2016
Thank you so much for your reply and the demo. I will try this and let you know. Once again, thank you so much.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!