/videoid

Video comparison using perceptual hashing in C++

Primary LanguageC++

bergkvist/videoid

Let's say you own the exclusive license to a video clip (an asset) on YouTube.

Instead of manually looking through videos (compilations) to find out if each of them contains your asset, you wish this process could be automated.

If that's the case, you're in luck. VideoID can discover assets in compilations without human intervention. It is written in C++, utilizing OpenCV for image/video processing, and OpenMP for multithreaded performance.

Installation

$ git clone https://github.com/bergkvist/videoid
$ cd videoid
$ make

# Check that it is working:
$ ./bin/main.exe ZTHsrEG5jhA M_KWGJw6R24

Usage

Usage: videoid <asset-id> <compilation-id>
  <asset-id>:       The id of a YouTube video that you own
  <compilation-id>: The id of a YouTube video that you want to check

NOTE: by setting the environment variable VERBOSE=1, you will get more detailed output when running the program.

Documentation

Usage and examples

Theory (How it works)

Benchmarks

Analysis of Results

References

Troubleshooting