Sign inSign up

vovan/video-phash

By vovan

Updated about 3 years ago

docker run -it --rm --name video_phash -v local_video_file.mp4:/app/video.mp4 vovan/video-phash

Image
0

10K+

vovan/video-phash repository overview

Calculates perceptual hash for video using ruby phashion gem, ffmpeg, imagemagick

You can use phash result to compare two videos.

Algorithm

  1. Get 10 frames from video evenly in length
  2. Join images horizontally
  3. Get perceptual hash of image

example

docker run -it --rm --name video_phash -v local_video_file.mp4:/app/video.mp4 vovan/video-phash

Tag summary

Content type

Image

Digest

sha256:a615aea68

Size

420.6 MB

Last updated

about 3 years ago

docker pull vovan/video-phash