CameraModelType Enum

This type is an EasyAR Sense API in C#: CameraModelType . Some descriptions may not apply to Unity environment on this page.

Some parts of the Sense API may have already been wrapped into Unity components, and directly usages may not be necessary.

Description

Camera optics model type.

Constant

Value

Description

Pinhole

0

Pinhole camera model

Parameter list is expected in the following order:

fx, fy, cx, cy

OpenCV

1

OpenCV camera model

Parameter list is expected in the following order:

fx, fy, cx, cy, k1, k2, p1, p2 or

fx, fy, cx, cy, k1, k2, p1, p2, k3 or

fx, fy, cx, cy, k1, k2, p1, p2, k3, k4, k5, k6

OpenCV_Fisheye

2

OpenCV Fisheye camera model

Parameter list is expected in the following order:

fx, fy, cx, cy, k1 or

fx, fy, cx, cy, k1, k2, k3, k4