react-native-vision-cameraType aliases
DepthPixelFormat
type DepthPixelFormat =
| "depth-16-bit"
| "depth-32-bit"
| "depth-point-cloud"
| "disparity-16-bit"
| "disparity-32-bit"
| "unknown"Represents the pixel format of a depth image buffer.
In general, depth-* formats use actual depth sensors (like
infra-red, time-of-flight or LiDAR), whereas disparity-*
formats come from multiple constituent physical cameras
and represents pixel shift between two or more cameras.
depth-16-bit: Depth (1 Grey) 16-bit Floatdepth-32-bit: Depth (1 Grey) 32-bit Floatdepth-point-cloud: A 3D Point Cloud representing depth. Each point consists of four 32-bit floats,[x, y, z, confidence].disparity-16-bit: Disparity (1 Grey) 16-bit Floatdisparity-32-bit: Disparity (1 Grey) 32-bit Floatunknown: An unknown format.