Skip to content

bhargav-yarlagadda/I-Math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

I-Math

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.

Features

  • 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.

Technologies Used

  • Frontend: React.js and tailwind css
  • Backend: FastAPI
  • AI Integration: Google Gemini Generative AI

Getting Started

Frontend Setup

  1. Clone the repository:
    git clone  https://github.com/bhargav-yarlagadda/IMath.git
  2. add .env and include the folloing in your .env
    VITE_API_URL = "http://localhost:8900"
    cd frontend npm install npm run dev

Backend Setup and Execution

Setup Instructions

Follow these steps to set up the backend project and run it.

1. Clone the Repository

#move to backend directiory
    cd backend

add .env to your backend folder

VITE_API_URL = "http://localhost:8900"
GEMINI_API_KEY = "your key"

to run the server

Create a virtual environment named 'venv'

python -m venv venv

Activate the virtual environment

venv\Scripts\activate

pip install -r requirements.txt

#to run the server py main.py

#after completion deactivate the vitual env deactivate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published