I'm not sure how the laws are in all states, but where I am it's illegal to use a camera or cell phone within 100 feet of a voting booth so if you tried to take a picture of your ballot, you'd likely get asked to put the camera away by a poll worker. This was done with the specific intent of protecting the privacy of people's votes.