TextSnap is a Node.js project that allows you to effortlessly convert image text into editable text format. Say goodbye to manual typing and hello to convenient text extraction!
- Extract text from images with ease
- Three convenient APIs:
- extractText: Convert image text and display it
- extractTextSave: Save converted text in MongoDB
- extractTextSaveTxt: Save converted text in a .txt file
- Sleek and intuitive UI designed with HTML and CSS
- Clone the repository to your local machine.
- Install dependencies by running
npm install
. - Start the server with
npm start
. - Access the UI at
http://localhost:9000
. - Upload an image containing text and choose your preferred API option.
This API converts image text into text and displays it directly on the UI.
Endpoint: /textSnap/extractText
Method: POST
Request Body: { image: [image file] }
Converts image text and saves it in MongoDB for future reference.
Endpoint: /textSnap/extractTextSave
Method: POST
Request Body: { image: [image file] }
Converts image text and saves it in a .txt file for easy access.
Endpoint: /textSnap/extractTextSaveTxt
Method: POST
Request Body: { image: [image file] , fileName: [Name for file] }
- Node.js
- MongoDB
- HTML
- CSS
Contributions are welcome! Feel free to fork the repository and submit pull requests.