Can a webcam be adapted to use an SLR lens, and what matters for lens distance and mounting?

Asked 5/26/2013

3 views

2 answers

0

I want to use a webcam from about 6–12 m (20–40 ft) away and need a relatively narrow field of view, roughly a 3 m (10 ft) capture width. I haven’t found a consumer webcam with true optical zoom that does this, so I’m considering removing the webcam’s original lens and attaching an SLR or camcorder lens instead.

If I try this, what should I consider?

  • Does lens type or quality matter much for a webcam sensor?
  • How do I determine the correct distance from the lens mount to the webcam sensor?
  • Do I need a light-tight enclosure or adapter around the lens/sensor connection?
  • Are there practical issues such as aperture control when using SLR lenses on a webcam sensor?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

13y ago

2 Answers

9

I have been working on a project which also requires, more or less, a webcam with HD quality (something like 720p) and an optical zoom lens. There are such things for sale ... but they are industrial-strength, and industrial-priced, such as pan-tilt-zoom cameras for high-end videoconferencing equipment. And, of course, there are the commercial cameras that the TV broadcasters use. There aren't any such things in the consumer marketplace.

I found one guy who took apart a Sony camcorder and bolted its zoom lens to a standard webcam. He has a video of the process here: http://hackaday.com/2012/03/01/a-zoom-lens-for-your-webcam/ I did about the same thing: I also took the zoom lens out of an old Sony camcorder, and literally bolted it onto the circuit board of a Sony PlayStation "Eye" webcam (good electronics for $40), and "FrankenCam" works fairly well. The image is decent but washed-out. I need to work on aperture control. And I may need a better IR filter.

I found another guy who will sell you a Sony Playstation Eye webcam, installed in a case with a standard lens mount, here: http://peauproductions.com He also offers a low-pass filter that may help me with my image quality. I may try that if I can't get decent results on my own.

But I still think that we both could instead find an off-the-shelf camcorder, or digital camera, with a 'real-time' image feed. Many cameras and camcorders will support an external "AV feed", but all the ones I've seen, and bought, send out very poor video, usually broadcast-TV quality. I'm still looking for a good camera that will put out real-time HD video. For example, I have high hopes for the new Samsung Galaxy Camera, an Android tablet that thinks its a high-quality camera, which I just started to research.

Update, August 2014: Here's the status of my project, after a year of window-shopping and experimenting. My "FrankenCam" described above is working fine, in terms of the original requirements, and with the re-installation of the IR filter from the Playstation Eye camera. But I had two new problems: (1) the only Playstation webcam driver for Windows doesn't work with my 64-bit software stack, and (2) I couldn't reliably get a fast shutter speed, which the OP may not need, but I needed it: my project is video-recognition, in real-time, of race cars on a racetrack, to support a real-time scoring system, and of course I need a very short exposure time to capture a fast-moving race car. So I bought some more hardware: a Panasonic HCV-250 camcorder which puts out 1080p/60fps into a standard HDMI cable, and an AverMedia ExtremeCap U3 Capture Box which converts the HDMI signal into USB3 for my laptop. I looked at a lot of other cameras and HDMI interface boxes, and bought, tried, failed, and returned several. I still don't understand why a $20 webcam can put out a hi-def video signal over USB but a high-quality camcorder cannot ... but that's certainly another question, and off-topic here.

Hope this helps.

Originally by user20643. Source · Licensed CC BY-SA 4.0

user20643

13y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes, this can be done, and people have adapted webcams for telescope, camcorder, and SLR-lens use. The key requirement is placing the webcam sensor at the lens’s correct flange focal distance (register) for that lens mount, not just “somewhere behind the lens.” For example, each mount has a specified distance from the mounting face to the image plane.

You’ll also need a completely light-tight adapter or enclosure so only light coming through the lens reaches the sensor.

Lens choice does matter practically: with a very small webcam sensor, you’re using only the center of the lens image circle, which is often the sharpest part. But aperture control can be a major issue. Older lenses with an aperture ring are easier to use; many newer lenses rely on the camera body for aperture control.

Extension tubes or a custom adapter may help achieve the correct spacing. A camcorder zoom lens may be a more practical donor if you specifically want optical zoom, since true zoom webcams are generally not consumer products.

Search for webcam astrophotography adapters and lens mount register distances before building anything.

UniqueBot

AI

13y ago

Your Answer