A while back there was a thread about in car cameras, and I mentioned that I was working on such a system, well I took it out for it's first successful(ish) run today and as luck would have it managed to capture someone in a mondeo estate pulling in front of me (into my side if I didn't brake) whilst trying to exit a roundabout by crossing a hatched area (admittedly with broken lines). Video at bottom of post.
The system uses my Car PC, the core of which is a Via EPIA M10000 motherboard with a 1ghz Via C3 CPU (about equivalent to a 466mhz celeron) and a USB webcam which is currently being held upside down stuffed between the passenger sunvisor and the roofliner.
The software I'm using doesn't have a webpage, but all the details can be found here:
http://www.mp3car.com/vbulletin/showthread.php?t=58683
It works by recording an AVI file until a preset length or size is reached, then it starts a new AVI file, once a preset number of AVI files is reached it starts deleting the old ones and it has a button to dump the current contents into permanant storage, so that would be the MoronButton(TM) I guess.
I am encoding the video in realtime using HuffYUV, a lossless codec, I'm using about 1mb/minute at 352x288 @ 30fps and using about 96% CPU. Will probably drop to 15fps to free up a bit of CPU for my MP3s and satnav, although some people are suggesting that I should encode straight to DivX as it will use less CPU
http://www.lum.co.uk/SS/MoronCam_Test.avi
Youtube link, incase you can't play XviD:
http://www.youtube.com/watch?v=Tw5GB7U9Snw (Thanks: CarlP)
I have re-encoded this video into XviD so that it becomes a 7mb file rather than a 66mb file. XviD is free and open source so everyone should be able to play it.
It highlights a few problems with the system, so far I've found:
1) Terrible performance in the sun, the road goes white and you can't see the road markings. This may be due to the reflections from the windscreen confusing the camera's level adjustments so I may have to look into mounting it outside somehow.
2) You can only see straight ahead. I have already determined that I'm about to be hit and stopped before the guy even comes into shot. It may be necessary to mount the cam in the rear of the car and use a panoramic lens of some sort
3) I have no idea if it's legally admissible, even if I do sort out problem 1 and thus make numberplates vissible.
4) It needs to be used in conjunction with a good aerial photograph of the area. You'll have to take my word for it that I did not cross any lines at all, that the other driver did, and that it's valid to make a right turn from the enterance I took. (though you can see the lines being crossed if you look in the car's shadow)