Skip to content

lemio/OpenCameraMonitor

Repository files navigation

Camera Live Preview Web UI

photo_app.mp4

Simple web interface for USB-connected cameras using gphoto2.

Canon EOS 600D is tested in this repository, but other gphoto2-compatible cameras may also work.

What It Does

  • Live view in the browser
  • Trigger photo capture from the browser
  • Save captured images to the captures/ folder

Requirements

  • Python 3.8+
  • gphoto2
  • A USB-connected camera supported by gphoto2

Install gphoto2 on macOS:

brew install gphoto2

Setup

cd CanonEos
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Run

bash start_web.sh

Open:

  • http://localhost:5000

Main Controls

  • Live Preview Toggle: enable/disable live view
  • Shutter Button: take a picture

Captured files are stored in:

  • captures/

Notes About Compatibility

  • Canon EOS 600D is tested.
  • Other cameras can work if gphoto2 --auto-detect finds them and live view/capture commands are supported by the device.

Quick check:

gphoto2 --auto-detect

Optional Server Arguments

python server.py --port 5000 --save-dir captures
  • --save-dir controls where captured files are written.

Relevant other repos

Check out https://web-gphoto2.rreverser.com/ to connect a browser directly to a camera.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors