omv
— OpenMV Cam Information¶
The omv
module is used to get OpenMV Cam information.
Functions¶
- omv.arch() str ¶
Returns the board architecture string. This string is really just meant for OpenMV IDE but you can get it with this function.
- omv.board_type() str ¶
Returns the board type string. This string is really just meant for OpenMV IDE but you can get it with this function.
- omv.board_id() str ¶
Returns the board id string. This string is really just meant for OpenMV IDE but you can get it with this function.
- omv.disable_fb(disable: bool | None = None) bool ¶
When
disable
is set toTrue
the OpenMV Cam will no longer jpeg compress images and stream them to OpenMV IDE. The IDE may still poll for images unlessDisable FB
is checked in OpenMV IDE. You may wish to disable the frame buffer when streaming images over to another system while debugging you script with OpenMV IDE. If no arguments are passed this function will returnTrue
if the frame buffer is disabled andFalse
if not.Note
This is a different flag than the
Disable FB
button in OpenMV IDE.