Questions tagged [ocrspace-ocr-api]

5 questions
5
votes
1 answer

Not a valid base64 image

I'm trying to semd a base64 encoded fimage to the ocr.space api following https://ocr.space/blog/2016/10/ocr-api-supports-base64.html and https://ocr.space/ocrapi . You can see my Postman settings in the screenshot. However when I submit it I…
user1592380
  • 34,265
  • 92
  • 284
  • 515
2
votes
1 answer

How to pass uploaded jpeg file to a function in Django

I'm trying to upload a jpeg in django and then pass the jpeg into a function that will read send a post request to an OCR API. It seems that I can't pass the jpeg file itself and can't figure out how to just pass bytes to the function. views-…
DKW
  • 21
  • 4
1
vote
0 answers

Python index error parse_results = result.get("Parsed Results")[0]

I am using the OCRSpace API and I have never received this error message before. The OCR always has worked on this image but recently gave me IndexError: list index out of range for: parse_results = result.get("Parsed Results")[0]. The full code…
0
votes
1 answer

Node.js - Calling OCR space api using axios

I´m creating an application which uses the ocr space api to retrieve text from uploaded images. I´ve tested the api using postman and tested also the generated code snippet for Node.js using the request library for the api call. As the request…
stefano
  • 315
  • 2
  • 16
0
votes
1 answer

VBA OCR via API https://ocr.space

i would like to use the API of https://ocr.space/ to look for given text positions. I saw some topics but none of them was VBA related. My code at the moment is: Sub test() Dim pic As String Dim httpReq As New XMLHTTP60 Dim UserName, Key As…
Lonolian
  • 134
  • 1
  • 11