Enum PixelType
Enum PixelType
Namespace: Aspose.OCR
Assembly: Aspose.OCR.dll (25.1.0)
确定图像识别中像素数据的类型。
public enum PixelType
字段
BGR = 4
将类型设置为 bgr。
BYTE = 1
将类型设置为每个像素 1 位。
RGB = 2
将类型设置为 rgb。
RGBA = 3
将类型设置为 argb。
备注
在 AsposeOcr.RecognizeImage(byte[], int, int, PixelType, RecognitionSettings) 中使用,以设置数据数组中的字节序列。