Usage of each block

日本語のページ

Detector Initialization

Initialize detector

This initializes the detector for detecting barcodes and QR codes.
Checking the "Display Image" checkbox will open a pop-up window showing the camera's image.

In the camera initialization block, assign the camera to a variable and specify it as a camera parameter.

Initialize USB camera and assign it to a variable.

Also, the detector is assigned to a variable.
This variable is used when obtaining the detection result.

Initializing the detector and assigning it to a variable

Getting the detection result

Get detection result

Retrieves the detection results for barcodes and QR codes.
The detection results are assigned to a variable.

Get result and assign it to a variable

Since multiple barcodes/QR codes may be detected simultaneously, the detection results will be in the form of a list.
The program iterates through this list, processing the detection results for each code/QR code sequentially.

Processing the detection results sequentially

Detection result type

Get result type

Retrieves the detection result type for each individual barcode/QR code.

Detection Result Value

Get result value

Retrieves the detected code for each individual barcode/QR code.

Reset All Detected Statuses

Reset all detected status

While the program is running, codes that have already been detected will not be detected again.
Executing this block will reset the detected status of all detected codes, making them detectable again.

Reset Detected Status

Reset detected status

This resets the detected status of the specified detected code, making it detectable again.