Updated Test1 to handle orientation issue with front facing webcame in
portrait view. Still need a more general solution.