|
|
|
|
@ -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 . |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
[] |
|
|
|
|
|