videohash
videohash | video-simili-duplicate-cleaner | |
---|---|---|
4 | 1 | |
257 | 42 | |
- | - | |
0.0 | 6.8 | |
4 months ago | 3 months ago | |
Python | C++ | |
MIT License | GNU General Public License v3.0 only |
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.
video-simili-duplicate-cleaner
-
Best way to find duplicate video files?
I ended up using Video simile duplicate finder https://theophanemayaud.github.io/video-simili-duplicate-cleaner/ (macOS binaries available for now) It's open source, based on vidupe and QT : https://github.com/kristiankoskimaki/vidupe (windows binaries available but no "auto deletion based on specific criterion")
What are some alternatives?
neuralhash-collisions - A catalog of naturally occurring images whose Apple NeuralHash is identical.
dupeguru - Find duplicate files
imgdupes - Identifying and removing near-duplicate images using perceptual hashing.
vidupe - Vidupe is a program that can find duplicate and similar video files. V1.211 released on 2019-09-18, Windows exe here:
scala-phash - Image comparison by hash codes
videoduplicatefinder - Video Duplicate Finder - Crossplatform
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.
emdrive - 💫 Fast similarity search DBMS
motion-tracking-video-crop - Crop motion tracked video with added smoothing movement
yt-dlp - A feature-rich command-line audio/video downloader