Extract text from images by using Google Vision, Quasar v1 and NodeJS API.
- Quasar v1
- Vuex
- Axios
- NodeJS Express
- Google Vision API
- Create a new project:
- Give a name to the project and press on "CREATE":
- Create a billing for the project. Just follow these instructions:
- At the APIs & Services dashboard, press on "ENABLE APIS AND SERVICES":
- Enable Cloud Vision API:
- Create service account credentials for this API:
- Choose not using App Engine neither Computer Engine:
- Give a name to the service account, select the project owner role and the JSON type file.
- Download the credentials file.
- Rename the credentials file to "credentials.json" and put it inside the "node" folder:
- Open the terminal and download the packages:
npm install
- Run the server:
node .
- Open the terminal inside the "quasar" folder and download the packages:
npm install
- Run the app:
quasar dev
- At the main screen, press the "Choose File" button:
- Choose a image and press the "Upload" button:
- If the Cloud Vision API detects text inside the image, it will be extracted and returned to the app: