You Are Here:

Community: Developer Discussion Boards

#1 Old Autofocus in Python - 2009-03-11, 12:13

Join Date: Mar 2009
Posts: 1
criis
Offline
Registered User
Hello there,

I desperately need autofocus (in the viewfinder's call back images) in Python but it isn't available. It is available in C++ (http://wiki.forum.nokia.com/index.ph...in_S60_devices) so I was wondering if it would be possible to wrap the autofocus functionality into something I can import into Python.

I'm guessing it is but I'm no C++ programmer so I can't figure out how.

I'm writing a fairly simple app where the camera doens't move around too much so something simple where the autofocusing is done at the end of the callback method for the viewfinder for instance would be fine. That is, something like:

Code:
import camera

def cb(img):
  do_some_stuff(img)
  focus_the_camera()

camera.start_finder(cb)
would make me very happy.

Kind Regards
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help installing Python libraries on S60 ericroijen Python 11 2009-07-18 11:43
Python for S60 1.9.2 released tvijayan Python 26 2009-03-11 10:28
Python for S60 1.9.1 released tvijayan Python 30 2009-02-26 07:16
Python for S60 1.9.0 released tvijayan Python 48 2009-01-27 16:39
Does anybody know if Autofocus will work with the python camera api? raf1hh Python 4 2007-11-30 18:18

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia