get camera width and height