if anyone like me (learning the ropes) comes across this same issue, what my problem was I had added
camera.setDisplayOrientation(90);
in order to rotate the preview to portrait. My problem was, I had called this in the wrong place, I now call it in the onResume()
method.
A simple fix in the end...thanks everyone