×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    43

    How to capture more images per second....??

    sir,
    i am vinay,i am working on nokia 7610 mobile which can capture 15 frames per second..
    but whereas in my application it is able to capture only 1 image per 1 second...i am taking
    bmp 160*120 image resolution
    , even i have changed that 160*120 to 100*100 but not working..

    sir please tell me how can i capture more than 2 or 3 images for 1 second....is there any code for that please help me out of this sir....

    If this is done everything of my project is done.....it is really urgent sir please...

    thanking you,
    vinay

  2. #2
    Super Contributor
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330

    Re: How to capture more images per second....??

    Quote Originally Posted by srinivasreddy501 View Post
    sir,
    i am vinay,i am working on nokia 7610 mobile which can capture 15 frames per second..
    but whereas in my application it is able to capture only 1 image per 1 second...i am taking
    bmp 160*120 image resolution
    , even i have changed that 160*120 to 100*100 but not working..

    sir please tell me how can i capture more than 2 or 3 images for 1 second....is there any code for that please help me out of this sir....

    If this is done everything of my project is done.....it is really urgent sir please...

    thanking you,
    vinay
    I think through programming its not possible. 15FPS is the speed of cam through native API not MMAPI.
    thanks,
    jitu_goldie..

    KEEP TRYING..

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Location
    India
    Posts
    208

    Re: How to capture more images per second....??

    The camera may need to be set on Burst mode. Is there any API supported to set this mode? Please check. Using normal mode you cannot snap more than a photo per sec.

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: How to capture more images per second....??

    Use

    javax.microedition.amms.control.camera
    Interface SnapshotControl
    All Superinterfaces:
    javax.microedition.media.Control

    --------------------------------------------------------------------------------

    public interface SnapshotControl extends javax.microedition.media.ControlSnapshotControl

    controls burst shooting with the camera. With this Control, it is possible to shoot multiple pictures with one method call in an efficient way.

    SnapshotControl stores the captured pictures in the file system. Initially, before any setDirectory method calls the storage directory is pointing to the default image store location of the implementing platform. That directory can be queried by getDirectory before setting a new directory.

    Images will be stored in the files system only if the application has rights to create files to the given directory. Rights are checked when the setDirectory method is called but it is possible that the rights are changed after that. In that case, a STORAGE_ERROR event will be posted if the application has no file creation rights when an attempt is made to store the captured image in the file system.

    The structure of the generated file name is <prefix><auto generated string><suffix>

    where

    prefix is a user given prefix String.
    auto generated string is a String generated automatically by the implementation. The generated String is a zero padded four digit running number starting from 0. Therefore, the sequence of generated Strings is "0000", "0001", "0002" etc. The length of the String increases if more digits are needed to represent the number so "9999" will be followed by "10000".
    suffix is a user given suffix String. Wanted file extension, like ".jpg", is part of the suffix.

    File name generation runs through the lifetime of the Player. In other words, it is not necessary to set the prefix before each call of the start method. Notice that it is likely that the naming method defined here differs from the naming system of the native imaging applications of the device.

    If the directory, where the files are stored, contains a file with the same name as the generated image file, the generated image file will not be written anywhere. A STORAGE_ERROR message with a the name of the file, whose writing failed, will be sent and capturing of the images will stop.

    Changing directory, prefix and suffix are effective when start is called. On-going burst shooting is not affected.
    Format of the stored pictures is set by ImageFormatControl. The default format is JPEG if it's supported

    thanks,
    ~Amitabh

    It will work if your traget device support:JSR 234 Advanced Multimedia Supplements 1.1 (camera)[1]

Similar Threads

  1. How to capture images in Sequence Mode in 3rd Edition?
    By narendar_discover in forum Symbian
    Replies: 1
    Last Post: 2009-09-10, 16:12
  2. Camera continuously capture images source code
    By sprateek in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2009-07-20, 21:40
  3. Image Size for Capture Images
    By Tobias_80 in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2006-08-08, 16:44
  4. Capture bigger images
    By xibaro in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2004-11-25, 22:23
  5. How to capture still images from a 3gp file
    By Digitale in forum Streaming and Video
    Replies: 0
    Last Post: 2004-06-30, 14:19

Posting Permissions

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