×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    1

    Getting a snapshot few times per second

    Hi, I need to capture an image from the camera on my device few times per second. The image after some processing will be used to track the device movement, so the number of snapshots per second should be at least 3-4.

    My device is: Nokia 6220 Classic ( S60 3rd Edition, Feature Pack 2 )
    http://www.forum.nokia.com/Devices/D.../6220_classic/

    Right now I use:
    Code:
    Manager.createPlayer("capture://video");
    to activate the camera and then
    Code:
    videoControl = (VideoControl)player.getControl("VideoControl");
    byte[] raw = videoControl.getSnapshot(null);
    to take a snapshot, but it takes too much time for every snapshot to achieve mentioned rate of 4 pics per second. Each time I make a snapshot it looks like the camera is trying to set up the focus, so it takes a while. It also plays sound, which I would really like to turn off somehow.

    Is there any way to speed it up a little? I really don't need this image to be good quality. It could be just a single frame from the captured video (like when the image from the camera is displayed live on a canvas), but I can't find any solution how to do it.

    Thanks,
    Andrew

  2. #2
    Registered User
    Join Date
    Jan 2010
    Location
    India
    Posts
    37

    Re: Getting a snapshot few times per second

    capturing an image and its speed is depends on mobile phone which you are using

    Normally what the ration you have told 3-4 image per sec is not possible......

Similar Threads

  1. use dll several times
    By lkz633 in forum Symbian
    Replies: 2
    Last Post: 2006-07-10, 06:20
  2. Snapshot
    By bgrafael in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2005-03-09, 13:11
  3. How to SubmitL many times?
    By gorbag in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2005-01-21, 13:14
  4. SnapShot
    By mymymymy in forum General Messaging
    Replies: 0
    Last Post: 2003-08-13, 03:07
  5. Different times...
    By vihopaiv in forum Mobile Java General
    Replies: 3
    Last Post: 2003-08-06, 22:04

Posting Permissions

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