2.12.4 2.12.3 2.12.2 2.12.1 2.12 2.11.2 2.11.0.1 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
2.12.4 2.12.3 2.12.2 2.12.1 2.12 2.11.2 2.11.0.1 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

svm_get_detect_barcode()

Features

It detects barcodes and QR codes displayed on the screen.

Return

Value

Data Type

Description

ret

int

1 on success - Barcode detected

Btype

string

Detected barcode type

bdata

string

Information contained in the detected barcode

0,[],[]

Int

Fail – no measurement data or input variable error

Example

Python
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