Web Gphoto2

Running gPhoto2 to control DSLR cameras over USB on the Web
Alternatives To Web Gphoto2
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Libusb4,2444218 days ago1February 27, 2018101lgpl-2.1C
A cross-platform library to access USB devices
Hidapi2,1237a year ago1February 27, 2018241otherC
A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac, and Windows.
Pyusb1,7601,4742005 months ago14December 15, 202123bsd-3-clausePython
Easy USB access for Python
Liquidctl1,734119 days ago30July 03, 202248gpl-3.0Python
Cross-platform CLI and Python drivers for AIO liquid coolers and other devices
2 months ago1otherC
uhubctl - USB hub per-port power control
a month agogpl-3.0C
Windows Driver Installer library for USB devices
3 days ago6June 04, 202231otherC
A Simple cross-platform library for communicating with HID devices
Libaums1,0729210 days ago11January 08, 202039apache-2.0Kotlin
Open source library to access USB Mass Storage devices on Android without rooting your device
Gousb6371234a year ago9March 29, 20226apache-2.0Go
gousb provides low-level interface for accessing USB devices
2 days ago10gpl-3.0C++
A tool for in-depth analysis of USB HID devices communication
Alternatives To Web Gphoto2
Select To Compare

Alternative Project Comparisons

This is a demo app running gPhoto2 on the Web:

A picture of DSLR camera connected via a USB cable to a laptop. The laptop is running the Web demo mentioned in the article, which mirrors a live video feed from the camera as well as allows to tweak its settings via form controls.

Powered by a custom fork of libgphoto2, the WebUSB backend of libusb, and WebAssembly via Emscripten.

For the detailed technical write-up, see the official blog post. To see the demo in action, visit the hosted version here (but make sure to read the cross-platform compatibility notes first).

If you don't have a DSLR, you can check out a recording of the demo below:



To build, you'll need Docker. Then:

./build.sh # runs build in Docker
npx serve ui # starts a local server with COOP/COEP

Then, navigate to http://localhost:5000/ in Chrome.

See also

RReverser/eos-remote-web - my other project for controlling Canon cameras over Web Bluetooth.


Like the dependencies, this demo is licensed under LGPL v2.1.

Popular Usb Projects
Popular Libusb Projects
Popular Hardware Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.