×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Qt QCamera example didn't autofocus

    Dear all:

    May I know if the autofocus function of Qt QCamera example works on Nokia 5800?
    There is one statement to set autofocus in enableCamera().
    However, it fail to focus on my Nokia 5800.(it's S60 5.0 )

    I tried to set focus as the following, it seems not working, too.

    m_camera->setFocusMode(QCamera::ContinuousFocus);
    m_camera->setMacroFocusingEnabled(true);

    Would someone give some advice?
    Thanks in advance.

  2. #2
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Re: Qt QCamera example didn't autofocus

    By the way, the example can't be self signed.
    Does this means that I can't debug on the device since it will fail to install on device when run/run debug in Qt Creator?

    Thanks for your comments.

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Exclamation Re: Qt QCamera example didn't autofocus

    Dear all:
    I realized that I need to get a UID from https://www.symbiansigned.com for debugging on device of this camera example.
    So the second question is solved.

    However, the Auto focus still doesn't work on my Nokia 5800.
    Is it because camera component of Qt Mobility under beta version?
    Could I use QCamera to control camera with auto-focus/continus-focus/macro-focus function?
    My final goal is to grab image frame from camera preview for later processing.
    (So the image should be clear, ie the camera setup with fine focus distance)
    Could this be done by Qt Mobility?

    Thanks for any advice!

  4. #4
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Re: Qt QCamera example didn't autofocus

    Dear all:

    didn't get any feedback of this issue.
    Someone suggest that I should post on 'QT Mobility'.
    So I'll re-post this issue there.
    Thank you, guys.

  5. #5
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Question Qt QCamera example fail to autofocus on Nokia 5800

    Dear all:

    May I know if the autofocus function of Qt QCamera example works on Nokia 5800?
    ( http://www.forum.nokia.com/info/sw.n..._0_en.zip.html )
    There is one statement in enableCamera() to set autofocus .
    However, it failed to auto-focus on my Nokia 5800.(it's S60 5.0 )

    I tried to set focus as the following, it seems not working,too.

    m_camera->setFocusMode(QCamera::ContinuousFocus);
    m_camera->setMacroFocusingEnabled(true);

    Is it because camera component of Qt Mobility under beta version?
    Could I use QCamera to control camera with auto-focus/continus-focus/macro-focus function?
    My final goal is to grab image frame for real-time processing.
    (So I need the image to be clear, ie.the camera setup with fine focus distance)

    Would someone give some advice?
    Thanks a lot!

  6. #6
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Exclamation Auto focus function of QCamera Not working

    Dear all:

    Since the QCamera example claim that it tested on Nokia5800.
    I think it should work fine.
    However, the auto-focus didn't work my 5800. I can see camera preview, just didn't auto focus.

    Does anyone run QCamera example on 5800 or other device?
    Does auto-focus function of QCamera work fine?
    Or there are someone struggle as me...
    My application is almost done except this issue.

    Wonder if I should report this issue to Nokia?
    What process I should go through?

    Thanks a lot for your comments.
    Last edited by stone.chao; 2010-05-22 at 17:16.

  7. #7
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Auto focus function of QCamera Not working

    Hi Chao,
    Note that QCamera has been removed from Mobilty 1.0.0. Then that example just work with the Beta.
    A lot of improvement and maybe changes to the Mobility APIs can make that example unable to work with the future QCamera API.

  8. #8
    Registered User
    Join Date
    Jan 2008
    Posts
    16

    Re: Auto focus function of QCamera Not working

    Quote Originally Posted by gnuton View Post
    Hi Chao,
    Note that QCamera has been removed from Mobilty 1.0.0. Then that example just work with the Beta.
    A lot of improvement and maybe changes to the Mobility APIs can make that example unable to work with the future QCamera API.
    Hi all,

    I have get the same problem with QCamera example too,

    The package I am using: Nokia Qt SDK 1.0, Qt 4.6.3 & Mobility API 1.0.1

    I tried to build the QCamera example but failed.

    The new release of Mobility API does not suppport QCamera???

    So is there any other methods for us to preview and capture images using the device camera with Qt?


    Thanks a lot.

  9. #9
    Registered User
    Join Date
    Nov 2011
    Posts
    11

    Re: Qt QCamera example didn't autofocus

    Hi all,
    I am using Nokia N8 for camera application which have the Auto focus functionality, but the code is not working

    cameraFocus->setFocusMode(QCameraFocus::AutoFocus);
    cameraFocus->setFocusPointMode(QCameraFocus::FocusPointAuto);

    How is the Autofocus is working for other application like Neoreader, Beetag, scandit etc ...

    Anyone have solved this issue knidly suggest me

    Advance thanks

  10. #10
    Registered User
    Join Date
    Nov 2011
    Posts
    11

    Re: Qt QCamera example didn't autofocus

    Hello all,

    I am using Nokia N8 for barcode scanning application using cameara features but AutoFocus is not working properly. I am using the following code to set focus and also tried continuous focus etc but no use!

    cameraFocus->setFocusMode(QCameraFocus::AutoFocus);

    cameraFocus->setFocusPointMode(QCameraFocus::FocusPointAuto);

    How the other barcode scan applications with autofocus working properly like Neoreader, beetag, Scandit etc ?
    Even i have downloaded the offline installer of Qt SDK 1.1.4 which wad realeased in 8 November 2011. but no use at all !
    Anyone who solved this Autofocus issue kindly suggest me...

    Thanks in Advance.

  11. #11
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Qt QCamera example didn't autofocus

    Are getting any errors while running your program, or just Camera didn't get Auto Focus.

    What are the capabilities in your .pro file ?

    How you are signing your application ?

Similar Threads

  1. Qt for Symbian development resources
    By liuxg in forum [Archived] Qt General ( Qt技术)
    Replies: 55
    Last Post: 2011-01-26, 04:06
  2. automatic rotate screen on meamo
    By fily_love in forum Nokia N9
    Replies: 27
    Last Post: 2010-04-06, 08:37
  3. gsreamer-0.10-plugins-good+Phonon
    By niqt in forum Nokia N9
    Replies: 10
    Last Post: 2010-03-05, 09:56
  4. kinetic scrolling
    By stalep in forum Nokia N9
    Replies: 10
    Last Post: 2009-12-08, 12:41
  5. Senior QT Client Developer (Dublin, Ireland)
    By marynyc in forum News, Announcements and Job Listings
    Replies: 0
    Last Post: 2009-06-02, 18:24

Posting Permissions

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