detect control from Winform image with OpenCV

asked 2018-02-06 01:51:49 -0600

Mark gravatar image

updated 2018-02-06 03:47:32 -0600

Hello Sir,

Sample form

C:\fakepath\controlsample.png

C:\fakepath\Example2.png

Please look the attached image i want to detect WinForm's control from image. In this screen two Button,Check Box and radio button available.

Now i want to detect as a those control as button,checkbox and radio button via SIFT or SURF algorithm.Does it possible detect those object from image?

Can anyone suggest me how to train a model and which algorithm is better for the purpose?

Please look below image as output sample.

C:\fakepath\output.png

Thanks,

edit retag flag offensive close merge delete

Comments

Please have a look at this

Balaji R gravatar imageBalaji R ( 2018-02-06 02:12:55 -0600 )edit

Thanks for answer but it will work only this image only. Please look Example2.png in my original question. Where i have different type of same control. Now template match will fail here. Can i use any other algorithm? Where i can train it and those training help me to recognize control from any image.

Mark gravatar imageMark ( 2018-02-06 03:57:33 -0600 )edit