Ask Your Question
0

Real time desktop scanning for certain images

asked 2015-02-02 13:00:55 -0600

I think its pretty clear what i would like to do - i would want to constantly scan my computers screen to find specific items. Is it possible to do with OpenCV? Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-02 13:38:30 -0600

updated 2015-02-02 13:54:50 -0600

cv::Matchtemplate could be a start. It slides a reference image over a image and compares them at each position. But it could be hard to get that in realtime (maybe after downscaling your desktop image or moving it to a GPU).

Next option would be feature based (Sift, Surf, ORB,...).

Do you have a perfect match? (e.g. are you looking for a specific icon?)

edit flag offensive delete link more

Comments

yes i want to compare specific small image what program would have to find on my dekstop, they would be changing all the time of course so my program to do futher calculations would have to know what image exactly is on the desktop at this given time

If i use this cv::Matchtemplate could i also make screenshots in specific region on my desktop or i would have to click print screen all the time and somehow import that one into my program really fast?

apple_pie gravatar imageapple_pie ( 2015-02-02 14:02:45 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-02-02 13:00:55 -0600

Seen: 365 times

Last updated: Feb 02 '15