summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy/point-extractor.h
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-04-24 23:34:36 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-24 23:34:36 +0200
commit4039631386ae84abbf476263b28c92d91ac23b81 (patch)
treef55a4139c1ef03e20a9d7dbf5948d7964fc6db3d /tracker-easy/point-extractor.h
parent77a469de95a498a4860b7da72b38508d40c2bede (diff)
Adding support for four points model.
Can't get it to work correctly though.
Diffstat (limited to 'tracker-easy/point-extractor.h')
-rw-r--r--tracker-easy/point-extractor.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tracker-easy/point-extractor.h b/tracker-easy/point-extractor.h
index 3c65b193..b037eed6 100644
--- a/tracker-easy/point-extractor.h
+++ b/tracker-easy/point-extractor.h
@@ -17,16 +17,13 @@
namespace EasyTracker
{
-
- const int KPointCount = 3;
-
class PointExtractor
{
public:
PointExtractor();
// extracts points from frame and draws some processing info into frame, if draw_output is set
// dt: time since last call in seconds
- void ExtractPoints(const cv::Mat& aFrame, cv::Mat* aPreview, std::vector<cv::Point>& aPoints);
+ void ExtractPoints(const cv::Mat& aFrame, cv::Mat* aPreview, int aNeededPointCount, std::vector<cv::Point>& aPoints);
// Settings
Settings s;