Namespace containing functions related to object detection operations using depth measures and images.
More...
|
struct | DepthObject |
| Represents a single depth object detection. Stores all information about a specific object detection. More...
|
|
Namespace containing functions related to object detection operations using depth measures and images.
- Author
- clayjay3 (clayt.nosp@m.onra.nosp@m.ycowe.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)
- Date
- 2023-10-07
◆ FindObjectCenter()
Given an DepthObject struct find the center point of the corners.
- Parameters
-
stObject | - The object to find the center of. |
- Returns
- cv::Point2f - The resultant center point within the image.
- Author
- jspencerpittman (jspen.nosp@m.cerp.nosp@m.ittma.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)
- Date
- 2023-10-20
68 {
69
71
72
74 {
75
76 cvCenter.x += cvCorner->x;
77 cvCenter.y += cvCorner->y;
78 }
79
80 cvCenter.x /= 4;
81 cvCenter.y /= 4;
82
83
84 return cvCenter;
85 }