Updated Batch for Windows.

main
Robert 8 months ago
parent 3f6e6e4e0c
commit 69be5d2180
  1. 27
      README.md
  2. 2
      get_dups.bat

@ -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)]

@ -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\" (

Loading…
Cancel
Save