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

Implement Logo detection #99

Open
2 tasks
FoxxMD opened this issue Aug 9, 2022 · 2 comments
Open
2 tasks

Implement Logo detection #99

FoxxMD opened this issue Aug 9, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@FoxxMD
Copy link
Owner

FoxxMD commented Aug 9, 2022

Based on a request by u/BootsMade4Walking -- add ability for CM to detect solid, well-defined logos in an image.

Potentially can use openCV (using opencv.js?) template matching, assuming the logo is provided and well-isolated. Potentially can make the detection scale/rotation agnostic.

To determine:

  • Possible to use opencv.js in CM?
  • Can use opencv.js for template matching with decent performance?
@FoxxMD FoxxMD added the enhancement New feature or request label Aug 9, 2022
@FoxxMD
Copy link
Owner Author

FoxxMD commented Aug 18, 2022

Template matching js example

Could also be used to determine if an image is cropped or not -- https://stackoverflow.com/a/60120165/1469797

@FoxxMD
Copy link
Owner Author

FoxxMD commented Aug 18, 2022

Will need to integrate openCV dependency into docker and provide a path/docs for doing so on non-docker installations.

https://github.com/UrielCh/opencv4nodejs

FoxxMD added a commit that referenced this issue Aug 24, 2022
* Initial template matching logic using openCV
* Test using pokemon cheat logo
* Test using an "exact" selection from a stock image https://unsplash.com/photos/J2RQT7kJSMM
@FoxxMD FoxxMD mentioned this issue Oct 17, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant