JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
Functions | |
jevois::JEVOIS_DEFINE_ENUM_CLASS (CameraSensor,(any)(imx290)(os08a10)(ar0234)) | |
Enum for different sensor models. | |
jevois::JEVOIS_DEFINE_ENUM_CLASS (CameraLens,(standard)(custom1)(custom2)(custom3)(custom4)(custom5)) | |
bool | jevois::sensorSupportsFormat (CameraSensor s, VideoMapping const &m) |
Check whether a given resolution and frame rate is supported by a sensor. | |
bool | jevois::sensorHasIMU (CameraSensor s) |
Check whether sensor has an IMU (inertial measurement unit) | |
void | jevois::sensorPrepareSetFormat (CameraSensor s, VideoMapping const &m, unsigned int &capw, unsigned int &caph, int &preset) |
Load a sensor preset (JeVois-Pro only) and return native sensor grab dims (when cropping and/or scaling) | |
jevois::JEVOIS_DEFINE_ENUM_CLASS | ( | CameraLens | , |
(standard)(custom1)(custom2)(custom3)(custom4)(custom5) | |||
) |
jevois::JEVOIS_DEFINE_ENUM_CLASS | ( | CameraSensor | , |
(any)(imx290)(os08a10)(ar0234) | |||
) |
Enum for different sensor models.
Use 'any' when you either don't know (e.g., running in host mode with an unknown dumb USB webcam), or when you don't care (e.g., we use 'any' in jevois-add-videomapping so that it will always succeed).
Here, we also define a CameraLens enum that is used for camera calibration.
bool jevois::sensorHasIMU | ( | CameraSensor | s | ) |
Check whether sensor has an IMU (inertial measurement unit)
Definition at line 279 of file CameraSensor.C.
Referenced by jevois::Engine::postInit().
void jevois::sensorPrepareSetFormat | ( | CameraSensor | s, |
VideoMapping const & | m, | ||
unsigned int & | capw, | ||
unsigned int & | caph, | ||
int & | preset | ||
) |
Load a sensor preset (JeVois-Pro only) and return native sensor grab dims (when cropping and/or scaling)
Referenced by jevois::Camera::setFormat().
bool jevois::sensorSupportsFormat | ( | CameraSensor | s, |
VideoMapping const & | m | ||
) |
Check whether a given resolution and frame rate is supported by a sensor.
Returns true if the sensor is capable of capturing video at the given format, resolution, and frame rate.