Giter Club home page Giter Club logo

jamelsyh / braille-translator Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 3.41 MB

A Python-React project that translates text to Braille and vice versa. It uses image recognition to extract text from uploaded images and offers multiple languages and Braille grades.

Home Page: https://dotwise.online

License: MIT License

Python 32.45% HTML 0.83% CSS 22.64% JavaScript 44.08%
braille braille-translator python react braille-recognition braille-transcription fastapi

braille-translator's Introduction

Braille Transcription Tool

This is a simple tool for converting text to and from braille. It provides a web interface where users can input text and choose a language and grade for transcription.

Light Mode

light mode creenshot

Dark Mode

dark mode creenshot

Installation

To run this project locally, follow these steps:

  1. Clone this repository.
  2. Read README for backend
  3. Read README for frontend

Usage

Once the servers are running, navigate to http://localhost:3000 in your browser to access the web interface. Input your text and select a language and grade, then click the "Translate" button to see the result in braille.

You can also upload an image containing text and have it transcribed to braille. Click the "Choose File" button and select an image, then click the "Upload" button. The transcribed text will be displayed on the screen.

Backend

The backend is a Python server built with FastAPI. It provides many endpoints like:

  • /transcriptor: Accepts text input and language/grade parameters, and returns the corresponding braille output.
  • /uploadfile: Accepts an image file and returns the text transcribed to braille.

The server uses Tesseract OCR to extract text from the image, and then passes the text to the BrailleTranscriptor class for transcription.

Frontend

The frontend is a React application built with Create React App. It provides a simple interface for inputting text and selecting a language and grade. It also allows users to upload an image for transcription.

The application uses the axios library to communicate with the backend server.

Contributing

Contributions are welcome! Please see the CONTRIBUTING file for more information.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.