summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/wii_point_extractor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-wii/wii_point_extractor.h')
-rw-r--r--tracker-wii/wii_point_extractor.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/tracker-wii/wii_point_extractor.h b/tracker-wii/wii_point_extractor.h
index be0e5f45..a72ba861 100644
--- a/tracker-wii/wii_point_extractor.h
+++ b/tracker-wii/wii_point_extractor.h
@@ -21,18 +21,14 @@ using namespace types;
class WIIPointExtractor final : public pt_point_extractor
{
public:
- // extracts points from frame and draws some processing info into frame, if draw_output is set
- // dt: time since last call in seconds
void extract_points(const pt_frame& frame, pt_preview& preview_frame, std::vector<vec2>& points) override;
WIIPointExtractor(const QString& module_name);
-private:
- static constexpr int max_blobs = 16;
+private:
pt_settings s;
- void _draw_point(cv::Mat& preview_frame, const vec2& p, const cv::Scalar& color, int thinkness = 1);
- bool _draw_points(cv::Mat& preview_frame, const struct wii_info &wii, std::vector<vec2>& points);
- void _draw_bg(cv::Mat& preview_frame, const struct wii_info &wii);
+ void draw_point(cv::Mat& preview_frame, const vec2& p, const cv::Scalar& color, int thickness = 1);
+ bool draw_points(cv::Mat& preview_frame, const struct wii_info& wii, std::vector<vec2>& points);
+ void draw_bg(cv::Mat& preview_frame, const struct wii_info& wii);
};
} // ns impl
-