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.1.0.tar.gz
(2.1 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.1.0.tar.gz.
File metadata
- Download URL: cleanframes-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4385fbd34026c381b70f77b5d9d016ff3862b40a1192e5a9702e7ca69c486a49
|
|
| MD5 |
cf79d7a546bedb252494dbffa8f36b12
|
|
| BLAKE2b-256 |
30a446ff59dc1f04c6ec3b0fcb921b7ae53b9e67d7e6eb0b5bb01e6117df13ac
|
File details
Details for the file cleanframes-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cleanframes-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d530d77c6f6ce6cdfc7e3f14d5e4fe550d6adf1f4747f1c2f0504f496a205530
|
|
| MD5 |
9c327eb682fae6ad36478ac77ee5c2fb
|
|
| BLAKE2b-256 |
3a3b0fa7f41a500de81d39169a7290ade22c9141fa081fffff8766e4aef85996
|