Comments (4)
So the script dif.py is installed but somehow not added to the path, my problem I think I can sort that out, later.
from duplicate-image-finder.
Hi @GerritKuilder,
I just tested it myself and the CLI implementation works fine from my end.
Did you run the command in the folder where dif.py is located? If you did not add difPy to your path variables, you need to first locate into the folder where the dif.py script is installed and then you will be able to run the CLI command successfully.
For instance: if you installed difPy via the pip installer, then you would need to locate where your Python packages are installed. For me on Windows 10 that is C:\Users\User\AppData\Local\Programs\Python\Python37\Lib\site-packages\difPy.
If you cloned difPy directly from GitHub, then locate the dif.py script it in the folder where you cloned it.
Hope this helps!
All the best,
Elise
from duplicate-image-finder.
Hello Elise,
Thank you, i figured out that the dif.py was indeed not i my path.
But I managed to create a custom script, bases on your example and dump the json result into a file,
I was able to replace a very time consuming javascript (days) with an under a minute python script and process the result in my node app..
Thank you for this.
Next step: take a python course....
Kind Regards,
Gerit Kuilder
from duplicate-image-finder.
Hi Gerit,
That is great to hear - happy you found a way to make it work!
All the best and happy coding,
Elise
from duplicate-image-finder.
Related Issues (20)
- Clustering Possible? HOT 1
- AttributeError: 'PosixPath' object has no attribute 'is_relative_to' HOT 4
- Add ability to recurse a directory tree but limit comparison of content to that in each subfolder only HOT 12
- Which files are deleted if comparing and deleting within two folders? (Folder A and Folder B) HOT 1
- Missing PyPi Documentation for difPy's Fast Search Algorithm HOT 1
- Misspelled variable HOT 1
- Enhancement: ignore files where file extension is not of a known image type HOT 5
- Similar or Duplicate images aren't recognized at all HOT 5
- All my images are considered invalid HOT 3
- Minimum requirements not met HOT 1
- Make the package installable and usable via `pipx` HOT 2
- Enhancement - Optional parameter set for source folder / comparison folder mode HOT 3
- query about json HOT 2
- Launching dif.py with the parameters below causes it to terminate HOT 2
- Multiprocessing HOT 1
- Bug: File extension filter erroneously flags files that have more than dot (.) character in file name. HOT 2
- search.delete() always fails (even with matches); nested search.lower_quality dictionary HOT 2
- Incorrect results and a few further observations HOT 4
- MemoryError HOT 5
- Fail to detect pictures compressed to a lower resolution HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplicate-image-finder.