Open OCR API code needs fixing

Do you want me to initialize variable ocr text to CREATE OBJECT? It’s currently initialized to blank.
image

I don’t know what purpose that would serve. I’d recommend at this point separating out the media component from the API component. So, if you already have something uploaded to Cloudinary from this project, grab the url for that image from the Cloudinary site (or from your project preview, if you wish). Then, replace the mediaURL block with that url so that it’s not being generated every time. Then you can remove all of the blocks except for the Web API URL and Web API Get blocks and focus on why those aren’t working. I’d want to figure out what the response looks like (in a label).

2 Likes

Sure, thanks.