- Use Mac OS X
- Install XCode 7.3
- Install OpenCV 2.4 with opencv_contrib extras (follow instructions below) (install dependencies as needed)
http://blogs.wcode.org/2014/10/howto-install-build-and-use-opencv-macosx-10-10/
- Load handwriting as a new project in XCode
- Run in simulator
OR
- Download .ipa located in the folder handrighting_2016-12-11_17-47-47
- Open up iTunes on your computer, and navigate to the "Apps" section
- Drag and drop the .ipa file into the "Library"
- Plug your iPhone into your computer
- Go to the Device's>Apps section in iTunes, and click "Install" next to handrighting, and then click "Apply"
- The app should be running on your iPhone now (https://www.youtube.com/watch?v=Dib1HSTk1dA)
- in terminal, cd into MachineLearning
- run '/Applications/Cmake.app/Contents/bin/cmake -DCMAKE_BUILD_TYP E=Debug .'
- run 'make' so that you have the ./TrainAndTest binary file in MachineLearning
- make sure you have python 3+ installed on your computer
- run 'python testbench.py'