![]() put ( results, False, 10 ) except : pass barcodeScanning = Process ( target = process_barcode_frame, args = ( license, frameQueue, resultQueue )) barcodeScanning. ![]() IPF_RGB_888 ) except BarcodeReaderError as error : print ( error ) try : resultQueue. tobytes (), frameWidth, frameHeight, frame. get ( False, 10 ) if type ( frame ) is str : break except : continue try : frameHeight, frameWidth, channel = frame. update_runtime_settings ( settings ) while True : results = None try : frame = frameQueue. init_license ( license ) settings = reader. Reader = BarcodeReader () # Apply for a trial license: From dbr import * from multiprocessing import Process, Queue def process_barcode_frame ( license, frameQueue, resultQueue ): # Create Dynamsoft Barcode Reader
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |