Implemented turning of captured image.