xavimondev / textscan.app

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

Home Page:https://livescan.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Banner

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.

About

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

https://livescan.vercel.app


Languages

Language:TypeScript 66.2%Language:CSS 32.4%Language:JavaScript 1.4%