Jump to content

Moon with De-Bayered PS3 Eye Cam

Recommended Posts

Finally the obsy is complete and its a clear night, been waiting 3 months for this.

Anyhow way back in september last year I set about de-bayering a PS3 Eye cam, which I managed successfully, the bonus being this webcam can deliver the raw sensor info using the diver developed here - http://codelaboratories.com/ it also alowed up to 85FPS at 640x480 - another bonus. I had to write my own capture software to get it to save the raw data which was a challenge as I'm not a programmer so had to learn it on the fly, which involved quite a few long frustrating nights - but it was cloudy so no loss there :).

Here is the results of the first test run, I pointed it at the moon and shot 1200frames at 60FPS through a red filter, then processed in Registax and stacked the best 300. Im very impressed with this little cam and glad the hard work paid off, and to think it only cost £7 off Ebay :)

Scope - MN190

2x Barlow

De-Bayered PS3 Eye cam

Homebrew Capture software

300 frames stacked from 1200 60FPS




  • Like 4
Link to post
Share on other sites

That looks like an excellent result to me.

I have the same camera that I butchered but found not great for colour planetary imaging.  I'm tempted to dig it out and see if it works on Linux now.  If so I can use it with my own capture application and I'll think about stripping off the CFA.  Did you write anything up about that at all?


Link to post
Share on other sites

I used some Autosol Chrome and Aluminum Polish to remove the CFA, the cover glass was reasonably easy to remove too with a craft knife (unlike the Canon's), took a while though.

Link to post
Share on other sites

Can you explain how you debayered it and are you willing to share the programme?

The process was reasonably easy, Summarised here with a few pics.

1) Firstly open up the PS3 Eye cam - search google for this as there are some excellent guides on how to do it - heres one http://nuigroup.com/forums/viewthread/4189/

2) Remove the Lens to reveal the sensor

3) With a sharp knife, gently prise the cover glass off, it can stick a bit, but if your patient it should pop off in one


4) I then applied Autosol polish and gently polished the surface with a fibre optic cleaning swab


5) watching the live image as i was doing it you could see the cfa breaking away.



6)I repeated this until 90% of the CFA was gone, I did notice around the edges I had to be careful as some odd artefacts/corruption appeared on the live feed if i went to close.


7)re-boxed with a ir-cut filter and nosepiece


The program I am willing to share, but I can't offer much support, it will either work or it won't but people are wecome to try it. You will need to download the CLEYE Drivers and also I found you also need to install the SDK from here -( http://codelaboratories.com/products/eye/driver/) - there is multicam.dll file that it uses that only comes with the SDK? apologies as I'm not a programmer so not figured out how to sort this.

It works on Windows 7 and this is the only platform I have tried it on, also there are a few bugs as follows:

1)I havent implemented 320x240 resolution even though it appears in the drop down box

2) if you take multiple captures it occasionally crashes

3) its a bit slow, I struggled to get it to stream 85fps and save the file uncompressed without dropping frames, so I dump the data to a tmp file, then post compress, thus there is a short time after capturing that it will pause and compress the tmp file.

4)the menu bar at the top isn't active yet

5) if you choose very low FPS of say 1 or less it can hang sometimes

6) you need a ps3 Eye cam plugged in or the program won't load I'm afraid

The file can be downloaded from here - http://rapidshare.com/share/A9793EB9F46098D984EB1767EC48E7AE  click on "to download" button


  • Like 1
Link to post
Share on other sites

And a few screenshots from the Capture program I wrote which allows you to save the raw sensor data as an AVI.

Some other features it has are:

1) Allows you to auto save the capture parameters in the file name such as Gain, Exposure, frame count etc

2) In "proccessed" mode (either Mono or colour) it allows you to zoom and rotate the image, unfortunately this is not available for RAW Bayer mode

3) Allows you to specify a capture time or a number of frames in capture parameter

4) Lets you set the white balance.

5)Should allow up to 10seconds log exposure, however this feature is a bit unstable, upto about 1sec seems to work well.

Main screen


Capture settings




Zooma and Rotation



Link to post
Share on other sites
  • 10 months later...

Hello Keith, love what you did with that cam, i have been tinkering a lot to and made a peltier cooled ps3 eye :p  

Myself would like to try debayer my cam to but it seems that software download link isnt working anymore, could you please repost?

Best Regards


Link to post
Share on other sites

I've made a peltier cooled PS3 eye cam, and was looking to write my own software (been using the standard cl test for long(er) exposure image capture - not done c++ in years though!

BTW, you can safely remove the 4 microphones

