Closed karladler closed 1 year ago
This is documented explicitly: https://github.com/madmaze/pytesseract/blob/8ae8f2b80c78354ea86dd94ebb8bcd8072d2857c/pytesseract/pytesseract.py#L526-L529
You still can choose between the different representations. I assume that data.frame
is not the default as pandas is an optional dependency, thus this might fail.
Are you talking about the image_to_data and the param output_type
has specific parameter for that one. Please check the docs about the pytesseract.Output class
Not sure if this can be updated without breaking backwards compatibility, but I got really confused, that the output type for
image_to_data()
function is actually string. Regarding to the function name IMHO it should bedata.frame
.