Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/i/simple-ocr-opencv-HEAD/tesseract_utils.py   simple-ocr-opencv(Download)
import numpy
 
from classification import classes_from_numpy, classes_to_numpy
from segmentation import segments_from_numpy, segments_to_numpy
 
            classes.append( s[0].decode('utf-8') )
            segments.append( map(int, s[1:5]))
    return classes_to_numpy(classes), segments_to_numpy(segments)
 
def write_boxfile(path, classes, segments):