macOS-DAL-Webcam-Workaround
nokhwa
macOS-DAL-Webcam-Workaround | nokhwa | |
---|---|---|
1 | 7 | |
4 | 445 | |
- | - | |
0.0 | 5.3 | |
about 2 years ago | 15 days ago | |
Rust | ||
GNU General Public License v3.0 only | Apache License 2.0 |
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.
macOS-DAL-Webcam-Workaround
nokhwa
-
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?
CameraController - π· Control USB Cameras from an app
hyperbacked - π Superbacked, but in Rust
pi-webcam - Automation to configure a Raspberry Pi as a USB OTG webcam
OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
DAL - [AAAI 2021] Official implementation of "Dynamic Anchor Learning for Arbitrary-Oriented Object Detection".
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