Function leap_sys::LeapDistortionCoeffsEx
source · [−]pub unsafe extern "C" fn LeapDistortionCoeffsEx(
hConnection: LEAP_CONNECTION,
hDevice: LEAP_DEVICE,
camera: eLeapPerspectiveType,
dest: *mut f32
)
Expand description
\ingroup Functions Returns an OpenCV-compatible lens distortion for a particular device, using the 8-parameter rational model.
The order of the returned array is: [k1, k2, p1, p2, k3, k4, k5, k6]
@param hConnection The connection handle created by LeapCreateConnection(). @param hDevice A device handle returned by LeapOpenDevice(). @param camera The camera to use, a member of the eLeapPerspectiveType enumeration @param[out] dest A pointer to a single-precision float array of size 8. @since 5.4.0