imagededup图片查重封装使用
Project description
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
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file dedup_img-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: dedup_img-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f0748eac358051ad4a5e753109ae1a01ac98c7514b7a3774fdb31a8680ea5cf |
|
MD5 | 4ec78650ea3e8081b162f12083ef3b8a |
|
BLAKE2b-256 | f7b7b080577c704822dc0e3d3f5281a22a77c4c3ac65ec544a65771816ca58f8 |