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.1.tar.gz (6.5 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.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cleanframes-0.2.1.tar.gz
  • Upload date:
  • Size: 6.5 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.1.tar.gz
Algorithm Hash digest
SHA256 ef08d21e6d5494a8f211dc67472f245c96161917e3211cb653cb9df128cf2da8
MD5 2f1214eea6125ccf9839e0e72696cc74
BLAKE2b-256 5c4df7ff16fe8fd1d3ebf3df3917d724e207269fffdfb5ecd30327a469f05304

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cleanframes-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e7aa722d949195040f38f62ffb1ede76fd454d5a20b458479c97711a66c1cb1
MD5 19a204be24d81058d28860168db3238e
BLAKE2b-256 185c6175b60a2390197b3cece71b28201be465f332f2826c6117ce6152aad268

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