Python Forum

Full Version: How to format EasyOCR results in order to save to CSV?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So im playing around with EasyOCR, and with only a few lines of code, its working pretty good so far on the few images i have tried.. BUT cant seem to find examples on how to exclude the coordinates that it has within the results.

Referenced used: https://www.analyticsvidhya.com/blog/202...-on-guide/
Text in Image: IPython 7.29.0 -- An enhanced Interactive Python.

import easyocr

IMAGE_PATH = '085421.jpg'

reader = easyocr.Reader(['en'], gpu=False)
result = reader.readtext(IMAGE_PATH,paragraph="False")
print(result)
Output Results in console window:

Using CPU. Note: This module is much faster with a GPU.
[[[[4, 3], [109, 3], [109, 22], [4, 22]], 'IPython 7.29.0'], [[[133, 3], [357, 3], [357, 22], [133, 22]], 'An enhanced Interactive Python.']]
has anyone worked with this extension before and knows how to disable the coordinates from the results?