start = time.time() ocr_entities = [] with open('prova.pdf', 'rb') as raw_pdf: ocr_entities = convert_from_bytes(raw_pdf.read(), dpi=500, thread_count=4) #for image ...
On OpenJdk 11 the implementation of ThreadPoolExecutor's setCorePoolSize was changed and contains an additional constraints comparing the maxPoolSize and corePoolSize values. If maxPoolSize is not ...