You Are Here:

Community: Developer Discussion Boards

#1 Old Front camera on N95 never works - 2008-03-31, 19:02

Join Date: Mar 2008
Posts: 11
peppebe
Offline
Registered User
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
Reply With Quote

#2 Old Re: Front camera on N95 never works - 2008-04-01, 13:58

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
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.
Reply With Quote

#3 Old Re: Front camera on N95 never works - 2008-04-01, 16:00

Join Date: Mar 2008
Posts: 11
peppebe
Offline
Registered User
It does!!! Thanks!

How did you know to use that resolution?
Reply With Quote

#4 Old Re: Front camera on N95 never works - 2008-04-02, 11:38

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by peppebe View Post
How did you know to use that resolution?
I tried all common ones until one worked.
Reply With Quote

#5 Old Re: Front camera on N95 never works - 2008-04-02, 11:50

Join Date: Mar 2008
Posts: 25
sstoica
Offline
Registered User
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
Reply With Quote

#6 Old Re: Front camera on N95 never works - 2008-04-02, 12:20

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
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
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
[announce] aXYZ 1.0.0 using XYZ axes of the N95 accelerometer ! cyke64 Python 84 2008-03-05 00:25
How DLNA works in symbian N95? chirag_cel Symbian Networking & Messaging 2 2007-12-20 11:41
BUG IN 7650 Camera API??? jjclose Symbian Tools & SDKs 2 2003-09-28 17:43
Bug in 7650 Camera library??? jjclose General Symbian C++ 0 2002-07-30 07:25

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