Contains most of the logic for live-tracking objects.
More...
#include <KFBallTracker.hpp>
|
void | setClipShape (QPolygonF shape) |
| Set the clipping shape for tracking.
|
|
void | toggleClip (bool clip) |
| Set whether we should clip tracking.
|
|
|
void | ballSpotted (TrackingBall) |
| Emit a TrackingBall when a ball is spotted in the frame.
|
|
void | ballPredicted (KFPrediction) |
| Emit a KFPrediction when the KF makes a prediction about the ball location.
|
|
void | ballLost () |
| Emitted when the ball is lost.
|
|
void | personSpotted (QRect) |
| Emitted when a person is spotted; unused.
|
|
void | threshReady (const cv::Mat &, enum ColorSpace) |
| Emitted when a thresh image is ready to be converted.
|
|
void | contourReady (const cv::Mat &, enum ColorSpace) |
| Emitted when a contour image is ready to be converted.
|
|
void | blurReady (const cv::Mat &, enum ColorSpace) |
| Emitted when a blur image is ready to be converted.
|
|
|
int | mBlobRad |
| Unused.
|
|
int | mLatency |
| Unused.
|
|
BallTrackingFilter | mBallFilter |
| Tracking filter for ball objects in the frame.
|
|
PersonTrackingFilter | mPersonFilter |
| Tracking filter for people in the frame (to ignore!); unused.
|
|
QVector< cv::Mat > | mFrameHistory |
| History of frames possibly used for tracking (eg 3-way-diff)
|
|
cv::Mat | mOldDiff |
| Previous frame diff of history (stored to avoid a duplicate diff)
|
|
double | mBlurSize |
| Strength of the Gaussian blur in the blur step of preprocessing.
|
|
double | mThreshVal |
| Minimum white value for the thresholding step.
|
|
double | mMinRadius |
| Minimum radius of blobs to consider.
|
|
double | mMaxRadius |
| Maximum radius of blobs to consider.
|
|
QPolygonF | mClipShape |
| If mClipTrack, only consider blobs within this polygon.
|
|
bool | mClipTrack = false |
| Whether to only consider blobs in mClipShape.
|
|
Contains most of the logic for live-tracking objects.
Recieves a frame (as cv::Mat) and uses it (and its own internal state) to identify a moving projectile ball and emit them (as TrackingBall and as KFPrediction)
QList< cv::Rect > KFBallTracker::findPeople |
( |
cv::Mat & |
frame | ) |
|
|
protected |
Find people in a frame; unused.
double KFBallTracker::kalmanDistance |
( |
cv::Mat |
measurement | ) |
|
Kalman distance; see BallFilter.kalmanDistance(); unused.
The documentation for this class was generated from the following files: