gphoto2-rs
Rust wrapper for gphoto2 (by maxicarlos08)
nokhwa
Cross Platform Rust Library for Powerful Webcam/Camera Capture (by l1npengtul)
gphoto2-rs | nokhwa | |
---|---|---|
1 | 7 | |
25 | 446 | |
- | - | |
4.5 | 5.3 | |
8 months ago | 26 days ago | |
Rust | Rust | |
GNU Lesser General Public License v3.0 only | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gphoto2-rs
Posts with mentions or reviews of gphoto2-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-18.
-
GPhoto2-rs: High level libgphoto2 bindings for Rust
But the rust bindings (gphoto-rs) weren't quite there yet, it is missing a lot of features, and since the author hasn't been active on the project (last commit: 2017) despite of many feature and pull requests asking for more features (in memory file download, camera configuration, chose one of the available cameras, etc.), I created the project gphoto2-rs which has a higher level API but implements all the features from libgphoto2.
nokhwa
Posts with mentions or reviews of nokhwa.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-12.
-
Have you seen my "Camerata" lib?
Based on nokhwa rust crate.
-
Error while building: "perhaps two different versions of crate `image` are being used?"
It looks like the issue is with nokhwa. There are three open issues that reference the error: 72, 94 and 100. It looks like someone had luck switching from NV12 to YUYV after opening the stream but then I think you might end up with issue 90 where everything is pink so hyperbacked will infinitely loop waiting for an image since it can't actually read anything. The YUYV issue might have been fixed but the crate has been failing to build since the last release. That rules out setting the dependency to use the git repository. I think you just need to wait for a new release of nokhwa that fixes the issues but I don't know when that will be.
- Nannou β An open-source creative-coding framework for Rust
- Nokhwa 0.10 Released - Simple to use Cross Platform Rust Library for Powerful Webcam/Camera Capture
-
Rust and C
It is pretty painful and requires so much unsafe but I think the "not needing to deal with bindgen" and the Rust exclusive features make it worth it. If you need an example check out https://github.com/l1npengtul/nokhwa/tree/0.9.2/nokhwa-bindings-windows
- Nokhwa 0.4.3 - Webcam support for WebAssembly, MediaFoundation(Windows), AVFoundation(MacOS), and more!
What are some alternatives?
When comparing gphoto2-rs and nokhwa you can also consider the following projects:
hyperbacked - π Superbacked, but in Rust
OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
rust-sdl2 - SDL2 bindings for Rust
bardecoder - Detect and decode QR Codes, written in 100% Rust.
quil - Main repo. Quil source code.
p5nim - πΈπ p5nim: processing for nim through p5js
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust
processing - Source code for the Processing Core and Development Environment (PDE)
opencv-rust - Rust bindings for OpenCV 3 & 4
nannou - A Creative Coding Framework for Rust.
evcxr
cpal - Cross-platform audio I/O library in pure Rust