Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/akshaybahadur21/Socratic

A simple Mathematical utility for Humans 🦉
https://github.com/akshaybahadur21/Socratic

Last synced: 5 days ago
JSON representation

A simple Mathematical utility for Humans 🦉

Awesome Lists containing this project

README

        

[![](https://img.shields.io/github/license/sourcerer-io/hall-of-fame.svg?colorB=ff0000)](https://github.com/akshaybahadur21/Emojinator/blob/master/LICENSE.md) [![](https://img.shields.io/badge/Akshay-Bahadur-brightgreen.svg?colorB=ff0000)](https://akshaybahadur.com)

A simple Mathematical utility for Humans

## Code Requirements 🦄
You can install Conda for python which resolves all the dependencies for machine learning.

`pip install -r requirements.txt`

## Modules
- Socratic Equation Solver
- Socratic Plotter

## Socratic Equation Solver

#### Description 🐦
Need to get unstuck? This Socratic can help! This learning module, inspired by Google AI​, helps you understand your school work at a high school and university level.
The Socratic module utilizes artificial intelligence to accurately predict which concepts will help a student solve their question.

#### Mathematical Operations 🧮

- Digits from 0-9
- Addition ➕
- Subtraction ➖
- Divide ➗
- Multiply ✖️
- Pi 🥧

## Socratic Plotter
#### Description 🐦
The Socratic plotter module utilizes artificial intelligence to accurately predict the equation and plots a graph for students.

#### Plot supported 🧮

- Constants
- Linear equations

## Socratic Omni
A simple AI mathematician powered by OpenAI's GPT-4o model.

### Details
- Model API: GPT-4o; Gemini(integratable)
- Latency: 3-4 seconds (GPT-4o)
- Support: Images, LateX, Markdown
- Interface: Streamlit

## Python Implementation 👨‍🔬

1) Network Used- Convolutional Neural Network
2) Hand Tracking - Mediapipe

If you face any problem, kindly raise an issue

## Setup 🖥️

1) Add your mathematics symbol trained model in the `models` folder
2) Run `Socratic.py -option `
3) Demonstrate anywhere on the screen
4) Write your equation in the green box for the machine learning model to solve it.

## Execution 🐉

- For running Socratic in Python IDE
```
python3 Socratic.py -option
```

- For running the streamlit version powered by GPT-4

```
streamlit run SocraticOmni.py
```

## Results 📊

## Cite Us :pushpin:

```
@article{akshaybahadur21_socratic,
author = {Bahadur, Akshay},
journal = {https://github.com/akshaybahadur21/Socratic},
month = {04},
title = {{Socratic}},
year = {2024}
}
```

###### Made with ❤️ and 🦙 by Akshay Bahadur

## References 🔱

- Ivan Grishchenko and Valentin Bazarevsky, Research Engineers, Google Research. [Mediapipe by Google](https://github.com/google/mediapipe)
- [Socratic by Google](https://socratic.org/)
- [Microsoft Math Solver](https://math.microsoft.com/en)