user interaction updates

1 fixed color of image outputted from Mat
2 fixed orientation of displayed image based on orientation of picture
taken
3 now using detection based tracker provided by openCV