Skip to main content
Skip table of contents

svm_get_detect_barcode()

기능

화면에 보이는 바코드와 QR 코드를 검출합니다.

리턴

자료형설명

ret

int

성공 시 1 - Barcode 검출 여부

Btype

string

검출된 Barcode의 타입

bdata

string

검출된 Barcode에 담겨진 정보

0,[],[]

Int

실패측정데이터 없음 또는 입력 변수 오류

예제

PY
svm_connect()                             # Connect to vision
ret, btype, bdata = svm_detect_barcode()
tp_popup("Detection={0}, Type={1}, Data={2}".format(ret,btype,bdata))
svm_disconnect()                           # Disconnect to vision
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.