1 #ifndef TARGETDETECTOR_H
2 #define TARGETDETECTOR_H
10 #include <opencv2/imgproc/imgproc.hpp>
86 bool filterContours();
106 vector<vector<Point> > contours, validContours;
107 vector<Vec4i> hierarchy;
109 bool shouldFilterContours;
int xPos
The X position of the start point of the line.
Definition: TargetDetector.h:18
Vision processing/target acquisition code.
Definition: TargetDetector.h:60
Rotated clockwise.
Definition: TargetDetector.h:32
rotation_t
Rotation direction.
Definition: TargetDetector.h:29
rotation_t rotation
Rotation direction of the target.
Definition: TargetDetector.h:45
Result returned from TargetDetector::getContours()
Definition: TargetDetector.h:38
Rotated anticlockwise.
Definition: TargetDetector.h:30
float width
Combined width of the bounding boxes of the targets - goes from 0.0f to 100.0f.
Definition: TargetDetector.h:43
float xPos
Centeral X position of the target - goes from -100.0f to 100.0f, 0.0f being centered.
Definition: TargetDetector.h:42
int thresholdVal
Threshold value for cuttoff when running prepareImage.
Definition: TargetDetector.h:102
For comparison of lines.
Definition: TargetDetector.h:17
Not rotated.
Definition: TargetDetector.h:31
struct LineResult LineResult
Result returned from TargetDetector::getContours()