Search found 7 matches

by farzher
2014-02-05T23:04:41-07:00
Forum: Users
Topic: compare -subimage-search command hanging
Replies: 13
Views: 4418

Re: compare -subimage-search command hanging

Maybe this isn't the algorithm I want to be using? Since in my case I'm looking for an image on the desktop, which is a screenshot, not a real life picture, and pixels will be the same exact colors as in my sub image; there's probably a way more efficient way of looking for it. I think It'll be ...
by farzher
2014-02-05T22:37:21-07:00
Forum: Users
Topic: compare -subimage-search command hanging
Replies: 13
Views: 4418

Re: compare -subimage-search command hanging

I'm on Windows /:
And I don't want to make things too complicated, because I want other people to be able to use this code on their computer.
by farzher
2014-02-05T22:28:10-07:00
Forum: Users
Topic: compare -subimage-search command hanging
Replies: 13
Views: 4418

Re: compare -subimage-search command hanging

Thank you for all the tips! My resolutions are 850 x 590 67 x 57 But I'll need to use a 1080p base image (I'm looking for something on the desktop). Maybe I can shrink the sub image I'm looking for. It doesn't make any sense how this is so slow though, because there's a thing I've used called Sikuli ...
by farzher
2014-02-05T22:00:06-07:00
Forum: Users
Topic: compare -subimage-search command hanging
Replies: 13
Views: 4418

Re: compare -subimage-search command hanging

Wow, so I let it run for a minute, and it actually finished successfully, and I think detected the subimage too (:

But, why is it taking so long!? Images are ~800 pixel resolutions.
by farzher
2014-02-05T21:58:08-07:00
Forum: Users
Topic: compare -subimage-search command hanging
Replies: 13
Views: 4418

Re: compare -subimage-search command hanging

If I flip the two images, instead of hanging it complains "image size differs"
by farzher
2014-02-05T21:56:29-07:00
Forum: Users
Topic: compare -subimage-search command hanging
Replies: 13
Views: 4418

Re: compare -subimage-search command hanging

Good idea, I didn't realize there was supposed to be a : after null.
But that didn't work; I've also tried whatever.png

The command works if I just remove -subimage-search
Well, it complains about different image sizes, but when I use the same image twice it's all good.
by farzher
2014-02-05T21:31:01-07:00
Forum: Users
Topic: compare -subimage-search command hanging
Replies: 13
Views: 4418

compare -subimage-search command hanging

Code: Select all

compare.exe -metric RMSE -subimage-search screenshot.png locator.png null
This command just hangs and runs my CPU at 13% until I press Ctrl + C

Other compare commands are working just fine!