I have a drawing canvas and I would like break it apart into lines by finding the corners.
I'm collecting the stroke points using something similiar to this Google example: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/FingerPaint.html
I've been using http://jabtunes.com/notation/shortstraws.html to handle this in JavaScript. Does anyone know of an easy way to do this using Java on an Android device?
You can try something like a Hough Transform. It's a common way of finding shapes in Computer Vision applications. You might also want to combine it with an edge-detection algorithm, which is pretty simple to implement (maybe 20 or 30 lines of code).