CameraFrameConversion enum
The colour conversion a CameraFrame's bytes need before being used as a
3-channel BGR image. Detector packages map this to an opencv COLOR_* code
at the point of decode, inside their existing detection isolate.
Values
- bgra2bgr → const CameraFrameConversion
-
4-channel packed BGRA to 3-channel BGR (macOS camera_desktop).
- rgba2bgr → const CameraFrameConversion
-
4-channel packed RGBA to 3-channel BGR (Linux camera_desktop).
- yuv2bgrNv12 → const CameraFrameConversion
-
YUV420 semi-planar NV12 to BGR (iOS camera plugin default).
- yuv2bgrNv21 → const CameraFrameConversion
-
YUV420 semi-planar NV21 to BGR (common Android layout).
- yuv2bgrI420 → const CameraFrameConversion
-
YUV420 planar I420 to BGR (some Android devices).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
CameraFrameConversion> - A constant List of the values in this enum, in order of their declaration.