Closed xabuloes closed 6 years ago
The image buffer was being released right after the photo was acquired; the IBuffer on top of this buffer persisted, but the underlying memory was gone. Fixed by creating an IBuffer that manages its own memory.
Please try develop/fix-camera-av to verify the fix for your scenario.
Thank you so much for the incredible fast support! It works now.
Thumbs up to the new Microsoft/GitHub partnership! :)
@Almost-Done @xabuloes Yes I tried too and it works fine with the fix. Just a question, I tested successfully on SampleApps and ThreeJSApps but I can't make it work on the HoloJSWebViewer, it can't access the source "camera://local/default" through a Get. Any idea how to connect it to the webcam? (webcam and microphone capabilities added right ) Thanks!
Hi there!
first: thank you for the amazing library that HoloJS is.
I was trying to capture a camera image from the HoloLens camera. I found the example code from a previous issue (https://github.com/Microsoft/HoloJS/issues/124) which seemed to have worked. However, when I try to access a camera image like this:
I encounter a "ThreeJSApp-Vs2017.exe: 0xC0000005: Access violation reading location XXX" here:
I added all necessary capabilities to the app and using an external image (e.g. https://docs.opencv.org/3.4.0/markers.jpg) works without any issues.
Thank you in advance!
xabuloes