Scan handwritten text and produce either its output or any complilation errors in an Android application.
Created as part of a Capital One Hackathon on a team with three other members. The application was primarily intended to be used in an education setting where computers are scarce, such as a third world country. With Scan my Code! each student can independently write code on a piece of paper then, once they choose to run their code, they can use a classroom (or personal) smartphone to scan their code for output/errors. Other use cases could be a augmented reality version of this solution in which you can see the output of code on a whiteboard by wearing something such as a HoloLens or Google Glass.
After taking a picture of handwritten code on an Android device, the image is uploaded to a Heroku server. On this server, Google's Tesseract uses OCR to convert the picture into raw text. This text is sent via a REST call to codepad.org (an online IDE) by simulating user input. Finally the result from codepad.org is retrieved by the server and sent back to the Android device.
Three minute highlight video of the hackathon (I'm at 0:04)
Please excuse the messy code, we only had 24 hours!