diff --git a/openrecall/ocr.py b/openrecall/ocr.py index 5975cb8..0ae92f5 100644 --- a/openrecall/ocr.py +++ b/openrecall/ocr.py @@ -6,6 +6,7 @@ ocr = ocr_predictor( reco_arch="crnn_mobilenet_v3_large", ) + def extract_text_from_image(image): result = ocr([image]) text = ""