wasmvision / wasmcv

WebAssembly guest interfaces for computer vision using OpenCV. Supports both WASI and WASM "unknown".
https://wasmcv.org
Other
8 stars 2 forks source link

Examples: OSX dos not support /dev/video* device #1

Open mmichal9 opened 1 day ago

mmichal9 commented 1 day ago

OSX does not support /dev/video devices rendering examples frozen without any error.

Using gocv.VideoCaptureDevice(deviceID) instead seem to fix the issue

@deadprogram, I have a PR ready to contribute the fix with small improvements in the example docs. Please advise regarding contribution instructions :)

mmichal9 commented 1 day ago

@deadprogram fix proposal: https://github.com/wasmvision/wasmcv/pull/2

deadprogram commented 19 hours ago

Good point about the device ID!