Skip to content

simon0302010/Solvy

Repository files navigation

Repo Size Last Commit

Simon: Hackatime Time

Dwait: Hackatime Time

Solvy

Solvy is an AI-powered app designed to automatically solve worksheets.

⚠️ Note: Running the Machine Learning Model locally is currently broken.


🛠 Requirements

  • Linux (requirements require modifications to work with other systems)
  • Python 3.11

📦 Installation

  1. Clone the repository

    git clone https://github.com/simon0302010/Solvy.git
    cd Solvy
  2. Install dependencies

    If you are using an NVIDIA GPU:

    pip install -r requirements.txt

    If you are using a non-NVIDIA GPU or a CPU:

    pip install -r requirements_cpu.txt

    If you are not running the inference locally:

    pip install -r requirements_cloud.txt
  3. Add your API keys

    GEMINI_API_KEY=<YOUR_GEMINI_API_KEY>
    ROBOFLOW_API_KEY=<YOUR_ROBOFLOW_API_KEY>
    GEMINI_API_KEY_LIST=[<GEMINI_API_KEY_1>, <GEMINI_API_KEY_2>] (optional)
  4. Configure Solvy

    Open backend.py and set the following variables at the top of the file:

    # Inference location: "roboflow" (cloud, recommended) or "local" (experimental)
    inference = "roboflow"
    
    # Save processed images and results (True/False)
    save_images = True
    
    # OCR method: "bounding_boxes" (fastest), "tesseract" (medium), "easyocr" (slowest, but most accurate),
    ocr = "bounding_boxes"
  5. Run the program

    python app.py

About

App to automatically solve school worksheets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •