jdibenes / hl2da

HoloLens 2 Data Acquisition. Access HoloLens 2 Research Mode, Front Camera, Microphone, Head, Eye, Hand, and External USB-C A/V sensor data.
MIT License
11 stars 1 forks source link

How to actually turn off a PV camera? #19

Closed Jing-Fu closed 2 months ago

Jing-Fu commented 3 months ago

I disabled the PV camera through the following code, but I found that the camera light of the Hololens2 device still glowed.

    hl2da_user.SetEnable(hl2da_api.SENSOR_ID.PV, false);
jdibenes commented 3 months ago

Hello, I tested it again and that code does stop the PV camera. I found that the camera light stays on after the PV stream is disabled if the Long Throw depth stream is enabled. It seems to be a HoloLens/Research Mode quirk but it does not affect data capture.

Jing-Fu commented 2 months ago

Thank you for your help. Indeed, I also turned on the depth camera for testing.