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
Currently, there are 4 endpoints (detection, kie, ocr, recognition) which only take the image file as parameter. Ideally, they would be extended to support the same basic options as the streamlit app (detection model, recognition model, threshold, straight pages assumption), and they also could return the same JSON as the streamlit app does (including confidence for detected elements)
Motivation, pitch
I would like to use doctr deployed in docker container, and the endpoints don't have enough flexibility.
Alternatives
Installing doctr in the same docker container as the main (compiled) app and call external python process for the detection, without REST API. It will work, but there is less separation, independent upgrades will be more difficult, which is especially relevant due to to the size of doctr dependencies.
Additional context
No response
The text was updated successfully, but these errors were encountered:
🚀 The feature
Currently, there are 4 endpoints (detection, kie, ocr, recognition) which only take the image file as parameter. Ideally, they would be extended to support the same basic options as the streamlit app (detection model, recognition model, threshold, straight pages assumption), and they also could return the same JSON as the streamlit app does (including confidence for detected elements)
Motivation, pitch
I would like to use doctr deployed in docker container, and the endpoints don't have enough flexibility.
Alternatives
Installing doctr in the same docker container as the main (compiled) app and call external python process for the detection, without REST API. It will work, but there is less separation, independent upgrades will be more difficult, which is especially relevant due to to the size of doctr dependencies.
Additional context
No response
The text was updated successfully, but these errors were encountered: