This uses Newton's method to solve for the roots of a polynomial. Image recognition is included.
Set up the enviroment Use env/
Mac:
cd ~/path-to-HomeworkSolver/env/mac/ocr_env.sh
chmod +x script.sh
source script.sh
Execute
$ python main.py
to play around in the command line.
Execute
$ python main.py -a
to activate the server to use an iPhone.
type in the polynomial, or a path to an image containing the picture of a function or expression.
Use source\math1.jpg
for testing.