I've got a little side project that I'd like to use for playing with computer vision. I have a scan of a document that has some words circled, or more specifically surrounded by 2 parallel horizontal lines joined by curves at each end. Similar to the word search worksheets that elementary school children work on, but with cleaner lines and only horizontal.
![]()
Goal is to extract out the circled bits and then pass only those portions to an OCR process to get the circled text.
I've used opencv a bit before for facial recognition using some of the packaged haar cascades. Would a similar approach work for simple shapes or are there lower level approaches within OpenCV that would work well?