-
Notifications
You must be signed in to change notification settings - Fork 47
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
Hash Collision #94
Comments
I have noticed this too, any idea what's causing it? |
Just learning this library myself, but if you check out the collages, you can see the collage images are virtually identical (located at Just did some testing, and you can increase the number of frames per second. Check out the results of this:
|
I'll have to look at that example later. I've also had the opposite problem where the same video will produce different hashes, not to mention that it always takes a few seconds to run which is quite long for real-world applications these days. I think I'll either have to fork this and see if I can improve or switch to using something else. I'd also like to see if I can add partial fingerprint, where a video that's part of another one can be recognised as such. |
The issue of collages for short videos being almost entirely black seems to stem from the fact that the width of the collage is set to 1024px no matter what. Instead, i tried editing
And, more importantly, it produces different hashes for the two videos I uploaded in the original issue. Link: MikPisula@b4b8f32 |
When it comes to the performance, perhaps the python multiprocessing library could be used to speed up the image-manipulation part? |
It could do but it has to be done in a way that works across devices. I think an algorithm with decent time complexity would be best. I'm also thinking it might be better to start over than to fork. I'd like to see if video fingerprinting might be possible. Edit: I just found this: https://pypi.org/project/videofingerprint/ |
Describe the bug
Hash collision occurs with videos of the same length and with similar colour schemes.
To Reproduce
Expected behavior
The hashes of the videos should be different.
Screenshots
NA
Please complete the following information:
Additional context
The text was updated successfully, but these errors were encountered: