Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amansalman/image-to-text-converter-webversion

A user-friendly React app that converts images to text using the Google Vision API. Upload images, extract text, and view results easily.
https://github.com/amansalman/image-to-text-converter-webversion

axios css google-vision-api html javascript jsx reactjs

Last synced: 4 days ago
JSON representation

A user-friendly React app that converts images to text using the Google Vision API. Upload images, extract text, and view results easily.

Awesome Lists containing this project

README

        

# Image to Text Converter

This React application allows users to upload an image and extract text from it using the Google Vision API. The app features a user-friendly interface for selecting images, displaying the extracted text in an appealing format. Users can easily clear previous results and upload a new image.

## Features

- Image Selection: Choose images from your device.
- Text Extraction: Uses Google Vision API to extract text from the selected image.
- Clear Results: Option to clear extracted text and upload a new image.
- Responsive Design: Works seamlessly on desktop and mobile devices.

## Tech Stack

- **React**
- **Axios**
- **Google Vision API**

## API Key
To use the Google Vision API, you need an API key. Replace the placeholder in the code with your own API key to enable text extraction functionality.

## Installation

1. Clone the repository:

```bash
git clone https://github.com/AmanSalman/Image-to-Text-Converter-WebVersion.git
```
2. Navigate to the project directory:
```bash
cd Image-to-Text-Converter-WebVersion
```
3. Install the required dependencies:
```bash
npm install
```
4. Create a .env file in the root directory and add the API key:
```bash
VITE_API_KEY =
```
5. To run the app locally, use the following command:
```bash
npm run dev
```
This will start the development server and provide you with a local URL to view the app in your browser.
(http://localhost:5173/ )