Description

1) A program that computes a perceptual hash for video files. 2) A smart contract on Arbitrum/Ethereum that serves as database to map perceptual hashes to cryptographic ones. .

DVHDB - Distributed Video Hash Database showcase

How it's made

I used Solidity for the smart contract behind the database and golang for most of the CLI tool. The video hashing itself is done in Python. The perceptual hashing algorithm is based on DCTs (Discrete Cosine Transformation) and is sometimes called the "original pHash". .

Technologies used

ArbitrumIPFS