Skip to main content

Video deduplicator utility for Hydrus Network

Project description

Hydrus Video Deduplicator

Hydrus Video Deduplicator finds potential duplicate videos through the Hydrus API

PyPI - Version PyPI - Python Version PyPI downloads GitHub Repo stars


How It Works:

The deduplicator works by comparing videos similarity by their perceptual hash.

Potential duplicates can be processed through the Hydrus duplicates processing page just like images.

You can choose to process only a subset of videos with --query using Hydrus tags, e.g. --query="character:edward" will only process videos with the tag character:edward.

For more information check out the wiki and the FAQ


Installation:

Dependencies:

python3 -m pip install hydrusvideodeduplicator

Usage:

python3 -m hydrusvideodeduplicator --api-key="<your key>"

For full list of options see --help or the usage page.


TODO:

  • Option to rollback and remove potential duplicates
  • OR predicates for --query
  • Parallelize hashing and duplicate search
  • Automatically generate access key with Hydrus API
  • Docker container
  • Upload Docker container to Docker Hub (GitHub Action)
  • Pure Python port of vpdq
  • Windows compatibility without WSL or Docker

Contact:

Create an issue on GitHub for any problems/concerns. Provide as much detail as possible in your issue.

Message @applenanner on the Hydrus Discord for other general questions/concerns


Attribution:

Hydrus Network (DWTFYWTPL)

Hydrus API Library (GNU AGPLv3) by cryzed

pdq (BSD) by Meta

vpdq (BSD) by Meta

Big Buck Bunny, Sintel (CC BY 3.0) clips by Blender Foundation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hydrusvideodeduplicator-0.4.1.tar.gz (47.0 kB view details)

Uploaded Source

Built Distribution

hydrusvideodeduplicator-0.4.1-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

Details for the file hydrusvideodeduplicator-0.4.1.tar.gz.

File metadata

File hashes

Hashes for hydrusvideodeduplicator-0.4.1.tar.gz
Algorithm Hash digest
SHA256 898770861a99c9aeb61586898ef7c323eaf49381bdbe157cd6e6acfce0d4603c
MD5 1a7f28bb65e3885078cc414ca549cce2
BLAKE2b-256 fb81b2aff3228774941cfa56cf8672fbdd1bbbbf00c33c00ac22b238a5e3e813

See more details on using hashes here.

File details

Details for the file hydrusvideodeduplicator-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hydrusvideodeduplicator-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6e17afb7fdfc8b1f5ec7e2fc5ed85d37bd06828a4fd06cef2627fbb2495a552
MD5 475c52c3af19de68d9a991b9a4f25e8b
BLAKE2b-256 e2643ac8eb9205d3a0fe39fdb269ee067ddddcdac1e3f14f3e8cf771fe9f0d0a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page