etiennedub / pyk4a

Python 3 wrapper for Azure-Kinect-Sensor-SDK
MIT License
289 stars 81 forks source link

calibration #216

Open Zhang-ZP1998 opened 1 year ago

Zhang-ZP1998 commented 1 year ago

How to obtain the camera intrinsic matrix and distortion cofficients through the program? I tried this command, but kept getting an error calibration1 = Calibration(capture, pyk4a.DepthMode.WFOV_2X2BINNED, pyk4a.ColorResolution.RES_3072P, True) print(calibration1.get_camera_matrix(CalibrationType.DEPTH))

zhanghua7099 commented 1 year ago

See this PR. https://github.com/etiennedub/pyk4a/pull/113#issuecomment-809845979