Skip to content

manti-by/mgallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image deduplication app

About

Image deduplicate script and GTK app to compare.

Python 3.13 Code style: ruff License

Author: Alexander Chaika [email protected]

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

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

Requirements:

Python 3.13, OpenCV, Redis, GTK

Script setup

  1. Set appropriate environment variables:

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

    sudo apt install -y pkg-config python3-dev libraw-dev
    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:

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

    make setup
    make scan
    make compare

About

Image deduplicate script

Topics

Resources

License

Stars

Watchers

Forks

Contributors