Header.
More...
#include <BlobParams.h>
#include <LedMeasurement.h>
#include <opencv2/core/core.hpp>
#include <algorithm>
#include <vector>
Go to the source code of this file.
|
| osvr |
| The main namespace for all C++ elements of the framework, internal and external.
|
|
|
using | osvr::vbtracker::ContourType = std::vector< cv::Point2i > |
|
using | osvr::vbtracker::ContourList = std::vector< ContourType > |
|
Header.
- Date
- 2016
- Author
- Sensics, Inc. http://sensics.com/osvr
§ getBlobDataFromContour()
BlobData osvr::vbtracker::getBlobDataFromContour |
( |
ContourType const & |
contour | ) |
|
because argument evaluation order is not defined.
§ getConvexity()
double osvr::vbtracker::getConvexity |
( |
ContourType const & |
contour, |
|
|
const double |
area |
|
) |
| |
Returns a value in [0, 1] that is the ratio of the contour's area as provided to the area of the contour's convex hull.