rmcv  v0.1.0
A library for RoboMaster computer vision based on OpenCV.
Public Member Functions | Public Attributes | List of all members
rm::LightBlob Class Reference

Public Member Functions

 LightBlob ()=default
 Width and height of the light blob.
 
 LightBlob (cv::RotatedRect box, rm::CampType camp=rm::CAMP_NEUTRAL)
 

Public Attributes

float angle = 0
 
rm::CampType camp = rm::CAMP_NEUTRAL
 Rotation angle of the light blob (vertical when the angle is 90)
 
cv::Point2f center
 Camp this light blob belongs to.
 
cv::Point2f vertices [4]
 Mass center of the light blob.
 
cv::Size2f size
 Four vertices around the light blob.
 

The documentation for this class was generated from the following files: