Skip to content

Commit f251f44

Browse files
update the template
1 parent adf635a commit f251f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Samples/read_multiple_images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def on_image_source_state_received(self, state: int) -> None:
4848
listener = MyImageSourceStateListener(cvr_instance)
4949
cvr_instance.add_image_source_state_listener(listener)
5050

51-
errorCode, errorMsg = cvr_instance.start_capturing("", True)
51+
errorCode, errorMsg = cvr_instance.start_capturing(EnumPresetTemplate.PT_READ_BARCODES, True)
5252
if errorCode != EnumErrorCode.EC_OK:
5353
print("Error:", errorMsg)
5454
input("Press Enter to quit...")

0 commit comments

Comments
 (0)