View Single Post
Posts: 45 | Thanked: 54 times | Joined on Oct 2009 @ Uppsala,Sweden
#16
Originally Posted by klen View Post
Davost, thank you very much for your post.
Now I would like to write my own application that auto focuses on an object like the native camera. I managed to open a GStreamer pipeline, but can not activate auto focusing option.

The Question:
Does the native camera app implement the auto focusing algorithms, or, there is a library or hardware option that enables auto focus functionality?
I'm following a very similar path as you are. My purpose is to make HDR pics. When I was researching this I finally found out that the mbarcode does autofocus using the gstreamer photography api. I guess this is also the proper way to do exposure control.

Example on how to set up the pipe line and do autofocus in:
maemo-barcode/trunk/maemo-barcode/camera_n900.c
 

The Following 2 Users Say Thank You to davost For This Useful Post: