Get camera parameter hfov, vfov

Hello
I am currently using Astra+ and Astra Pro. (Nuitrack SDK)

Can I get hfov and vfov?
Also, can I get focal_length x, y, cx, cy?

Hi @firehouse750,

Could you please describe your use case? How do you want to use these parameters?

Do you want to convert coordinates from one type to another type? If so, then you can use DepthSensor::convertProjToRealCoords and DepthSensor::convertRealToProjCoords functions for this.

If you want to align a depth frame with a color frame, you can use this:

Nuitrack::init()
...
Nuitrack::setConfigValue("DepthProvider.Depth2ColorRegistration", "true");

Otherwise, you can get hfov parameter from the OutputMode structure.
Unfortunately the Nuitrack API does not provide other parameters. But you can calculate fx, fy, cx, cy parameters like this and calculate vfov parameter using this formula.

Looking forward to your response.

Thank you very much for your reply.