|
|
|
@ -6,14 +6,24 @@ Photo De-Duplication |
|
|
|
``` |
|
|
|
``` |
|
|
|
cd dedup |
|
|
|
cd dedup |
|
|
|
python -m venv C:\Users\$env:USERNAME\Common\env_dedup |
|
|
|
python -m venv C:\Users\$env:USERNAME\Common\env_dedup |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
& C:\Users\$env:USERNAME\Common\env_dedup\Scripts\Activate.ps1 |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
If you get an error like: "running scripts is disabled on this system" |
|
|
|
|
|
|
|
It means your PowerShell execution policy is too restrictive. You can temporarily allow scripts by running: |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
Check to see if C:\Users\$env:USERNAME\Common\env_dedup\Scripts OR bin folder exists in Windows... |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
If that does not work, then TRY: |
|
|
|
|
|
|
|
& C:\Users\$env:USERNAME\Common\env_dedup\bin\Activate.ps1 |
|
|
|
|
|
|
|
|
|
|
|
pip install xxhash opencv-python |
|
|
|
pip install xxhash opencv-python |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Usage Windows: |
|
|
|
## Usage Windows: |
|
|
|
``` |
|
|
|
``` |
|
|
|
C:\Users\$env:USERNAME\Common\env_dedup\Scripts\Activate.ps1 |
|
|
|
|
|
|
|
If that does not work, then TRY: |
|
|
|
|
|
|
|
C:\Users\$env:USERNAME\Common\env_dedup\bin\Activate.ps1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
python dedup.py 0.jpg 1.jpg |
|
|
|
python dedup.py 0.jpg 1.jpg |
|
|
|
``` |
|
|
|
``` |
|
|
|
@ -45,4 +55,4 @@ python dedup.py 0.jpg 1.jpg |
|
|
|
./get_dups.sh $HOME/Pictures |
|
|
|
./get_dups.sh $HOME/Pictures |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
[Image of ScreenShot](Screenshot2025-04-26.png) |
|
|
|
[] |
|
|
|
|