Skip to main content

A professional tool for cleaning duplicate or near-duplicate image frames using perceptual hashing and embeddings.

Project description

CleanFrames

CleanFrames is a professional tool for removing duplicate or near-duplicate image frames using:

  • MD5 (byte-level duplicates)
  • Perceptual hashing (visual similarity)
  • Deep embeddings (semantic redundancy)

Installation

pip install cleanframes

Usage

from clean_frames import CleanFrame

cleaner = CleanFrame(device='mps')
embeddings, paths = cleaner.SwinEmbedding("path/to/images")
cleaner.cleanframes(paths, embeddings_list=[("swin", embeddings)], threshold=0.95)

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

cleanframes-0.2.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cleanframes-0.2.0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file cleanframes-0.2.0.tar.gz.

File metadata

  • Download URL: cleanframes-0.2.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for cleanframes-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bc7f863745e5e3d6f37d8771ae6f744be990dcad4e9a7769e2972a2b89ac9ff8
MD5 5490ece65430d653191dba597f1d49a4
BLAKE2b-256 a63a5631c48fd3634e1284ce53dbf4058cad6a51e42e0297a6e644d92357e4e8

See more details on using hashes here.

File details

Details for the file cleanframes-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cleanframes-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for cleanframes-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b629acdc4f98040b9c075281afac709965451811cb4c911341d1f0efedfdebd
MD5 f832148b40b78a6ce969c55abb62242e
BLAKE2b-256 2126022cbe2bbe573867a458329eb9c5de4aed4e352492fb4283c8c248b593c2

See more details on using hashes here.

Supported by

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