项目作者: manti-by

项目描述 :
Image deduplicate script
高级语言: Python
项目地址: git://github.com/manti-by/mgallery.git
创建时间: 2018-07-11T14:58:48Z
项目社区:https://github.com/manti-by/mgallery

开源协议:BSD 3-Clause "New" or "Revised" License

下载


Image deduplication app

About

Image deduplicate script and GTK app to compare.

Python 3.12
Code style: black
License

Author: Alexander Chaika manti.by@gmail.com

Source link: https://github.com/manti-by/mgallery/

Rust mirror: https://github.com/manti-by/mgallery-rust/

Requirements:

  1. Python 3.12, OpenCV, Redis, GTK

Script setup

  1. Set appropriate environment variables:

    1. export REDIS_URL=redis://127.0.0.1:6379/5
    2. export GALLERY_PATH=/home/ubuntu/app/data/
    3. export DEBUG_LOG=/tmp/mgallery/debug.log
    4. export ERROR_LOG=/tmp/mgallery/error.log
  2. Install necessary libraries

    1. sudo apt install -y pkg-config python3-dev libraw-dev
    2. sudo apt install -y python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev gcc libcairo2-dev
  3. Setup environment and install packages from requirements file:

    1. pip3 install -r requirements.txt
  4. Scan a gallery and compare duplicates

    1. make setup
    2. make scan
    3. make compare