microsoft / HoloLens2ForCV

Sample code and documentation for using the Microsoft HoloLens 2 for Computer Vision research.
MIT License
489 stars 145 forks source link

Getting pixels per mm of Depth Camera #151

Open Jarartur opened 1 year ago

Jarartur commented 1 year ago

I want to know the spacing of the point cloud generated from depth camera. Is it possible to calculate pixels per mm metric from the Long Throw Depth Camera? RGB Camera has its intrinsics on which you could try to calculate this I think. Depth Camera has its LUT and extrinsics. There is also calibration.txt containing intrinsic matrix of the pinhole model.

Or do I need to have an object of a known size in every frame?