Code Monkey home page Code Monkey logo

Comments (3)

Halogenes avatar Halogenes commented on June 18, 2024

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.

elisemercury avatar elisemercury commented on June 18, 2024

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.

Halogenes avatar Halogenes commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.