JohannesBuchner / imagehash

A Python Perceptual Image Hashing Module
BSD 2-Clause "Simplified" License
3.28k stars 331 forks source link

Videohash #208

Open vlad-com opened 6 months ago

vlad-com commented 6 months ago

Basic usage

import cv2
import imagehash.videohash as videohash

hash = videohash.average_hash(cv2.VideoCapture('tests/data/bigbuck_bunny.mp4'))
print(hash)
#00400002472c082b
coveralls commented 6 months ago

Coverage Status

coverage: 87.153% (-0.7%) from 87.847% when pulling 696b09cbbb5945caf9ab2c9e4bdd3a51f6b6b025 on vlad-com:videohash into 38005924fe9be17cfed145bbc6d83b09ef8be025 on JohannesBuchner:master.

JohannesBuchner commented 2 months ago

Hi, this is a cool idea! Could you please say a few words about the motivation, and add tests, and include it in the README?