Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Infrared Webcam HOWTO

Posted by Hemos on Sun Mar 13, 2005 10:10 AM
from the the-fun-of-hacking dept.
Geoff Johnson writes "Some of the Slashdot readers may be interested in this page I put together. It describes how to make an ordinary webcam see in the near infrared waveband."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • duh (Score:5, Insightful)

    by oliverthered (187439) <olivertheredNO@SPAMhotmail.com> on Sunday March 13 2005, @10:12AM (#11925953)
    Let me guess, remove the IR filter from in-front of the lens.
    • Re:duh (Score:5, Informative)

      by m50d (797211) on Sunday March 13 2005, @10:16AM (#11925975) Homepage Journal
      Well, and replace it with one to block visible light. But yes, that's about it.
      • Re:duh (Score:5, Informative)

        by oliverthered (187439) <olivertheredNO@SPAMhotmail.com> on Sunday March 13 2005, @10:23AM (#11926013)
        You don't need to for 'night vision', which is what I expect most people will be interested in.
        Full colour (maybe a tiny bit washed out because of the extra IR) during daylight, and at night switch on the IR light and you've got an IR camera.

        Near IR isn't that interesting, except humans cant see it, what would be cool is if the chips could pickup far IR so you could see heat.
        • Re:duh (Score:5, Interesting)

          by budgenator (254554) on Sunday March 13 2005, @11:06AM (#11926201) Journal
          Cadillac has an interesting thermal system, I haven't really dug into it in depth, but basicaly the sensor is a bunch of capacitors similar to a ccd sensor. When the IR image is focased on the sensor, the heat causes the diaelectric between the capacitor plates to warm up and expand changing the charge on the capacitor and make it readable.

          Sooner or later someone is going to hack the system for some serious geek factor. I could see someone hackering several of these different systems together for some cool false-color IR video. I used to do quite a bit of IR photography used Kodak's IR false-color slide film, green showed up as blue, red was green and IR was red if memory serves me correctly. The biggest problem was the film used the old-fassioned E4 process, so you either had to send it to Kodak or do it your self
          • Re:duh (Score:5, Informative)

            by huge colin (528073) on Sunday March 13 2005, @12:04PM (#11926457) Journal
            Cadillac's system was actually a Barium Strontium Titanate (BST) module, developed by Raytheon. It required a thermal differential in the scene from frame-to-frame to be able to see anything, and thus a "chopper" wheel (a rotating slotted disc) had to run in front of the detector. The picture would smear and was generally low-quality. The module used by Cadillac was also rather low resolution (160x120, I believe).

            The alternative to BST is microbolometer technology, developed by Lockheed Martin / BAE Systems and others. A microbolometer array consists of vanadium-oxide bridges that vary their resistance when exposed to thermal radiation. The scene will occasionally need to be "shuttered" (i.e., zero all the pixels against the back of a shutter mechanism to cancel the thermal drift that creeps in over time.)

            Unlike light-amp, true thermal imaging allows you to see in complete darkness. And unlike projected-IR, it isn't limited in range by any kind of IR-transmitter. And unlike either of those technologies, it allows you to very quickly find humans (or other mammals) in a scene, and it allows you to see where things used to be by the heat-shadow that they've left.
            • Re:duh (Score:3, Informative)

              basicaly the E4 process you expose the film
              1. develope it the reduce the exposed silver halide crystals to metalic silver( results in an negative image)
              2. bleach out the exposed silver( removes the negative image)
              3. remove the film and expose it to light which exposes the undeveloped silver halide crystals
              4. re-develope the film to reduce the exposed remaining silver halide crystals to metalic silver resulting in an positive image
              5. fix the film to remove any undevelopes silver halide crystals
              6. the silver reacts w
      • Took the whole camera apart, removed the optical pass filter from the CMOS chip, replaced it with an IR-PASS filter (rejects lessthan 750nm)... and I have a visible focus / IR sensitive camera.

        Great shots, too

        1st test shot here: http://www.deviantart.com/deviation/12473546/ [deviantart.com]
  • Now Paris Hilton's new sex tapes will be done by webcam... meaning even worse video quality! Seriously, though, that's pretty sweet. Props to this guy for figuring out how to do it.
    • This isn't really anything new. Amateur astronomers have been doing this with webcams for awhile now. Even in the near IR range, some things look a little different.

      Not recommended when planet imaging.

      ~X~
  • by Anonymous Coward on Sunday March 13 2005, @10:13AM (#11925958)
    Cause I'd really like to take my PC to the beach and get webcam shots of da honey's.
  • by Anonymous Coward on Sunday March 13 2005, @10:15AM (#11925966)
    that's just fantatic!
  • by filmmaker (850359) * on Sunday March 13 2005, @10:17AM (#11925982) Homepage
    Infared web cam? Somehow I don't think Bubble Cam [andieandmike.org] would be quite the same at night. :D

    I do wonder what the most common applications for Linux/IrDA are, considering the trend I've observed where among the most commonly requested Linux HOWTOs [joeldalley.com] recently have been 'laptop', 'infrared' and 'webcam'. Is everyone building infrared webcams?
    • I do wonder what the most common applications for Linux/IrDA are, considering the trend I've observed where among the most commonly requested Linux HOWTOs recently have been 'laptop', 'infrared' and 'webcam'. Is everyone building infrared webcams?

      Maybe you're confused here, and should check out some of those HOWTO's yourself (and read the article for once), to see what it is all about?

      To use a webcam for looking in the infrared spectrum, is not the same as using infrared light for shortrange communicati

  • The WEcam... (Score:4, Interesting)

    by mindriot (96208) on Sunday March 13 2005, @10:20AM (#11925998)
    ...and, soon to come, the THEMcam!

    SCNR... sometimes I'm amazed at what kinds of typos make it through to the frontpage.

    But besides that, very nice article. I personally found IR very useful for some surveillance-type situations. A few years ago, my father set up an IR-sensitive camera and an IR diode in a birdhouse in our garden, which allowed us to watch the new-born ones without creating any disturbance.
  • Burgler Cam?? (Score:5, Interesting)

    by GreyPoopon (411036) <gpoopon@nospAm.gmail.com> on Sunday March 13 2005, @10:26AM (#11926023)
    Does anybody think that coupled with a pure IR source of light this item would be useful in catching would-be prowlers without alerting them? OK, probably a stupid idea...
    • Sure. But if you want to step up in image quality and view range:

      Use this camera [supercircuits.com], illuminate with this device [supercircuits.com] and use a C-mount lens from this page [surplusshed.com] if you are comfortable with removing the electronic iris in some of these older, but superb qulity, lenses.

      You will be able to read a license plate at 75 feet in complete darkness.

      • Re:Burgler Cam?? (Score:4, Insightful)

        by shic (309152) on Sunday March 13 2005, @11:55AM (#11926407)
        There is a lot more to the idea of video security than the simple "alerting" or "non-alerting" you suggest.

        For example, using your example of a car - I'd consider myself a madman if I opted not only to have a car alarm - but also to make it as obvious as possible that I am equipped with one. The snag, however with alerting alarms is that after a few "false alarms" it is widely understood that alarms signals will be ignored - people assume it is a technical fault... and the criminals know this too. Another problem with the alerting alarm is in automatically deciding at what point to take issue with someone's actions. For example, I'm aware of areas in which organised youths check all the car doors in a neighbourhood - hoping someone has forgotten to lock and alarm their car. Under these circumstances an alarm system does no good... It is important to discriminate... Burglar alarms also offer no protection from vandals - whereas a CCTV with night vision may well do - if only by identifying weaknesses in manned security. I imagine an infra-red video surveillance system would be an extremely good way to improve security for applications such as monitoring business car parks; monitoring entranceways to identify where layabouts trespass before any real harm occurs - as well as providing some way to counter graffiti tagging and other illegal unpleasantness.

        I've long thought this would be a fun project - but as yet I've not found time to tinker.
  • by Anonymous Coward
    Sorry, man. Slashdotting in progress.
  • IR filter (Score:2, Interesting)

    Hmm, I opened my sweex webcam (the same he has) and unscrewed the lens. But my IR filter is round (so not a square as in his webcam) and won't come out.
  • by OneDeeTenTee (780300) on Sunday March 13 2005, @10:40AM (#11926073)
    If you're lucky the webcam won't have an IR blocking filter.

    You may want to check it with a remote (or just put your IR passing filter in front of it) before you take it apart.
    • I have a camcorder (analog, large by modern standards) which has a mode in which it takes infrared images. It has a bright infrared LED on the front, so it can work as an active infrared system in total darkness (it gives weird green-and-white images). The thing is, when it is in normal daylight mode it can still see IR, and you can see, as you say, remote controls as flashing lights. Which makes it's own remote control look silly when we use it to start/stop recording.
  • by Anonymous Coward
    We've been buying VB-C50iR cameras from NuSpectra for construction monitoring. We can do all this--perhaps not as cheaply!

    Pan/tilt/zoom control, day night filter (changes to IR/Night mode on a schedule)... Plus 26x optical zoom rocks.

    NuSpectra has a demo camera out of their office in San Francisco.. See demo in upper right corner of page [nuspectra.com].

    We also use the SiteProxy software that lets us build time-lapse movies from all the camera's preset positions on the fly.

    Check em out!
  • OK..... (Score:5, Funny)

    by mr_z_beeblebrox (591077) on Sunday March 13 2005, @10:43AM (#11926092) Journal
    So the article details a cool hack, props. What I want to know is.....why was I able to download the 6.9 MB AVI file at the end. Isn't his server supposed to die or something? I can never download the files referenced by a /. link. Is something wrong?
  • altho, most that ive seen ahve the IR filter directly attached to the CCD.
    you would remove the CCD, then remove the 'piece of glass' from it.

    some cameras achieve this effect differently, I have not quite worked out how they work.
    For example, Sony camcorders that have 'nightshot'
    also have an IR filter, but I suspect its something different. the switch not only engages some IR illuminators, but does something in the lens block itself. (switches something in/out mechanically)
    I know that the IR filter at the CCD remains there, its in a fixed position.

    I am now curious and have to dissasemble a sony lens block to see :)

    I used to work on cameras, and I have removed the IR filters on cameras before for a bit of fun.

    if you can get enough IR leds going you can get it pretty well lit.
    Altho, the resolution is probably not going to be that great at a distance.

  • X-Ray Specs (Score:4, Funny)

    by lildogie (54998) on Sunday March 13 2005, @11:02AM (#11926179)
    Wow, just like those funny glasses I bought from the ad in the comic book back in the 60's.
  • by gone.fishing (213219) on Sunday March 13 2005, @11:29AM (#11926298) Journal
    Will this mod void the warranty?

    (it's funny, laugh)
  • Heat Seeker (Score:3, Funny)

    by Doc Ruby (173196) on Sunday March 13 2005, @11:32AM (#11926313) Homepage Journal
    We need a demo of pix of his hot neighbor in her nightgown. Too a HW hacker never sees her that way around sunrise.
  • Look for heat loss? (Score:5, Interesting)

    by crow (16139) on Sunday March 13 2005, @11:37AM (#11926338) Homepage Journal
    Will this capture the right range of infra red to detect heat? If so, then I could see using it with a laptop on a cold day to see where I need to improve the insulation on my house.
        • Nah, you don't need to spend that much. You can bottom-feed off the low end for about $13 grand for a fixed-notch greyscale bolometer type. Better ones will run up to 20 grand, and offer a full floating, variable width notch with false color representation.

          Granted, these are all intended for structural firefighting, so they aren't cheap. But they *are* intended to be dropped, kicked, and roasted. Obviously, you'll trade weight for battery life and heat shielding - the Draegers have full Ni cladding and ca
  • by emptybody (12341) on Sunday March 13 2005, @11:46AM (#11926377) Homepage Journal
    I unscrewed the lense end - the same way you fine tune the focus.

    it then proceeded to fall over due to the usb cable coming free in back.

    I now have a little stack of lenses that I need to figure out the proper way to orient.

    2 lenses - 2 ways = 8 combinations.
    a third lense further out = x2 more combinations.
    a fourth lense on the outsite = x2 more combinations.

    Total 32 possible ways to re-assemble this little bugger!! DAMN-YOU!!!!

    Worst of it is, the pink lense is a lense and not a flat glass filter. I cant use this cam :(

    Anyone have a blow-up of this cam -
    Kensington VideoCAM VGA PC Camera
    Model#67015
  • by The-Bus (138060) on Sunday March 13 2005, @12:16PM (#11926514) Homepage
    This guy must just be mad at his ISP or whoever does his hosting.

    The ~7MB video file at the end of the page doesn't even have anything to do with IR video. It's like he wants us to take the server down.

    So do him a favor and just download it 8 times.
  • by maird (699535) on Sunday March 13 2005, @12:21PM (#11926531) Homepage

    ...Get one here: http://www.mair-family.org/Downloads/ [mair-family.org] Geoff says the software he had isn't very good. I couldn't find anything I was prepared to pay for so I wrote my own and publish it at that link. Sorry Windows only and WMV output. You can read the feature list for yourself but, in terms of Geoff's difficulty, it will capture frames at between 4s and one hour per-frame (configurable) and create a 15fps WMV.

    Go ahead, /. my web server...Hopefully my ISP is tolerant.

  • by SiliconEntity (448450) * on Sunday March 13 2005, @12:26PM (#11926557)
    We all know the real point of this - to let you see [kaya-optics.com] through [x-raycameras.com] clothes [impactlab.com] like the infrared video cameras that came out a few years ago.
  • by tverbeek (457094) on Sunday March 13 2005, @12:47PM (#11926681) Homepage
    Or just accelerate your webcam enough (toward the object you wish to photograph) to blue-shift the infra-red into the visible frequencies. Put it on a really-high-speed ferris wheel or merry-go-round and synchronise the snapshots to its rotation if you want to keep it "stationary". Compensating for the doppler shift in the signal from the camera is left as an exercise for the reader. But no disassembly or modification of the camera needed!
  • by jago25_98 (566531) on Sunday March 13 2005, @01:07PM (#11926775) Journal
    I bought a sweex webcam like the one in the guide.

    Indeed the usb chipset is supported (sn9c103), but the sensor isn't. So I'm sending it off to Italy for Luca the developer, well it's no use to me.

    USB webcams can have different sensors within the exact same model, so you never really know when buying one whether it will work for sure.

    Hopefully this will change if the USB video standard (similar to firewire video standard), comes about.

    In the mean-time think about firewire cameras.
  • by servoled (174239) on Sunday March 13 2005, @02:15PM (#11927171)
    Tomorrow on Slashdot, how to turn an ordinary car into a convertible by removing the roof.
    • WTF is the timelapse movie doing there?

      That's the guy thinking "before f*cking up my webcam to remove the IR lens, I'll do something normal with it so I won't feel so bad when it ends up dead on my table". His hack worked, so he posts both...
    • by budgenator (254554) on Sunday March 13 2005, @11:14AM (#11926244) Journal
      Actualy this is pretty much WW-II style technology, the old Sniper-Scopes used active IR like this web-cam mod. Now the problem is passive IR is so common firing up an IR illuminator is like painting a bull's-eye on your forehead. It's so common, we put blue filter on our flashlights to block the near-IR and IR output; visible light is less damgerous the IR at night!
    • Somewhat to my amazement, this actually worked quite well despite my dramatic ineptness with electronics.

      Pictures are in this thread [sudhian.com].

      I'd post a pic of the setup.. But I'm ashamed of it. Sellotaping wires to a battery just isn't .. y'know.. valid somehow.