Meet Pixel's Camera, Google claims it's the best camera put into a phone. The back facing camera has 12 megapixels. The front facing camera has 8 megapixels. The Pixel doesn't offer optical image stabilization but it does use the Gyroscope to digitally stabilize the footage.
And its camera is a little better than the iPhone's. It defaults to shooting HDR while still shooting fast and it comes with free, unlimited cloud storage for everything you shoot on the Pixel. The Pixel's photos usually look ready to post.