Comments (3)
I ran the same code with different versions and exactly the same images.
v3.0.3 : Does not work
v3.0.2 : Does not work
v3.0.1 : Works very well ! (see below)
{'directory': ('D:\\Fichiers conservés\\PHOTOS\\PNG\\1080x1920',), 'duration': {'start_date': '2023-02-26', 'start_time': '13:30:57', 'end_date': '2023-02-26', 'end_time': '13:31:06', 'seconds_elapsed': 9.0692}, 'fast_search': True, 'recursive': True, 'match_mse': 200, 'files_searched': 133, 'matches_found': 24, 'invalid_files': 0}
Good luck finding the problem and thanks again for the work :)
(Curious to know what the problem was when you solve it)
from duplicate-image-finder.
Hi @Halogenes,
Thanks for opening the issue! I assume the issue is due to the change from opencv to Pillow (as Pillow is faster and more lightweight). It is likely, that Pillow decodes the images differently and throws an error for certain types of images. If possible, could you please share one (or more) of the images with me, so that I can test what the issue is related to? That would be of great help. You can share the image with me via [email protected]. I will work on fixing the issue ASAP!
The issue you experienced is likely related to the Pillow package. Pillow made some adjustments with versions >9.1.0 that can affect difPy in the background, depending on which one is installed on your PC. The issue has now been fixed with difPy v3.0.4. Please update it and let me know if the issue is fixed from your end as well.
Thank you and best regards,
Elise
from duplicate-image-finder.
Sorry for my late reply.
I tried to run exactly the same code, with the same photos using the latest version available (v 3.0.7) and I'm pleased to say that everything works perfectly!
{'directory': ['D:\\Fichiers conservés\\PHOTOS\\PNG\\1080x1920'], 'duration': {'start_date': '2023-03-09', 'start_time': '10:45:55', 'end_date': '2023-03-09', 'end_time': '10:46:10', 'seconds_elapsed': 14.6431}, 'fast_search': True, 'recursive': True, 'match_mse': 200, 'files_searched': 133, 'matches_found': 24, 'invalid_files': {'count': 0}
Congratulations for your work :)
from duplicate-image-finder.
Related Issues (20)
- 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
- Feature: Detection of cropped duplicates HOT 2
- distutils was removed in Python 3.12 HOT 1
- A new process has started before the current process has finished its bootstrapping phase HOT 9
- Support of other file types HOT 1
- Bug: Incorrect MSE values for certain folder input parameters HOT 1
- difPy.build() throws RuntimeError HOT 1
- Widely varied search times HOT 1
- is it not possible to leverage difPy to match just a single image to a folder of images? HOT 1
- BUG: Filepaths with square brackets, [ ], are ignored/errored HOT 3
- Suggestion: scan folder and compare against an archived folder
- Key error during union search if any invalid files HOT 2
- Will not work in a script. HOT 1
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.