/Quasar-NodeJS-Google-Vision

Extract text from images by using Google Vision, Quasar v1 and NodeJS API.

Primary LanguageJavaScript

titulo

Quasar-NodeJS-Google-Vision

Extract text from images by using Google Vision, Quasar v1 and NodeJS API.

Technologies:

  • Quasar v1
  • Vuex
  • Axios
  • NodeJS Express
  • Google Vision API

To run this project

Google Cloud Platform

  • Create a new project:

vision01

  • Give a name to the project and press on "CREATE":

vision02

  • Create a billing for the project. Just follow these instructions:

vision03

  • At the APIs & Services dashboard, press on "ENABLE APIS AND SERVICES":

vision04

  • Enable Cloud Vision API:

vision05

  • Create service account credentials for this API:

vision06

  • Choose not using App Engine neither Computer Engine:

vision07

  • Give a name to the service account, select the project owner role and the JSON type file.

vision08

  • Download the credentials file.

vision09

NodeJS API

  • Rename the credentials file to "credentials.json" and put it inside the "node" folder:

node01

  • Open the terminal and download the packages:
	npm install
  • Run the server:
	node .

Quasar App

  • 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:

quasar01

  • Choose a image and press the "Upload" button:

quasar02

  • If the Cloud Vision API detects text inside the image, it will be extracted and returned to the app:

quasar03