$search
#include "cob_vision/cob_people_detection/common/include/cob_people_detection/PeopleDetector.h"
#include "cob_vision/cob_people_detection/common/include/cob_people_detection/PeopleDetectorControlFlow.h"
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
Go to the source code of this file.
Functions | |
template<typename T > | |
T | abs_ (T x) |
bool | checkRectangleCorrespondence (cv::Rect >, cv::Rect &measurement, double areaRatioThreshold) |
int | main (int argc, char *argv[]) |
T abs_ | ( | T | x | ) | [inline] |
Definition at line 21 of file HaardetectorUnitTest.cpp.
bool checkRectangleCorrespondence | ( | cv::Rect & | gt, | |
cv::Rect & | measurement, | |||
double | areaRatioThreshold | |||
) |
Checks whether two rectangles are located at approximately the same position. E.g. for comparisons between a ground truth localization and the measurement.
gt | Ground truth rectangle. | |
measurement | The measured rectangle or any rectangle for comparison. | |
areaRatioThreshold | The ratio of overlapping area to ground truth area or to detected area must not fall below this threshold otherwise it is no detection. |
Definition at line 32 of file HaardetectorUnitTest.cpp.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 51 of file HaardetectorUnitTest.cpp.