Skip to content
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 Template Matching #744

Open
redcrow opened this issue Mar 26, 2020 · 6 comments
Open

Improve Template Matching #744

redcrow opened this issue Mar 26, 2020 · 6 comments

Comments

@redcrow
Copy link

redcrow commented Mar 26, 2020

NOTE

Forum: https://forums.openmv.io/viewtopic.php?f=6&t=1813&sid=cc052523870cb4995a9a134fc2bc00d4
Rotation and scale matching is really CPU intensive right now however. That said, using the log polar transforms might help optimize things.

(Rotation and scale require checking the whole image again at a different scale. Rotation the same way. With log polar it's possible to remap the image so that rotation matching is cheap).

Steps to reproduce

  1. Template matching with rotation or scale changes

Expected behaviour

Template matching working with some degree of rotation and/or scaling involved.

Actual behaviour

Usually fails if template and image are not lined up or scaled.

Describe your setup

IDE version: 2.4.0

Firmware version: 3.5.2 --> OpenMV Cam H7 w/ MT9V034 Global Shutter Camera Module

Operating system: WIN 10 PRO

For developers

GCC version:

Build target:

@redcrow
Copy link
Author

redcrow commented Jun 6, 2020

Any updates on this enhancement?

@kwagyeman
Copy link
Member

This is not a priority right now.

@redcrow
Copy link
Author

redcrow commented Jun 6, 2020

Understood ...Thanks for the update.

@kwagyeman
Copy link
Member

I'm working on the next release right. Doing the documentation. And then we will be working to get Edge Impulse support out for better deep learning support next. I plan to fix lower priority issues like this near the end of the year. We have a lot of higher impact objectives in the future however.

@MNRobotics
Copy link

Hello,

any progress in template matching?

@kwagyeman
Copy link
Member

Nope! Way to busy.

Folks could submit PRs and contribute to the code base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants