Google Pixel 2’s portrait mode is made open source

14 March 2018
Google has made its single-camera portrait mode available to any phone maker.

Sort by:

AnonD-743635, 16 Mar 2018Sorry, it's a cat, too small in gsmarena page :p. The fact ... moreI believe they don't do any depth analysis at all (I'm yet to see the code), but simply object recognition. With billions of training data, their AI can get accurate recognition quite easily. Everything that's not recognized is then blurred. I don't have any Pixel device, but I have the camera app port. Comparing with result from my Mi Note 3's wide + tele, the blur is more rough. If your background surface is not flat, e.g. taking from 45° degree, my Mi Note 3 will produce gradual blur, while the pixel camera doesn't.

  • AnonD-743635

Sorry, it's a cat, too small in gsmarena page :p. The fact remains that google has to extract depth info from a 2D image, recognize objects, try to calculate wich is near and wich is far, (what happens if the object is "thic"?). With 2 images with different "zoom", is "easy" to determine what is near and what is far. Plus a longer focal distance gives you better face portraits (less distorted by wide angle, pros use 85-90mm for portrait). All of this of course is far far less good than "natural" bokeh (big sensor+low F number)

  • AnonD-743635

Marorun, 16 Mar 2018 Spoken like a tru apple fanboy. This is why in several... moreI no phone fanboy, example, did you know the samsung s9+, xiaomi mi a2, and other have the same camera combination? Mi a2 for example makes excellent background deblur, s9+ also, You can't deny physics. Have you seen the example from google for their algorithm? it takes 2 horses as one "subject"

AnonD-743635, 15 Mar 2018And even then the results are "good", but "tele"+normal sti... more
Spoken like a tru apple fanboy.

This is why in several ocasion pixel 2 beat iphone X in portrait comparison.

MKL, 15 Mar 2018Apple did it first. Android community is just copying it. J... moreI had portrait mode on HTC device way before apple included it on iphone 7 plus..

  • AnonD-743635

Anonymous, 16 Mar 2018So does this mean that other OEMs can implement this featur... moreIt should be possible, but would some brands swallow thier pride and put in evidence their inferior propietary solution?. Even most "dual camera" (rgb+2mp/5mp depth) would prove to be inferior.

  • Anonymous

So does this mean that other OEMs can implement this feature in their current phones by releasing an OTA update? Like Apple in it’s older phone like 6s and SE? Or Samsung in its budget series?

  • AbhiD

Any apps in Andriod / Istore which have this ? Any names /suggestions . Or Am I impatient.

It's really amazing that google managed to do portrait mode better than their competitors even with a single camera. It's even more amazing that they're not afraid to share their impressive coding.

Kudos to you Google!

  • AnonD-743635

Love the Community, 15 Mar 2018Copy? What Google had done has made their Portrait mode int... moreAnd even then the results are "good", but "tele"+normal still is better, less prone to errors and artifacts, real 3d info beats inference over 2d images

  • Love the Community

AnonD-741020, 15 Mar 2018OnePlus, copy this right now!Copy? What Google had done has made their Portrait mode into a golden standard. That's no longer copying, it's standardization.

  • Anonymous

mojojojo, 15 Mar 2018does Google allow others to copy or does Google only allow ... moreDon't be lazy. It's an open source now (the source is open, not binary), and it is licensed under the Apache License. Read Wikipedia about Apache license.

  • Anonymous

Dang! This is will great for Normal lens + Wide lens dual camera!

Tele lens is good but not much pratically like wide notch, even thought if main camera has great quality then 2X zooming is will be still okay.

  • AnonD-743635

What would be interesting to me is to know how the portrait mode of the moto 5gs+ works, because I'm pretty sure it doesn't use the second, "dedicated depth camera" or the info from that camera is pretttttty bad

does Google allow others to copy or does Google only allow Android phone make to use it but they cant peek inside the code itself?

  • AnonD-710394

AnonD-687126, 15 Mar 2018My dream is the Google releases their whole camera app as o... moreThen there is no reason to buy the damn expensive pixel phone ... it will never happen. Haha

Nice Google

  • AnonD-687126

My dream is the Google releases their whole camera app as open source.
Let every Android phone have top quality camera firmware available.

It would make Android a much more desirable operating system.

  • MKL

Apple did it first. Android community is just copying it. Joking. :)

  • AnonD-741020

OnePlus, copy this right now!