Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

ColorFormat Enumeration

This enum contains enumerations for color format.

Definition

Namespace: OpenVinoSharp.preprocess
Assembly: OpenVINO_CSharp_API (in OpenVINO_CSharp_API.dll) Version: 2024.3.0.2+a9617c0f8f80882646d0eba11b88ae6cb17b3fb8
C#
public enum ColorFormat

Members

UNDEFINE 0 Undefine color format
NV12_SINGLE_PLANE 1 Image in NV12 format as single tensor
NV12_TWO_PLANES 2 Image in NV12 format represented as separate tensors for Y and UV planes.
I420_SINGLE_PLANE 3 Image in I420 (YUV) format as single tensor
I420_THREE_PLANES 4 Image in I420 format represented as separate tensors for Y, U and V planes.
RGB 5 Image in RGB interleaved format (3 channels)
BGR 6 Image in BGR interleaved format (3 channels)
GRAY 7 Image in GRAY format (1 channel)
RGBX 8 Image in RGBX interleaved format (4 channels)
BGRX 9 Image in BGRX interleaved format (4 channels)

See Also