×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2006
    Location
    Oulu, Finland
    Posts
    75

    autofocus on viewfinder images ??

    Hi!

    I am implementing an application that analyzes images from the viewFinder in real time.

    My problem is that viewFinder images are focused on the infinite and close objects seem really blurry.

    Is it possible to set the autofocus ON for the viewFinder frames with the Autofocus extension on the camera?

    I am stuck with the N95 platform, so no 3rd edition FP2 with extended camera features.


    Thanks in advance,

    Miguel
    --------------------
    Miguel Bordallo
    Machine Vision Group
    University of Oulu

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: autofocus on viewfinder images ??

    See this article - Using the camera autofocus feature in S60 devices

    And check this example - S60 Platform: Camera Example with Autofocus Support
    This C++ application implements the basic features of the built-in camera using the On-board Camera API classes MCameraObserver and CCamera. The autofocus feature is supported in some S60 devices. It is not part of any S60 SDK but this example demonstrates how to use it via an AF extension library provided in the package (supported in S60 3rd Edition and S60 3rd Edition, FP1). Note that there is a binary break between S60 3rd, Edition FP1 and FP2. A new example application for S60 3rd Edition, FP2 and newer devices is available in the Forum Nokia Wiki. Read more about AutoFocus interfaces here.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: autofocus on viewfinder images ??

    Hi,

    The interface is very basic for the N95, you can set the focus range and attempt optimized focus. As far as I'm aware you don't have to be taking a picture to do this and the viewfinder can still be running.

    Sorcery

  4. #4
    Registered User
    Join Date
    Apr 2006
    Location
    Oulu, Finland
    Posts
    75

    Re: autofocus on viewfinder images ??

    Thanks.

    I made it work.
    The documentation of the plug-in was a little cryptic, but the example on the wiki clarifies quite a lot.
    I can focus and let the focus locked to take viewfinder pictures.
    --------------------
    Miguel Bordallo
    Machine Vision Group
    University of Oulu

Similar Threads

  1. Replies: 2
    Last Post: 2008-04-24, 12:26
  2. Intercepting Images from Camera / Viewfinder
    By skela in forum Symbian Media (Closed)
    Replies: 15
    Last Post: 2008-01-22, 11:22
  3. Capturing images on viewFinder. Block exposure
    By miguelbl in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-09-04, 19:07
  4. Incorrect rgb values for jpg images on S40 3rd ed
    By bjudfar in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-05-29, 16:34
  5. Help with creating Images..Pls
    By rj_cybersilver in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-03-02, 01:58

Posting Permissions

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