Detecting TextBoxes in screenshots of apps

asked 2019-07-07 13:07:40 -0600

nazeeh gravatar image

Hey all,

I am pretty new to OpenCV and was wondering if it could help me with a problem I am trying to solve. The problem: Given a screenshot of an app (say a browser showing a web page, but could also be a XAML app), I want to detect the active textbox bounds (x, y, height, width). By active textbox, I mean the textbox that the user has clicked on (has a caret in it probably). Is this something that I can do using OpenCV? I learned how to detect faces using OpenCV via a Haar Cascade classifier and it worked pretty well. I am uncertain if that would also work for what I need.

Would love to hear you thoughts on this!

Thanks

edit retag flag offensive close merge delete