![Advantech ICAM-500 Series Скачать руководство пользователя страница 34](http://html.mh-extra.com/html/advantech/icam-500-series/icam-500-series_programming-manual_3047974034.webp)
ICAM-500 Programming Guide
28
get_pipeline_params
(
**params
)
Get properties value in defined pipeline.
# Get width and height of image
params = {'width': 0, 'height': 0}
params = camera.get_pipeline_params(params)
for key in params:
print("key %s, value %d" % (key, params[key]))
Parameters: params: dict{str, str}
Dict of pipeline paramters.
Returns:
dict{str, str}
config_pipeline
(
**params
)
Configure ICAM-500 gstreamer pipeline in defined format.
# Set resolution 640x480 in free run image
params = {'acq_mode':0, 'width':640, 'height':480}
camera.config_pipeline(params)
Parameters: params: dict{str, str}
Set pipeline parameters.
‘format’: [‘YUY2’, ‘BGRA’]. Mono sku only has ‘GRAY8’.
‘acq_mode’: 0 = Continuous, 1 = Software Trigger, 2 = Hard
-
ware Trigger
‘width’: 640
‘height’: 480
‘frame_count’: -1 (-1 = continuous, >0 = frame count)
‘icam500=frame-rate’: 60
‘timestamp’: [0, 1]. Print timestamp on image.
‘pipeline_mode’: [‘default’, ‘simple’]. default mode output jpeg
image format, simple mode output raw image.
Returns:
str
Full pipeline string.
Notes
width and height parameter should in HYPERLINK \l "valid_resolution_list.
Ex. { ‘width’: 1408, ‘height’: 1080 }
get_device_name
()
Get device name.
Returns:
str
Device name.
open
(
frame_count= -1
)
Open ICAM-500 device.
Parameters: frame_count : int, optional
> 0: streaming stop when get frames up to frame_count.
-1: free run streaming.
Returns:
dict{str, str}
Device name.
Содержание ICAM-500 Series
Страница 1: ...Programming Guide ICAM 500 Series Industrial AI Camera ...
Страница 6: ...ICAM 500 Programming Guide vi ...
Страница 7: ...Chapter 1 1 Introduction ...
Страница 9: ...Chapter 2 2 ICAM 500 SDK Architecture ...
Страница 12: ...ICAM 500 Programming Guide 6 ...
Страница 13: ...Chapter 3 3 Operation Flow ...
Страница 15: ...9 ICAM 500 Programming Guide Chapter 3 Operation Flow 3 2 Image Acquisition ...
Страница 16: ...ICAM 500 Programming Guide 10 3 3 Image Trigger Flow ...
Страница 17: ...11 ICAM 500 Programming Guide Chapter 3 Operation Flow 3 4 HW trigger Control flow ...
Страница 18: ...ICAM 500 Programming Guide 12 3 4 1 Software trigger ...
Страница 19: ...13 ICAM 500 Programming Guide Chapter 3 Operation Flow 3 5 Lens Focusing Control ...
Страница 20: ...ICAM 500 Programming Guide 14 3 5 1 Digital Input flow ...
Страница 21: ...Chapter 4 4 CamNavi2 SDK API Manual ...