You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use a custom trained model for object detection but i have no idea how can deploy it with python. Because i will use on a flask server a detection model, when image comes to my server, detection model will arise and turns output. But there is no any guide about code implementation. In short, i am looking a script which like similar to paddleOCR.
from paddleocr import PaddleOCR,draw_ocr
ocr = PaddleOCR(use_angle_cls=True, lang='en') # need to run only once to download and load model into memory
img_path = './imgs_en/img_12.jpg'
result = ocr.ocr(img_path, cls=True)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I want to use a custom trained model for object detection but i have no idea how can deploy it with python. Because i will use on a flask server a detection model, when image comes to my server, detection model will arise and turns output. But there is no any guide about code implementation. In short, i am looking a script which like similar to paddleOCR.
from paddleocr import PaddleOCR,draw_ocr
ocr = PaddleOCR(use_angle_cls=True, lang='en') # need to run only once to download and load model into memory
img_path = './imgs_en/img_12.jpg'
result = ocr.ocr(img_path, cls=True)
Beta Was this translation helpful? Give feedback.
All reactions