-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve ImageSearch #33
Comments
Benchmarks (on a slow laptop): Python's template matching (from OpenCV): 3.43 fps |
This one does about 200 fps on the test images by preventing the subimage matching. https://godbolt.org/z/vP679rhYP The question is: is matching 2/3/4 best? For this script, matching 1,4 is good. But only 4 can be optimized. 2 and 3 may be too correlated. |
This one fastest: https://godbolt.org/z/rGKczzYqs Rank:
|
|
or
with
? |
Yeah, the |
Another note to rank:
Because the first pixel kind of acts like another check! |
|
All of the above has been completed. Only useful data is: Rank:
|
ImageSearch has two components:
Prioritize:
Here is some code to help you:
https://github.com/iseahound/ImagePut/assets/9779668/3c2587da-d6ed-449d-af78-89633e2a7442
https://github.com/iseahound/ImagePut/assets/9779668/25a63f1b-8fb2-4c2a-84c4-34867b1e5ece
Useful ideas:
boyer moore (and string search algorithms in general)
multi-dimensional string searcch
Has ImageSearch been a priority in the public domain?
Some research papers would be immensely valuable.
Current performance is about 19 fps, compared to pixelsearch's 4000 fps. Aim for 800 fps or higher.
The text was updated successfully, but these errors were encountered: