Giter Site home page Giter Site logo

duplicate_images_finder's Introduction

Build Status Maintainability Documentation Status FOSSA Status

Find and delete duplicate images inside a directory.

Running

> python main.py -d 'sample_images/'
[DUPLICATE FOUND] sample_images/road.jpg sample_images/road_duplicate.jpg
[DELETED] sample_images/road_duplicate.jpg
> python main.py -h
usage: main.py [-h] [-d] [-s] [--min_matches MIN_MATCHES]
               [--features_distance FEATURES_DISTANCE]
               directory

positional arguments:
  directory             directory with the images

optional arguments:
  -h, --help            show this help message and exit
  -d, --delete          delete the duplicate images found with smaller res
  -s, --silent          quiet execution without logging
  --min_matches MIN_MATCHES
                        minimum number of matching features to accept the
                        images as being similar
  --features_distance FEATURES_DISTANCE
                        [0,1] - higher number results in more matching
                        features but with less accuracy
Similar / Duplicate Images

Different Images

Requirements

Before running this project you need to install its requirements.

> pip install -r requirements.txt

Built With

  • Python - Programming language
  • OpenCV - Computer vision library

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

References

  • D. G. Lowe, "Distinctive image features from scale-invariant keypoints", International Journal of Computer Vision, 60, 2 (2004), pp. 91-110. [PDF]
  • M. Muja and D. G. Lowe, "Scalable Nearest Neighbor Algorithms for High Dimensional Data", IEEE Transactions on Pattern Analysis and Machine Intelligence 36, 11 (2014), pp. 2227-2240. [PDF]

duplicate_images_finder's People

Contributors

drewisdorner avatar magamig avatar

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.