docs.rs failed to build kamera-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
kamera-0.0.2
Camera API with a reduced feature set for basic usecases and learning.
- ❌ Linux, Web, Android, iOS and various embedded support is not existent yet.
- 🚧 Mac support is based on AVFoundation and is not behind the Camera API yet.
- its good to review test print outs too
cargo t -- --nocapture --test-threads=1
- its good to review test print outs too
- 🚧 Windows support is based on MediaFoundation.
- tests need to run with a single thread
cargo t -- --test-threads=1
- tests need to run with a single thread
- ❌ CI is manual running tests on Mac and Windows with various camera devices.
use Camera;
let camera = new_default_device;
camera.start;
let Some = camera.wait_for_frame else ; // always blockingly waiting for next new frame
let = frame.size_u32;
frame.data.data_u32 // use this buffer, per default in ARGB format
// for real use cases processing or displaying frames can get more complicated when trying to be most efficient
camera.stop // or drop it