Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Implementing vision API in a website

Essentially I am developing a website through React that will allow users to upload images and perform OCR on them through the Vision OCR API. I have got it to work on a Node.js file and display it in the terminal but when I run my website, it gives me errors basically saying the google cloud modules can't be found. I asked ChatGPT why and it said that google cloud may not be compatible with the client side and thus might not be able to be used through the browser. I have read about using flask or Fetch API but I am not too well versed in web development to understand if they maybe the solution and how to implement them. How can I go about solving this issue? Thank you

2 1 637
1 REPLY 1

Hi,

Can you include the error message?

Top Labels in this Space
Top Solution Authors