hanzalahwaheed / ImagineText

An Image to Text converter app built upon an opensource OCR called TesseractJS.

Home Page:https://imagine-text.onrender.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImagineText

Introducing Imagine Text ๐ŸŒŸ. Harness TesseractJS to effortlessly convert image text into editable, copyable text. Unleash the power of visualization! ๐Ÿ’ก๐Ÿ“ท๐Ÿ”

Tech Stack

Client: React, Redux, TailwindCSS

Server: Node, Express, TesseractJS

Cloud Storage: Cloudinary

Run Locally

Clone the project

  git clone https://github.com/hanzalahwaheed/ImagineText.git

Go to the project directory

  cd ImagineText

Start Server

  cd server && npm install
  node index.js

Add the following environment variables to your .env file in the server folder

PORT

CLOUDINARY_API_KEY

CLOUDINARY_API_SECRET

You can get your cloudinary keys from here

Create a directory called uploads in the server as well.

Start Client

  cd client && npm install
  npm run dev

Add the following environment variables to your .env file in the client folder

VITE_API_URL=http://localhost:5000

Environment Variables

To run this project, you will need to

API Reference

Get all items

  POST /api/extractTextFromImage
Parameter Type Description
file file Required. Image file to process

Screenshots

image

Authors

License

MIT

About

An Image to Text converter app built upon an opensource OCR called TesseractJS.

https://imagine-text.onrender.com/


Languages

Language:JavaScript 71.2%Language:TypeScript 21.7%Language:HTML 5.9%Language:CSS 1.3%