textscan.app

Web app that detects and extracts text from any image using OCR

Stars
6

Textscan

Textscan is a web app that detects and extracts text from any image using OCR(optical character recognition), a feature from Google Cloud Vision API.

How to run locally

  1. Clone this project.
  2. Run npm install.
  3. Rename .env.example to .env.
  4. Go to Vision API to create an account and generate your credentials.json file.
  5. Open your credentials file and copy the following values: client_id, client_email, private_key, project_id to the corresponding environment variables. Keep in mind that when you're working on localhost you'll need to have GOOGLE_CLIENT_PRIVATE_KEY in double quotes.
  6. Run npm run dev and go to localhost:3000.