Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
x_ths
and y_ths
to control merging behavior when paragraph=True
recog_network
argument when creating Reader
instance.
For example, reader = easyocr.Reader(['en','fr'], recog_network = 'latin_g1')
will use the 1st generation Latin model.setLanguageList
method to Reader
class. This is a convenient api for changing languages (within the same model) after creating class instance.optimal_num_chars
to detect
method. If specified, bounding boxes with estimated number of characters near this value are returned first. (thanks @adamfrees)rotation_info
to readtext
method. Allow EasyOCR to rotate each text box and return the one with the best confident score. Eligible values are 90, 180 and 270. For example, try [90, 180 ,270] for all possible text orientations. (thanks @mijoo308)New language supports for Telugu and Kannada. These are experimental lite recognition models. Their file sizes are only around 7% of other models and they are ~6x faster at inference with CPU.
This release is also a preparation for user-created models/architectures in the future.
beamsearch
decoder (thanks @amitbcp)detect
and recognize
method for performing text detection and recognition separatelymin_size
argument for readtext
: for filtering out small text box