microsoft / HoloLens2ForCV

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

MapCameraSpaceToImagePoint returning (0, 0) for any input #18

Open qian256 opened 4 years ago

qian256 commented 4 years ago

Hi there! I tried to call MapCameraSpaceToImagePoint to get the inverse mapping of MapImagePointToCameraUnitPlane, but it looks like whatever xy (in unit plane) is given, the resulting uv is (0, 0).

dorinung commented 4 years ago

This is indeed a bug. Thanks for reporting.

dorinung commented 4 years ago

As a work around you can use MapImagePointToCameraUnitPlane to scan through the image and create a map that you reverse lookup.

huaiozhang commented 3 years ago

I also encountered this problem. Is the bug fixed?

DadEap commented 3 years ago

Still no fix ? How are we supposed to use the research mode without such basic function ?