I-Math is a simple web application built using React.js and FastAPI. It serves as a tool that allows users to draw on a canvas, sending the images to the Google Gemini Generative AI models for analysis. The application processes the image and returns a response to the frontend, enabling interactive features based on the user's drawings.
- Drawing Canvas: Users can create drawings directly on a canvas.
- AI Analysis: Drawings are sent to Google Gemini's generative AI models for analysis.
- Real-time Feedback: Responses from the AI are returned to the frontend for an interactive experience.
- Frontend: React.js and tailwind css
- Backend: FastAPI
- AI Integration: Google Gemini Generative AI
- Clone the repository:
git clone https://github.com/bhargav-yarlagadda/IMath.git
- add .env and include the folloing in your .env
cd frontend npm install npm run dev
VITE_API_URL = "http://localhost:8900"
Follow these steps to set up the backend project and run it.
#move to backend directiory
cd backend
add .env to your backend folder
VITE_API_URL = "http://localhost:8900"
GEMINI_API_KEY = "your key"
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
#to run the server py main.py
#after completion deactivate the vitual env deactivate