DEV Community

selfhosting.sh
selfhosting.sh

Posted on • Originally published at selfhosting.sh

PhotoPrism vs Google Photos: Can Self-Hosted Compete?

Quick Verdict

Google Photos is more convenient — zero setup, excellent AI, and seamless mobile integration. PhotoPrism matches many of Google's AI features (facial recognition, scene detection, smart search) while giving you full privacy and unlimited storage on your own hardware. The trade-off: PhotoPrism requires setup, maintenance, and more server resources.

Overview

PhotoPrism is a self-hosted photo management platform with AI capabilities. It uses TensorFlow for facial recognition, object detection, and scene classification. It indexes your library and provides smart search, map views, and automatic categorization — all running locally on your hardware.

Google Photos is Google's cloud photo service with industry-leading AI features. It automatically organizes, searches, and enhances your photos using Google's machine learning models. Free storage ended in 2021 — photos now count against your Google One storage quota.

Feature Comparison

Feature PhotoPrism Google Photos
Facial recognition Yes (TensorFlow, local) Yes (Google AI, cloud)
Object/scene search Yes (auto-labels) Yes (best-in-class)
Natural language search Yes (basic) Yes (advanced, "photos of dogs at the beach")
Map view Yes Yes
Memories No Yes (polished)
Auto-enhance No Yes
Magic Eraser No Yes (Google One)
Photo collages No Yes
Shared albums Yes (links) Yes (rich collaboration)
Family sharing Limited multi-user Google Family sharing
Mobile app PWA (no native app) Native iOS & Android
Auto-upload from phone Via WebDAV/Syncthing Yes (native, background)
Video support Yes Yes
RAW support Yes (extensive) Yes
Storage limit Your hardware (unlimited) 15 GB free, then $2-10/mo
Privacy Full control (your server) Google scans photos for AI
Editing tools No Yes (filters, crop, adjust, AI tools)
Print shop No Yes
Annual cost (100 GB) ~$50/year (electricity) $20/year
Annual cost (2 TB) ~$50/year (same) $100/year

Cost Comparison

Storage Tier Google One PhotoPrism (Self-Hosted)
15 GB Free
100 GB $1.99/month ($24/year)
200 GB $2.99/month ($36/year)
2 TB $9.99/month ($120/year) ~$50/year (electricity)
5 TB $24.99/month ($300/year) ~$50/year + drive
Hardware $0 $200-500 one-time

At 2 TB+, self-hosting is significantly cheaper. At smaller storage levels, Google is more cost-effective when factoring in hardware costs.

What PhotoPrism Does Better

  • Unlimited storage. No monthly fees per GB. Add drives as needed.
  • Full privacy. Google analyzes your photos for AI training and ad targeting (even if they claim otherwise). PhotoPrism runs entirely on your hardware.
  • No vendor lock-in. Your photos are files on disk. No export needed.
  • RAW photo handling. PhotoPrism has extensive RAW format support with good processing. Google Photos compresses RAW uploads.
  • No account required. No Google account, no terms of service changes, no data mining.

What Google Photos Does Better

  • AI quality. Google's AI is years ahead for photo understanding. Search accuracy, face grouping, and auto-categorization are superior.
  • Zero maintenance. No server, no Docker, no updates, no hardware.
  • Native mobile experience. Background upload, sharing in Messages, integrated with Android/iOS camera.
  • Photo editing. Magic Eraser, filters, adjustments — built right into the app.
  • Memories. Google's curated memories and auto-created collages are genuinely delightful.
  • Collaboration. Shared albums with real-time commenting and collaboration.
  • Google Lens integration. Search by pointing your camera at things.

Migration Guide

From Google Photos to PhotoPrism

  1. Export from Google: Go to takeout.google.com → select Google Photos → choose export format (original quality recommended).
  2. Download and extract. Google sends ZIP files. Extract all archives.
  3. Handle Google's metadata. Google exports metadata as separate JSON files alongside photos. Use exiftool to merge metadata back into the image files:
   exiftool -overwrite_original -r -d "%s" \
     -tagsfromfile "%d/%F.json" \
     "-GPSAltitude<GeoDataAltitude" \
     "-GPSLatitude<GeoDataLatitude" \
     "-GPSLongitude<GeoDataLongitude" \
     "-DateTimeOriginal<PhotoTakenTimeTimestamp" \
     "-FileModifyDate<PhotoTakenTimeTimestamp" \
     -ext jpg -ext jpeg -ext png -ext gif -ext mp4 -ext mov .
Enter fullscreen mode Exit fullscreen mode
  1. Deploy PhotoPrism. Set up the Docker Compose stack.
  2. Copy photos to PhotoPrism's originals directory.
  3. Run initial index. This takes hours for large libraries (ML processing).
  4. Verify and adjust. Check that faces, locations, and dates are correct.

What You Give Up

  • Convenience. Google Photos is effortless. PhotoPrism requires server management.
  • AI excellence. Google's photo AI is the best in the industry. PhotoPrism's is good but not at Google's level.
  • Mobile auto-upload. PhotoPrism has no native mobile app. You need WebDAV or Syncthing for auto-upload — it works but isn't as seamless.
  • Photo editing. No built-in editor in PhotoPrism.
  • Google Lens. No equivalent in self-hosted photo tools.
  • Uptime guarantee. Google's infrastructure is always available. Your home server depends on your internet and hardware.

For a better mobile experience with self-hosted AI features, consider Immich instead — it has native mobile apps with background upload while still offering facial recognition and smart search.

Frequently Asked Questions

Is PhotoPrism's AI as good as Google's?

No. Google's AI is trained on billions of photos with Google's massive compute resources. PhotoPrism's TensorFlow models are good — face detection works well, scene classification is decent — but Google's natural language search is noticeably more accurate and flexible.

Can PhotoPrism auto-upload from my phone?

Not directly. PhotoPrism has no mobile app. The recommended workaround is using Syncthing to sync your phone's camera folder to a directory that PhotoPrism watches. It works but adds complexity. For native auto-upload, use Immich.

What about Google Photos' sharing features?

PhotoPrism supports link-based sharing but lacks Google's collaborative features (shared albums with commenting, partner sharing, family libraries). For richer sharing, combine PhotoPrism with a shared folder via Nextcloud.

Related

Top comments (0)