ScribbleTex is a web application that leverages machine learning to convert handwritten text to LaTeX code. This application utilizes a React frontend with a Flask backend, integrating a machine learning model hosted on Google Cloud for handwriting recognition.
- Handwriting to LaTeX Conversion: Convert handwritten text into LaTeX code.
- User-Friendly Interface: Simple and intuitive interface for smooth user experience.
- React Frontend: Interactive frontend built using React for dynamic user interactions.
- Flask Backend: Robust backend using Flask for handling requests and interfacing with the ML model.
- Google Cloud Hosted ML Model: Utilizes a machine learning model hosted on Google Cloud for accurate text recognition.
-
Clone the repository:
git clone https://github.com/NamkhangNLe/ScribbleTex.git
-
Install dependencies for both frontend and backend:
# Frontend (React) cd ScribbleTex/scribbleTex npm install # Backend (Flask) cd ../backend pip install flask pip install flask_cors pip install pillow
-
Start the backend server:
# From the 'backend' directory python server.py
-
Launch the frontend:
# From the 'ScribbleTex/scribbleTex' directory npm start
-
Access the application via the provided URL (typically: http://localhost:3000) in your web browser.
To configure the application to use your own Google Cloud-hosted ML model:
- Replace the existing model with your own trained model.
- Update the necessary credentials and endpoints in the backend Flask application.
Contributions are welcome! If you'd like to contribute to ScribbleTex, please follow these steps:
- Fork the repository.
- Create your feature branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/YourFeature
- Open a pull request.