Link to post
Share on other sites

Hi ,

Interestingly I had a  play with this cam last night for the first time in a long time (will post in seperate thread. I will see if I can upload my capture program again somewhere, give me a few mins and I will see what i can do :)

Link to the recent image here http://stargazerslounge.com/topic/235902-vallis-schroteri-and-pythagoras-with-de-bayered-ps3-eye/


Edited by Kbramley
  • Like 1
Link to post
Share on other sites

Ok hopefully this link will work


Few things to note.

1)Its buggy, I haven't looked at the code for over a year and there are lots of things I need to tweak.

2)The avi capture is not that good, I struggled to get it to capture real time without dropping frames so had to resort to dumpng a tmp file to disk and then encoding it into an avi, so it does take a bit longer. Basically I'm not a programmer and had to teach myself C++ as I was writing this so I was chuffed just to get something that worked :)

3) only the 640x480 mode works for now


It will allow you to capture RAW 640x480 avi's at upto 80 FPS (although I suggest no more than 60FPS) that are compatible with Registax. You can also capture standard Mono or RGB too if you haven't de-bayered your camera, although you might as well use the standard CL Eye capture for this.

You will  need to get the CL Eye SDk installed as there is a DLL file it installs that is required if I remember correctly.

Hope that helps


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By acr_astro
      Dear all,
      yesterday afternoon, the forecasts for the evening were good so I set up the 10" truss-tube Dobsonian on the terrace for cooling down. Actually in the evening the sky wasn't as clear as expected but the cirrostratus luckily did not harm too much. It could have been brighter but anyway ...
      So I tried my new 2x focal extender with the 10 inch scope for the first time and magnified up to 370x. Seeing was okay and I really enjoyed travelling along the terminator from Plato via Copernicus down to Clavius. For the 10"er the focal extender is really an enhancement when viewing the moon and conditions are okay: I saw much more detail in Clavius as I have ever observed before. 
      This would have been a good sketching target but finally I decided to go for a sketch of the magificient Copernicus (named after the famous Polish astronomer by Giovanni Riccioli mid of the 17th century): 
      The crater floor was still completely in darkness, one could only see the bright, round rim of this 93km wide crater. The terraced slopes were just partly in the lunar sunrise yet. Obviously the central peaks are as expected lower than the rim - they were still hidden in the darkness. The two craters north of it are Gay-Lussac A and Gay-Lussac on the way to the Montes Carpates with their eastern parts already visible.
      Here's the sketch:

      Telescope: Martini 10" f/5 truss-tube Dobsonian
      Eyepiece: Explore Scientific 6.7mm/82° with Explore Scientific 2x focal extender
      Date & Time: Jan 22nd, 2021 / 1900-2000 CET
      Location: home terrace, Dusseldorf region, Germany
      Technique: Koh-i-Noor charcoal, whitecoal and chalk blocks and pens on black sketching paper
      Size: 11"x11"
      Clear skies!
    • By Kimboman
      Hi I went out this early evening to see if Saturn and Jupiter were observable but the clouds dominated this area.
      The Moon however was in a very clear area so I used my MeadeETX90 with a bino viewer with two 25mm eyepieces and spent some time viewing it.
      The views were really good as the Moon was in the first quarter which is when I feel is one of the best times to view it as it is not to bright.
      The shadows that were being cast were amazing but once again the clouds rolled in so until the next time??
    • By theonlypromg
      The Great Conjunction
      who else waiting for the Great Conjunction between Saturn and Jupiter in 21 December 2020
      Click here to watch
    • By Steenamaroo
      Hi all,
      I've been dabbling for about a year and am having a lot of fun.
      Nothing too serious and I don't have mega expectations but I'm starting to wonder if my images could be sharper and there's something I'm missing.
      I'm attaching a picture which is the best 10% of a 3 minute video with 500d 'bolted' straight to the 200p f5 scope. No filters...no barlows...just camera straight on.
      It's sharpened and saturated after the fact so in every way this is the sharpest I can get it.
      I've always had the same issue whether it's with a single shot, stacks of shots, or stacked video.
      Views through the eyepieces (circle-T 12.5/25) are mega sharp!
      I'm happy that collimation is very good and it was a remarkably clear night tonight.
      All in all I'd be pretty happy with this image (maybe over exposed a bit...) if the craters with shadows didn't make me want to rub my eyes.
      Thanks in advance for any thoughts or advice!

    • By Dave Baxter
      Moon shot directly from my Celestron 8SE, April 6, 2020. ISO 200, 1/320 exposure with my Canon Rebel SL2.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.