News for hackers. Stuff that matters.
Re:Show HN: BokehCamera – Blur webcam background photorealis... by black_knight on Tuesday August 31, 2021 @03:40PM (#28372546)
Nice!

If you are not on a budget, you can use a mirrorless camera with a big aperture (say f1.6), wide angle lens as a "webcam" by connecting the HDMI out of the camera to the computer using an Elgato Camlink. That will also get you a nicely blurred background.

I do this, and a lot of people do a double take whenever I enter a zoom call. Best commment so far was "What is happening? Are you in a movie?".

Re:Show HN: BokehCamera – Blur webcam background photorealis... by dheera on Tuesday August 31, 2021 @03:43PM (#28372582)
Yep this is a neat trick too. Also I must say (as a hobbyist photographer myself) that even if you're on a budget, if you want to go the optical route, you can easily grab a cheap used DSLR like a Canon 60D which often goes for <$200 used, and slap on an old M42 Russian lens with a conversion adapter and get fantastic bokeh for video calls.

The mildly annoying part is most DSLRs don't have an AC adapter input to allow them to be constantly on, but you can buy a "fake" Canon battery that sits in the battery compartment and wires in AC adapter input.

Re:Show HN: BokehCamera – Blur webcam background photorealis... by black_knight on Tuesday August 31, 2021 @04:00PM (#28372809)
> The mildly annoying part is most DSLRs don't have an AC adapter input to allow them to be constantly on, > but you can buy a "fake" Canon battery that sits in the battery compartment and wires in AC adapter input.

Yeah, I left out that detail. One should also make sure that the camera has a clean HDMI output. I can't use my old EOS 500D for this since the HDMI output is grody with focus aids and stuff.

Re:Show HN: BokehCamera – Blur webcam background photorealis... by brippalcharrid on Tuesday August 31, 2021 @05:27PM (#28373915)
You don't even need to use HDMI or have a capture card; you can connect the camera with USB and use gphoto2/v4l2loopback to present it to the OS as a video input. With older cameras that have USB2, you will be limited to a lower bandwidth and resolution (200Mbps -> 1024x680), but it still looks fantastic, especially with high-quality lenses and shallow depth of field that enables video codecs to encode the out-of-focus-areas efficiently and concentrate on detail in the focal plane.
Re:Show HN: BokehCamera – Blur webcam background photorealis... by Schinken_ on Wednesday September 01, 2021 @03:16AM (#28377182)
I experimented with the old 550D of my dad. I got a successful clean picture using either USB (canon supplies a "USB Webcam Software", though the 550D is not officially supported it works. I also managed to get clean HDMI out using "magic lantern" (a firmware modification for some canon DSLRs which enables a lot of hidden features, allows clean HDMI, and on a beta branch allows "simulated focus bubtton press" to keep the camera from shutting down due to inactivity)
Re:Show HN: BokehCamera – Blur webcam background photorealis... by azinman2 on Tuesday August 31, 2021 @06:20PM (#28374382)
Also overheating. I don’t know about the Canon but my Sony had to have a number of settings changed to keep the temp down, and even then on a hot day it’ll shut itself off.
Re:Show HN: BokehCamera – Blur webcam background photorealis... by lifeofpi331144 on Wednesday September 01, 2021 @02:06AM (#28376844)
You don't need to do either. Canon offers a webcam utility driver for free, which offers a clean interface via microusb->usb.
Re:Show HN: BokehCamera – Blur webcam background photorealis... by azinman2 on Wednesday September 01, 2021 @02:50AM (#28377071)
I don't know about Canon, but the Sony one is lower resolution than the HDMI capture. I was able to buy a cheap Chinese USB-HDMI capture card for like $8 and it works actually quite well, and is driverless.
Re:Show HN: BokehCamera – Blur webcam background photorealis... by Version467 on Wednesday September 01, 2021 @05:56AM (#28378001)
You probably don't even need to shell out for an elgato camlink. Most halfway modern canon cameras are supported by their webcam tool (iirc they expanded support to a lot of models during the pandemic) and I'm pretty sure that Sony has an equivalent as well.

If you're on Linux there's a way to make this work with gphoto2, but it involves a little bit of fiddling and is less plug and play.

Re:Show HN: BokehCamera – Blur webcam background photorealis... by dylan604 on Tuesday August 31, 2021 @06:22PM (#28374395)
I would recommend a less wide angle. If you have the space so you can get a 50mm, you'll get much better bokeh than a 20mm.

The thing with shooting WFO, you'll have tissue paper thin focal plane. Moving forward or leaning back could throw you out of focus.

Re:Show HN: BokehCamera – Blur webcam background photorealis... by otterley on Wednesday September 01, 2021 @12:06AM (#28376322)
A modern camera like a Sony A6400 (which I use) has facial focus tracking and deals with this quite well. I use a 16mm prime lens for my video calls -- 50mm would be way too close for my facial distance (about 2 feet from the lens).
Re:Show HN: BokehCamera – Blur webcam background photorealis... by vmception on Wednesday September 01, 2021 @01:46AM (#28376749)
I have an A7sII, I might do this just so people think I have an OnlyFans so I can find out who is in the market when they DM me

Honeypot!

Re:Show HN: BokehCamera – Blur webcam background photorealis... by ezconnect on Tuesday August 31, 2021 @06:03PM (#28374231)
I can't say it's a budget setup, that lens f1.6 is expensive.
Re:Show HN: BokehCamera – Blur webcam background photorealis... by azinman2 on Tuesday August 31, 2021 @06:19PM (#28374373)
I have a Sony rx100 that I do this with, which is just a point-in-shoot. It has excellent picture quality and bokeh. It looks much better than this.. the blur is the same everywhere in the background, which isn’t what it looks like from my Sony.
Re:Show HN: BokehCamera – Blur webcam background photorealis... by otterley on Wednesday September 01, 2021 @12:08AM (#28376331)
I've got a Sigma 16mm f/1.4 lens (Sony E mount) and it costs about $350. Not cheap but not ludicrously expensive, either.
Re:Show HN: BokehCamera – Blur webcam background photorealis... by detaro on Tuesday August 31, 2021 @06:26PM (#28374426)
a) the comment you are replied to said "if you are not on a budget"

b) if you presume "mirrorless camera" as a baseline, a prime 1.x at roughly 50mm (equivalent) is almost always one of the budget lens options.