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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef08d21e6d5494a8f211dc67472f245c96161917e3211cb653cb9df128cf2da8
|
|
| MD5 |
2f1214eea6125ccf9839e0e72696cc74
|
|
| BLAKE2b-256 |
5c4df7ff16fe8fd1d3ebf3df3917d724e207269fffdfb5ecd30327a469f05304
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e7aa722d949195040f38f62ffb1ede76fd454d5a20b458479c97711a66c1cb1
|
|
| MD5 |
19a204be24d81058d28860168db3238e
|
|
| BLAKE2b-256 |
185c6175b60a2390197b3cece71b28201be465f332f2826c6117ce6152aad268
|