VisionCamera Logo
  • Docs
  • API Reference
VisionCamera Logo
VisionCamera Logo
API Reference
react-native-vision-camera
react-native-vision-camera-barcode-scanner
react-native-vision-camera-location
react-native-vision-camera-resizer
ChannelOrderDataTypePixelLayoutResizerStateScaleMode
react-native-vision-camera-skia
react-native-vision-camera-resizerType aliases

DataType

type DataType = "int8" | "uint8" | "float16" | "float32"

Represents the scalar encoding used for each output channel.

For example, 'float32' stores each output value as a 32-bit float in the normalized range from 0.0 to 1.0.

ChannelOrder

Represents how the three output channels are ordered in memory.

PixelLayout

Represents how the individual channels per pixel are arranged in memory.