Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 618 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 618 Bytes

This is the homework Solver for the math project.

This uses Newton's method to solve for the roots of a polynomial. Image recognition is included.

CLI

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.

APP

Execute

$ python main.py -a

to activate the server to use an iPhone.

How to use CLI

type in the polynomial, or a path to an image containing the picture of a function or expression. Use source\math1.jpg for testing.