diff --git a/README.md b/README.md index 987a021..34dbb6c 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,32 @@ Photo De-Duplication -## Install +## Install Windows +``` +cd dedup +python -m venv C:\Users\$env:USERNAME\Common\env_dedup +pip install xxhash opencv-python +``` + +## Usage Windwos: +``` +C:\Users\$env:USERNAME\Common\env_dedup\Scripts\Activate.ps1 +python debup.py 0.jpg 1.jpg +``` + +# Windows Automated Directory use, not TESTED YET!: +``` +get_dups.bat %USERPROFILE%\Pictures +``` + +## Install Linux ``` cd dedup python3 -m venv myenv source myenv/bin/activate pip install xxhash opencv-python ``` -## Useage: +## Useage Linux: ``` cd dedup @@ -17,4 +35,9 @@ source myenv/bin/activate python debup.py 0.jpg 1.jpg ``` +# Linux Automated Directoy use: +``` +./get_dups.sh . +``` + [![Image of ScreenShot](Screenshot2025-04-26.png)] diff --git a/get_dups.bat b/get_dups.bat index 1a00865..0ca9976 100644 --- a/get_dups.bat +++ b/get_dups.bat @@ -1,7 +1,7 @@ @echo off :: Activate the virtual environment -call myenv\Scripts\activate.bat +call C:\Users\$env:USERNAME\Common\env_dedup\Scripts\Activate.ps1 :: Check if the first argument is a directory if not exist "%~1\" (