Python Photos

Open-source Python projects categorized as Photos

Top 18 Python Photo Projects

  • Bringing-Old-Photos-Back-to-Life

    Bringing Old Photo Back to Life (CVPR 2020 oral)

    Project mention: UnpromptedControl: Noprompt ControlNet Image Restoration/Object removal, GitHub link in comments | /r/StableDiffusion | 2023-04-28

    This seems to do exactly the same and is the original source of the scratch detection model that is used in OPs version.

  • gphotos-sync

    Google Photos and Albums backup with Google Photos Library API

    Project mention: A way to auto send from google photo to photoprism? | /r/photoprism | 2023-07-04

    What I did was a very painful process of using Google Takeout and gphotos-sync ( ), manually merging what I knew was missing, and using file counts by month/year to track other missing objects. gphotos-sync is limited by the same API issues as rclone, which is another perfectly fine utility to use, besides the API limitations. On a side note, I use rclone to backup everything to "storj" every night ( delta sync ).

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • osxphotos

    Python app to export pictures and associated metadata from Apple Photos on macOS. Also includes a package to provide programmatic access to the Photos library, pictures, and metadata.

    Project mention: Exploring EXIF | | 2023-09-06

    I'm the author of the osxphotos[0] tool mentioned in the article. For photos in an Apple Photos library, osxphotos gives you access to a rich set of metadata beyond what's in the actual EXIF/IPTC/XMP of the image. Apple performs object classification and other AI techniques on your images but generally doesn't expose this to the user. For example, photos are categorized as to object in them (dog, cat, breed of dog, etc.), rich reverse geolocation info (neighborhood, landmarks, etc.) and an interesting set of scores such as "overall aesthetic", "pleasant camera tilt", "harmonious colors", etc. These can be queried using osxphotos, either from the command line, or in your own python code. (Ref API docs[1])

    For example, to find your "best" photos based on overall aesthetic score and add them to the album "Best Photos" you could run:

    osxphotos query --query-eval "photo.score.overall > 0.8" --add-to-album "Best Photos"

    To find good photos with trees in them you could try something like:

    osxphotos query --query-eval "photo.score.overall > 0.5" --label Tree --add-to-album "Good Tree Photos"

    There's quite a bit of other interesting data in Photos that you can explore with osxphotos. Run `osxphotos inspect` and it will show you all the metadata for whichever photo is currently selected in the Photos app.


  • elodie

    An EXIF-based photo assistant, organizer and workflow automation tool.

    Project mention: Help! Advice to organise one giant folder of photos in to subdirectories by date... | /r/DataHoarder | 2023-03-06

    elodie can do this and is very configurable.

  • Fussel

    A static photo gallery generator

    Project mention: Photo gallery with face tagging | /r/selfhosted | 2023-02-28

    That sounds pretty close to the reason I created this:

  • images

    Public domain photos of Members of the United States Congress (by unitedstates)

  • ArchiverForGooglePhotos

    A tool to maintain an archive/mirror of your Google Photos library for backup purposes.

    Project mention: Got my flip 4 back from service center, now having a problem of transferring all my photos back to phone | /r/galaxyzflip | 2023-01-21

    using this.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • The-Machine

    Person of Interest Machine

    Project mention: Revamping My Old Machine Project | /r/PersonOfInterest | 2023-04-22

    If you're curious the original reddit thread can be found here and the original project here

  • undouble

    Python package undouble is to detect (near-)identical images.

  • shashin

    Shashin is a command-line based photo library management system

  • exif_delete

    Secure your photographs by stripping them of all the EXIF data.

  • RepairPhotosBookmarks

    Repair broken bookmarks to referenced files in Apple Photos to fix "Missing file" errors when moving a Photos library to a different disk or machine.

  • Reporter

    A simple python script to get you up and running with a Cydia Repo (by newpolygons)

  • photos_time_warp

    Batch adjust the date, time, or timezone of photos in Apple Photos from the Mac command line.

  • core

    🧠 The core system of an open-source project for a self-hosted photo management application (by photos-network)

    Project mention: how can I add dynamic loading to do "plugins" for my Rust app? | /r/rust | 2023-06-09
  • add_photo_locations_from_google_history

    Python script to add missing location data to photos in your Apple Photos library based on your Google location history. This script can be run stand-alone to add location data to the photos in your library or as a post-processing function for osxphotos to add location data to photos upon export.

    Project mention: Geotag photos with GPX file? | /r/ApplePhotos | 2023-04-30

    I did something similar to add missing locations from my Google takeout history.

  • bulk-exif-to-excel

    Bulk exif data export to excel

  • frontend

    🌎 Web Frontend for the open source project (by photos-network)

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-06.

Python Photos related posts


What are some of the best open-source Photo projects in Python? This list will help you:

Project Stars
1 Bringing-Old-Photos-Back-to-Life 13,735
2 gphotos-sync 1,806
3 osxphotos 1,322
4 elodie 1,157
5 Fussel 226
6 images 174
7 ArchiverForGooglePhotos 150
8 The-Machine 88
9 undouble 38
10 shashin 27
11 exif_delete 24
12 RepairPhotosBookmarks 12
13 Reporter 11
14 photos_time_warp 11
15 core 10
16 add_photo_locations_from_google_history 5
17 bulk-exif-to-excel 1
18 frontend 0
Updating dependencies is time-consuming.
Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.