Skip to main content

dedup-img

描述

dedup-img是一个基于imagededup库做封装的图片去重库,使用本地web做UI展示,所以该库依赖于:

  1. imagededup: 图片去重
  2. flask: 生成本地web,用于展示和操作图片去重后的分类展示
  3. pillow: 生成缩略图

安装

pip install dedup-img

使用

图片去重命令

dedup -P -d e:/Pictures

选项解析

-P 图片去重算法

选项 使用说明
-P 感知哈希(PHash)
-A 平均哈希(AHash)
-D 差异哈希(DHash)
-W 小波哈希(WHash)

-d 后接需要去重的图片的所在文件夹

执行去重命令后会在图片所在文件夹里生成若干文件

浏览去重后的图片数据展示

flask-web e:/Pictures

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)

Table of built distributions (wheels) for dedup-img 1.0.2
File Interpreter ABI Platform
dedup_img-1.0.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page