3 ms·
It's generally fairly steady at the moment, but I would like it to be able to handle motion in the future. I'm using the built-in iSight on my macbook as the ca
by aarongough 17y ago
It's generally fairly steady at the moment, but I would like it to be able to handle motion in the future. I'm using the built-in iSight on my macbook as the camera, so theoretically I should be able to get some data from the macbook's built-in accelerometers, but I'm not sure that they would be accurate enough for this purpose.
Do you know of any sources for example code dealing with image stabilization?
- brk 17y agoI don't have any sources, I only know how it has been implemented by various companies. Pentax, for example, offers some very powerful zoom lenses for CCTV cameras. They have an image stabilizer box that goes between the cameras output, and the viewing device. That box picks 4 points in the video and uses those 4 points as its reference. If you zoom in or out, the points move diagonally in unison. Any other movement left/right/up/down indicates camera shake and is compensated for. To do this, you have to start with an image that is slightly scaled down or cropped so that you have have some buffer room all around the frame.
- aarongough 17y agoYeah, it's starting to sound like something I'm going to just have to muddle through. The main reason I'm embarking on this project is just as a learning expedition more than anything else. So implementing everything from scratch is not necessarily bad.