- Split core types and traits into
nokhwa-core
- Now you can use
nokhwa
's Camera types in your own packages, to e.g. createnokhwa
extensions or usenokhwa
's decoders.
- Now you can use
- Removed support for JS Bindings
- This is due to lack of support for non-C style enums in
wasm-bindgen
. - You can still use
nokhwa
in the browser, you just can't use it from JS.
- This is due to lack of support for non-C style enums in
- New CameraControl API
- Deprecated
raw_camera_control
API
- Deprecated
- New RequestedFormat API
- Removed Network Camera
- Network Camera is now supported through OpenCV Camera instead.
- New Buffer API
- New PixelFormat API
- Callback Camera: Removed
Result
from theindex()
andcamera_info()
API. - AVFoundation Improvements
- Split V4L2 into its own crate
- New Formats:
- NV12
- RAWRGB
- GRAY
- Added warning about decoding on main thread reducing performance
- After a year in development, We hope it was worth the wait.
- Fixed Camera Controls for V4L2
- Disabled UVC Backend.
- Added polling and last frame to
ThreadedCamera
- Updated the
CameraControl
related Camera APIs
- Media Foundation Access Violation fix (#13)
- Bumped some dependencies.
- Fixed
msmf
- Relicensed to Apache-2.0
- Added AVFoundation, MSMF, WASM
.get_info()
returns a&CameraInfo
- Added Threaded Camera
- Added JSCamera
- Changed
new
to useCaptureAPIBackend::Auto
by default. Old functionally still possible withwith_backend()
- Added
query()
, which usesCaptureAPIBackend::Auto
by default. - Fixed/Added examples
- Bumped
ouroboros
to avoid potential UB - [INTERNAL] Removed
Box<T>
from many internal struct fields ofUVCCaptureDevice
- Added feature hacks to prevent gstreamer/opencv docs.rs build failure
- Added
query_devices()
to query available devices on system - Added
GStreamer
andOpenCV
backends - Added
NetworkCamera
- Added WGPU Texture and raw buffer write support
- Added
capture
example - Removed
get_
from all APIs. - General documentation fixes
- General bugfixes/performance enhancements
First release
- UVC/V4L backends
Camera
struct for simplificationCaptureBackendTrait
to simplify writing backends