Skip to content

Trying out OpenOCR on the 21 Marketplace

Traun Leyden edited this page May 26, 2016 · 8 revisions

A demo service of OpenOCR is running on the 21 marketplace! You can make requests against the demo service API for the small fee of 10K Satoshi.

To try it, download the 21 client and run:

21 buy -X POST -H "Content-Type: application/json" \
-d '{"img_url":"http://bit.ly/ocrimage","engine":"tesseract"}' \ 
http://10.244.164.194:8000/ocr

Expected output for the test image:

You can create local variables for the pipelines within the template by
prefixing the variable name with a “$" sign. Variable names have to be
composed of alphanumeric characters and the underscore. In the example
below I have used a few variations that work for variable names.

To test it out with your own images, replace http://bit.ly/ocrimage with a URL to your own PNG image.

Happy OCR'ing!