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
In trying to get this working, i had no problem running curl on ubuntu and getting the text back from the ocr webservice. however, when i tried to run curl on windows I got an error back saying unable to unmarshal json, after a fair amount of time (not being familiar with docker compose), i got into the log (docker-compose logs) and worked out it's something to do with illegal characters - this is kinda mentioned in issue 49, but the answer isn't so the curl command for windows should be
curl -X POST -H "Content-Type: application/json" -d "{\"img_url\":\"http://bit.ly/ocrimage\",\"engine\":\"tesseract\"}" http://MY-HOST-IP-ADDRESS:9292/ocr
The text was updated successfully, but these errors were encountered:
In trying to get this working, i had no problem running curl on ubuntu and getting the text back from the ocr webservice. however, when i tried to run curl on windows I got an error back saying unable to unmarshal json, after a fair amount of time (not being familiar with docker compose), i got into the log (docker-compose logs) and worked out it's something to do with illegal characters - this is kinda mentioned in issue 49, but the answer isn't so the curl command for windows should be
curl -X POST -H "Content-Type: application/json" -d "{\"img_url\":\"http://bit.ly/ocrimage\",\"engine\":\"tesseract\"}" http://MY-HOST-IP-ADDRESS:9292/ocr
The text was updated successfully, but these errors were encountered: