#include <otCamera.h>
Public Types | |
enum | CameraType { CM_STANDARD, CM_CELERA, CM_TIZIANO } |
Public Member Functions | |
otCamera () | |
void | init (U8 camId) |
void | grab (otImage &img, int timerId=-1, bool adjust=true) |
void | grabStart (otImage &img, int timerId=-1) |
bool | grabIsDone (otImage &img, int timerId=-1) |
void | standby (bool ena) |
void | dataAlignment (otImage &image) |
|
|
|
Create the class |
|
This function is used only with the TIZIANO camera. Unfortunately the PYTHON1300 sensor, used on the TIZIANO camera, produces in output a sequence of digitized pixels not with the expected order. See the chapter DATA OUTPUT FORMAT on the data sheet. This function remedies this problem. This feature has a very heavy impact on processing times, for critical cases use on a higher performing remote system. By setting the processor to an operating frequency of 525MHz with a peripheral frequency of 131MHz, we obtain a capture time at full resolution (1280x1024) of 22.5 ms, while it takes 136 ms to correct it.
|
|
Grab an image(s) according to img class set
|
|
Return true if the starting image grab is done.
|
|
Begins capturing an image but does not wait for it to complete.
|
|
Init the library
|
|
Set camera power down or restart it
|