optical-character recognition using tesseract
306
write workflow of code
explain deployment parameters
Run docker-compose up with the b/m docker-compose.yml and test endpoint with b/m API, body and check against expected results
version: '3.3'
services:
ocr:
ports:
- '1234:1234'
volumes:
- '/home:/home'
restart: unless-stopped
image: echizen321/ocr
...
POST
http://172.17.0.1:1234/OCR
{
"fileLocation": "/home/plato/Desktop/few_images/newsreporter_objseg.png"
}
{
"text_found": "LIVE .‘ '2 24 BREAKING NEWS SCANDAL UNFOLOS -emm~c ~ews"
}
...
Content type
Image
Digest
Size
349.3 MB
Last updated
almost 6 years ago
docker pull echizen321/ocr