TextRecognitionModel (OpenCV 4.13.0 Java documentation)
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
Package org.opencv.dnn
Class TextRecognitionModel
- java.lang.Object
-
- org.opencv.dnn.Model
-
- org.opencv.dnn.TextRecognitionModel
-
public class TextRecognitionModel extends ModelThis class represents high-level API for text recognition networks. TextRecognitionModel allows to set params for preprocessing input image. TextRecognitionModel creates net from file with trained weights and config, sets preprocessing input, runs forward pass and return recognition result. For TextRecognitionModel, CRNN-CTC is supported.
-
-
Field Summary
-