![]() |
N900 camera API
Hi,
I'm interested in what all is available in N900 camera API. Are there any "more advanced" features available, like various readings, functions more advance than "take picture" or "set resolution". For instance, is it possible to get some readings from auto focus, like distance of focus point? Especially, are there any video recognition algorithms implemented, like face recognition. Maybe some easy to use third party solutions? Any help or info is most appreciated |
Re: N900 camera API
The Maemo 5 Developer Guide in the section Imaging and Sharing shows that the camera control is handled by GDigicam and Camerabin (both rather high-level).
danielwilms posted links to GDigicam and Camerabin examples here. Camerabin is contained in gst-plugins-bad. Check the photography interface for the information that is available internally. I think this interface is actually implemented by gstv4l2cam (gstreamer0.10-plugins-camera). I am not aware of documentation for this outside of what you get via apt-get source. |
Re: N900 camera API
Quote:
There is interest in the community (and from the relevant Nokians iirc) to open up the camera app itself and allow different plugins for these functions. You could of course write e.g. a gstreamer plugin right now to perform autofocus (contrast based) and return whatever info you wanted from it. Quote:
|
Re: N900 camera API
Quote:
Any link to help me get started with this? |
Re: N900 camera API
For help in writing a plugin see the GStreamer website. To perform the actual focusing commands you'd ideally use the GStreamer photography interface, then it's just ;) a case of writing the contrast optimisation code to drive the focus back and forward and find the best position.
Easy! ;) Actually there has already been quite a bit of interest in developing an open camera system and allowing people to use/implement SLR-type features. I wonder if a wiki page would be a good place to collaborate on something like this? That and a Garage project for some code. |
Re: N900 camera API
Quote:
I can't say I fully understand. I will have to read the stuff on the website first. Just to get one thing straight, do I need to "override" the whole autofocusing command, and implement it manually, or can I just get some reading (focus distance for start) from the already implemented function? |
Re: N900 camera API
Quote:
|
Re: N900 camera API
Would be nice to have some of the functions, which are included in the Canon Hack Development Kit (CHDK):
-Zebra Mode (shows areas in the picture which are too bright / dark) -Live Histogramm (shows frequency of colours in a graph) -Remote access (could be by USB / Bluetooth / IR, Call, SMS or maybe as a Webcam by Wlan) -Script support (motion detecting) -HDR and longtime duration support |
All times are GMT. The time now is 15:03. |
vBulletin® Version 3.8.8