I'm using tesseract for the OCR part , but I've run into a small setback with defining the output. Could anyone help me out in resolving this issue
details = pytesseract.image_to_data(threshold_img, output_type=Output.DICT, config=custom_config, lang='eng')
It caused an error
NameError Traceback (most recent call last)
<ipython-input-12-0b2393b8b9e3> in <module>
----> 1 details = pytesseract.image_to_data(threshold_img, output_type=Output.DICT, config=custom_config, lang='eng')
NameError: name 'Output' is not defined