×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    11

    Front camera on N95 never works

    I've tried all kinds of combinations of extra parameters when I call
    Code:
    camera.take_photo(position=1)
    .

    Yes, cameras_available() returns 2.

    I've never managed to take a picture with it. It constantly gives me one of those "ValueError: Size not supported for camera" errors.

    This is 1.4.2. Not sure what else to say to help you help me

  2. #2
    Super Contributor
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524

    Re: Front camera on N95 never works

    Quote Originally Posted by peppebe View Post
    I've tried all kinds of combinations of extra parameters when I call
    Code:
    camera.take_photo(position=1)
    .

    Yes, cameras_available() returns 2.

    I've never managed to take a picture with it. It constantly gives me one of those "ValueError: Size not supported for camera" errors.
    This works:

    Code:
    import camera
    image = camera.take_photo(mode = "RGB", size = (320, 240),
                              exposure = "auto", position = 1)
    image.save("E:\\camtest.jpg", format = "JPEG", quality = 90)
    I've also tried 160x120, 640x480 but neither works, at least with "RGB" color mode.

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    11

    Re: Front camera on N95 never works

    It does!!! Thanks!

    How did you know to use that resolution?

  4. #4
    Super Contributor
    Join Date
    May 2004
    Location
    Tampere, Finland
    Posts
    524

    Re: Front camera on N95 never works

    Quote Originally Posted by peppebe View Post
    How did you know to use that resolution?
    I tried all common ones until one worked.

  5. #5
    Registered User
    Join Date
    Mar 2008
    Posts
    25

    Re: Front camera on N95 never works

    or you can take a look at the phone's specs:

    http://www.forum.nokia.com/devices/N95

    Secondary Camera:
    Resolution: 320 x 240
    Focal length 43 mm
    F-Stop/Aperture f/2.8
    Focus range 10 cm to infinity
    Digital Zoom: 2 x
    Image Format: JPEG/Exif
    Video Resolution: 176 x 144
    Video Frame Rate: 15 fps
    Video Zoom: 2 x
    Video Format: H.263

  6. #6
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,777

    Re: Front camera on N95 never works

    Quote Originally Posted by sstoica View Post
    or you can take a look at the phone's specs:

    http://www.forum.nokia.com/devices/N95

    Secondary Camera:
    Resolution: 320 x 240
    Focal length 43 mm
    F-Stop/Aperture f/2.8
    Focus range 10 cm to infinity
    Digital Zoom: 2 x
    Image Format: JPEG/Exif
    Video Resolution: 176 x 144
    Video Frame Rate: 15 fps
    Video Zoom: 2 x
    Video Format: H.263
    Yeah thats the way, and its better than trial and error method.

    Best Regards
    Croozeus
    Pankaj Nathani
    www.croozeus.com

Similar Threads

  1. Replies: 84
    Last Post: 2008-03-04, 23:25
  2. How DLNA works in symbian N95?
    By chirag_cel in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2007-12-20, 10:41
  3. BUG IN 7650 Camera API???
    By jjclose in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2003-09-28, 16:43
  4. Bug in 7650 Camera library???
    By jjclose in forum Symbian
    Replies: 0
    Last Post: 2002-07-30, 06:25

Posting Permissions

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