tags:

views:

751

answers:

4

I am creating object-detection program on Mac. I want to use iSight in manual exposure mode to improve detection quality.

I tried iGlasses & QTKit Capture to do that and it worked but program runs very slowly and unstable. So I want to try other solution.

In PhotoBooth.app, iSight seemed to be run in fixed exposure mode so there might be a way to do that. I read QTKit Capture documents and OpenCV documents but I couldn't find the answer.

If you have any ideas, please tell me. Thank you.

A: 

Hmmm,

I tried & googled a lot these days but I couldn't find a good idea. I think OpenCV + cocoa + iGlasses is the fastest one but still unstable.

If you have good idea, please reply. Thank you.

fish potato
+1  A: 

QTKit Capture, as easy as it is to use, lacks the ability to set manual camera parameters like gain, brightness, focus, etc. If you were using a Firewire camera, I'd suggest looking into the libdc1394 library, which gives you control over all these values and more if you're using an IIDC Firewire camera (like the old external iSight). I use this library for video capture from, and control of, CCD cameras on a robotics platform.

However, I'm guessing that you're interested in the internal iSight camera, which is USB. Wil Shipley briefly mentions control of parameters on internal USB iSights in his post "Frozen in Carbonite", but most of the Carbon code he lays out controls those values in IIDC Firewire cameras.

Unfortunately, according to this message in the QuickTime mailing list by Brad Ford, it sounds like you can't programmatically control anything but saturation and sharpness on builtin iSights through the exposed interfaces. He speculates that iGlasses is post-processing the image in software, which is something you could do using Core Image filters.

Brad Larson
I see. Thank you for a good description!!Unfortunately, I'm using new MacBook and it has no FireWire Port :( (But graphic chipset is so nice!)"Frozen in Carbonite" seemed very interesting. I started reading this post but it would take days for me to understand.
fish potato
+1  A: 

I finally managed to lock my iSight's autoexposure/autowhitebalance from my Cocoa App.

Check out www.paranoid-media.de/blog for more info.

Andreas
A: 

you can do Screenshot video capturew using Screenshot Remote.It’s prog for remore monitoring your Mac using iPhone.try it.

Julia