dedup-img
描述
dedup-img是一个基于imagededup库做封装的图片去重库,使用本地web做UI展示,所以该库依赖于:
- imagededup: 图片去重
- flask: 生成本地web,用于展示和操作图片去重后的分类展示
- pillow: 生成缩略图
安装
pip install dedup-img
使用
图片去重命令
dedup -P -d e:/Pictures
选项解析
-P 图片去重算法
| 选项 | 使用说明 |
|---|---|
| -P | 感知哈希(PHash) |
| -A | 平均哈希(AHash) |
| -D | 差异哈希(DHash) |
| -W | 小波哈希(WHash) |
-d 后接需要去重的图片的所在文件夹
执行去重命令后会在图片所在文件夹里生成若干文件
浏览去重后的图片数据展示
flask-web e:/Pictures
Metadata
Release files for dedup-img 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dedup_img-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for dedup_img-1.0.2-py3-none-any.whl |
Release files / dedup_img-1.0.2-py3-none-any.whl
| Download URL | dedup_img-1.0.2-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f0748eac358051ad4a5e753109ae1a01ac98c7514b7a3774fdb31a8680ea5cf
|
|
BLAKE2b-256 checksum How to use checksums |
f7b7b080577c704822dc0e3d3f5281a22a77c4c3ac65ec544a65771816ca58f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10
|
Security for dedup-img 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.