videohash
emdrive
Our great sponsors
videohash | emdrive | |
---|---|---|
4 | 1 | |
257 | 9 | |
- | - | |
0.0 | 0.0 | |
4 months ago | over 1 year ago | |
Python | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
videohash
-
videohash / video fingerprinting Question : Detecting if a small clip is part of a longer movie
Hi all, I try to create a program to detect if a certain video scene (normally within 10 seconds) is within a longer video file. The idea is that if I find an scene on youtube, I want to know from which episodes of a particular TV show (assuming I know which tv show, but no idea which episode), so I want to find it out. Current solution: [a] - Extract Frame using ffmpeg from the reference clip (fps = 1) [b] - Extract Frame using ffmpeg from the longer video file (fps around 0.1 or 0.5) For each frame from [a] , I do a imagehash for [a] and [b] and comparing the hamming distance, get the lowest distance from this round of comparision and move on to the next frame from [a] Eventually I got an average score and I can find out if this TV episode contain the scene I was looking for. However, this is slow and not efficient. I found out that there is a videohash library https://github.com/akamhy/videohash But it said "Videohash cannot be used to verify whether one video is a part of another (video fingerprinting)." Does anybody know why? Is it because it gets a videohash for the whole video? If this is the case, how about I use the video hash lib to create a hash for my reference clip (let's say it is about 10 seconds) and then I create multiple 10-second version of the Longer video, generate a videohash just for it and compared that with my reference clip. Would that work? (Yes I understand that for a 60 minutes movie, that would be like 360 video hash to be calculated)... Do you think this is better? Thanks.
-
tips on scraping for porn?
2) Sorting through all the scraped data. This is going to vary depending on your approach. If you want to remove duplicates, there is a library called videohash that will allow you to take the perceptual hash of video files. If 2 videos have the same perceptual hash, they are duplicate.
-
Videohash – Perceptual Video Hashing Package
I think it creates a collage of the video frames: https://github.com/akamhy/videohash/blob/8759b6ad7fdabcdf4dd...
and passes that on to the videohash.py module to generate a hash:
- GitHub - akamhy/videohash: Python package for Perceptual Video Hashing - Get a 64-bit comparable hash-value for any video.
emdrive
-
Videohash – Perceptual Video Hashing Package
The lack of the ideal solution is why I'm building Emdrive, an RDBMS with first class support for similarity search, based on indexing with an M-tree variation. Still very early stages ;) https://github.com/Twixes/emdrive
What are some alternatives?
neuralhash-collisions - A catalog of naturally occurring images whose Apple NeuralHash is identical.
sonic - 🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM.
imgdupes - Identifying and removing near-duplicate images using perceptual hashing.
MeiliSearch - A lightning-fast search API that fits effortlessly into your apps, websites, and workflow
scala-phash - Image comparison by hash codes
sled - the champagne of beta embedded databases
vidgear - A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features :fire:
openshot-qt - OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
motion-tracking-video-crop - Crop motion tracked video with added smoothing movement
video-simili-duplicate-cleaner
yt-dlp - A feature-rich command-line audio/video downloader