Coder Social home page Coder Social logo

jolonb / deletevisuallyredundantpr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anirudhkishan/deletevisuallyredundant

0.0 0.0 0.0 5 KB

This fork has an active pull request, however, I think the source repo is inactive. You can find an up-to-date version at the link below:

Home Page: https://github.com/JolonB/DeleteVisuallyRedundant

Python 100.00%

deletevisuallyredundantpr's Introduction

Delete Visually Redundant

A Python script that deletes redundant visually-similar images.

For a list of visually similar images it finds, it first deletes all but the largest by file-size. If still multile files remain, it deletes all but the oldest by modified-on.

How to use

These are the accepted options:

Option Description
-p Mandatory. Path to the folder under which to recusively scan.
-r The script creates a 'dups.txt' file as an intermediate while processing. This file holds the list of visually-similar filenames. Giving -r prevents deleting this intermediate file after processing.
-d Dry run. Prints out the names of the files which would be deleted. Doesn't actually delete them.

Dependencies

  • findimagedupes

Gotchas

  • Supports jpg, png and gif files
    • The script can be trivially modified to support even more file types.

Tags

duplicate; image; remove; detect; find;

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.