Code Monkey home page Code Monkey logo

photoselector's Introduction

PhotoSelector

This repo streamlines the process of picking out the best images from a large volume of photos.

Overview

For photography enthusiasts, managing a large volume of photos can be a daunting task. Whether you're a professional photographer sorting through shots from your latest gig, or a hobbyist reviewing snaps from your recent vacation, this script provides the simplest tools to pick out the best images from the bunch.

Getting Started

In the interactive UI, you can choose "Skip" (skip to next image), "Save" (save current image to the target folder) or "Back" (go back to the previous image) for each image. Please change the source_dir to the directory that contains the photos you want to selected from, and target_dir to the directroy the directory you want to save the selected images.

Installation Instructions

This project relies on Tkinter for the graphical user interface and PIL (Python Imaging Library), now maintained as Pillow, for image processing. Follow the steps below to set up your environment and run the script.

Prerequisites

Ensure you have Python installed on your system. This project is tested on Python 3.6 and above. You can check your Python version by running:

python --version

Setting Up

  1. Install Python and pip (if not already installed): Python's official website provides guidance on installation. pip is included by default with Python versions 3.4 and above.

  2. Install Tkinter: Tkinter is included with most Python installations by default. However, if you're on a Linux system, you might need to install it separately. For Ubuntu and Debian-based systems, use:

    sudo apt-get install python3-tk

    For other systems, please refer to your package manager or Python installation instructions.

  3. Install Pillow: Use pip to install Pillow, which is the actively maintained fork of PIL, by running:

    pip install Pillow

Running the Script

Once you have the prerequisites installed, you can run the script directly from the command line:

python selector.py

photoselector's People

Contributors

anqiaoli avatar

Stargazers

Yuhao Mao avatar

Watchers

 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.