When taking a picture of an object (for example, a Window). Is it possible to capture the outline of a window and display the contents on the canvas.
For example,

and convert this picture of the window and displays it on the Android display

Any help or pointers to tutorials would be greatly appreciated,
an edge detection algorithm is what you want. As Renard said, this can be simple providing your input is simple like the window. Complex imagery is much harder to find edges on.
You might cruise through the Open Computer Vision library (OpenCV) to see if there’s something there you can use algorithmically