microsoft / HoloLensForCV

Sample code and documentation for using the Microsoft HoloLens for Computer Vision research
MIT License
472 stars 156 forks source link

Maybe something wrong in the sample #142

Open Louislar opened 3 years ago

Louislar commented 3 years ago

I'm using hololens gen1, and wish to get the sensor stream(data) for research. I found some project may have error, if i don't fix some bug.

  1. Project: StreamerVLC AppMain.cpp I think the if condition in line 101, maybe wrong, because Depth sensor's data is store in Gray16 not Gray8, so the Code at 107 should be Gray16, when using sensor data to render. Otherwise line 183 will report error.

  2. Project: Samples/py/ sensor reciever If i directly run the code it will give error, which tells me that byte can't add string. So i think in "Try receive data", image_data='' needs to change to image_data=b''. Using python 3.8.3

I'm new in UWP, so I maybe wrong. Thanks.