19
ICAM-500 Programming Guide
C
ha
pte
r 4
C
am
N
av
i2 S
D
K A
PI
M
an
ua
l
advcam_register_new_image_handler
(
cam, new_image_cb
)
Register a new image event handler.
Event handler sample:
def new_sample_cb(sample):
buf = smaple.get_buffer()
Parameters: cam: ABSCamera
Camera instance
new_sample_cb
New image event handler(callback).
Returns:
int
0: Success.
advcam_play
(
cam
)
Start image acquisition step. (Continuous mode or single shot)
Parameters: cam: ABSCamera
Camera instance
Returns:
bool
True: success.
See also:
iCam500.iCam500.play()
advcam_snap_image
(
cam, timeout=60
)
Snap an image in 10 ms period.
Parameters: cam: ABSCamera
Camera instance
timeout: int
Break waiting loop in timeout second.
unit: second
Returns:
None or [int]
None: No image or timeout.
array: Image data in JPEG format
advcam_stop
(
cam
)
Stop image acquisition procedure.
Returns:
bool
False: pipeline does not setting. True: Success.
See also:
iCam500.iCam500.stop()
Содержание 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 ...