utils library

Extensions

MatrixUtils on Mat
Useful methods on OpenCV images.
Uint8ToMat on Pointer<Uint8>
Converts raw data in native memory to an OpenCV image.
VideoCaptureUtils on VideoCapture
Useful methods to adjust settings of an OpenCV video device.

Properties

cameraIndexes Map<CameraName, int>
Map for WINDOWS devices
getter/setter pair
cameraNames Map<CameraName, String>
These list maps OpenCV IDs (index) to CameraNames.
getter/setter pair

Functions

detectAndAnnotateFrames(Mat image) Future<void>
Detect ArUco tags in the cv::aruco::DICT_4X4_50 dictionary and annotate them
getCamera(CameraName name) VideoCapture
Returns the camera depending on device program is running
getDefaultDetails(CameraName name) → CameraDetails
Default details for a camera
getRealsenseDetails(CameraName name) → CameraDetails
Default details for the RealSense camera.