DataInput
— 支持多种数据源的数据处理¶
使用示例¶
1 2 3 | # coding=utf-8
# This is a sample Python script.
from minicv import DataInput
|
常量¶
-
支持的数据源种类:
-
DATA_INPUT_SOURCE_NONE
¶
-
DATA_INPUT_CAMERA_NUMBER_FRONT
¶
-
DATA_INPUT_SOURCE_IMAGE_GIF
¶
-
DATA_INPUT_SOURCE_IMAGE_PNG
¶
-
DATA_INPUT_SOURCE_IMAGE_JPG
¶
-
DATA_INPUT_SOURCE_VIDEO_FILE
¶
-
DATA_INPUT_SOURCE_VIDEO_RTMP
¶
-
DATA_INPUT_SOURCE_VIDEO_RTSP
¶
-
DATA_INPUT_SOURCE_CAMERA_USB
¶
-
DATA_INPUT_SOURCE_CAMERA_LOCAL
¶
-
DATA_INPUT_SOURCE_CAMERA_IP
¶
-
DATA_INPUT_SOURCE_MAX
¶
-