Image capture: Nokia N95 (keywords: camera, still image, format, size, size index, PrepareImageCaptureL, TCameraInfo)
| Thu, 2008-02-21 02:59 | |
|
In order to use high quality visual features (e.g. for text recognition) one should use image capture as opposed to video Before one initializes Image Capture in PowerOnComplete() function a proper combination of format and size index For example, a maximum resolution available is 5M which corresponds to 2592x1944 pixels, Table 1. Formats and resolution for frames in still image mode on Nokia N95. The data in the table correspond to ----------------------------------------------------------------------------------------------------------------------------------------------------------- EFormatExif (JPEG) 0, 1, 2, 3, 4 EFormatFbsBitmapColor4K - - - 3, 4 EFormatFbsBitmapColor64K - - - 3, 4 EFormatFbsBitmapColor16M - - - 3, 4 The code below checks a combination of format and sizes: // pick up a format you are interested in // get information about the camera // all non-zero sizes returned are supported for the format specified // now to use the format/size, say, 16M/1024x768 call in PowerOnComplete() Best regards, Vladimir |
|





