Fast camera capture

I will describe here a small trick to capture images of the camera at a decent speed ~20 fps. People who used the “getSnapshot” know that it is very slow!

You can see here the result speed for the Nokia 6600 Camera Speed Evaluation

I have used this technique into my game Antar
It works with all Nokia phones with the “Nokia UI API”. (3600,3650,6600,6260)

The principe is simple, you set a “VideoControl” into a canvas after that, inside the paint method you can capture the image data using “getPixels” (Nokia UI).
The disadvantage of this method it’s that the “VideoControl” must be visible to be able to acquire the pixels but it can be a good workaroud to speed up your application..

One Response to “Fast camera capture”

  1. Yair says:

    Hi Roberto

    can you send me an example of this method

    thanks

Leave a Reply