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

Handle visually similar images. #4

Open
vegetableman opened this issue Nov 21, 2023 · 0 comments
Open

Handle visually similar images. #4

vegetableman opened this issue Nov 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@vegetableman
Copy link
Owner

vegetableman commented Nov 21, 2023

MediaRecorder is the right option for recording frames but due to compression applied by video codecs during the recording, even visually identical frames will differ in this data and end up being marked as dissimilar and packed separately — increasing the size of the packed image. Refer #2.

There are three ways to go about it:

  • Fix the diffing so that it takes in to account visual similarity.
  • Add a mechanism to detect visually similar matches during packing similar to matchTemplate.
  • Find a workaround so that we don't end up with dissimilar images in the first place through mediarecorder.
@vegetableman vegetableman added the bug Something isn't working label Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant