diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-13 18:20:56 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-13 18:20:56 +0200 |
commit | 2db8470c4a26f0662927d3f96e306b7c56d85264 (patch) | |
tree | fdb73dbad1454c055a60a04678b2d22052c345ca | |
parent | e92a485abf7202af054771793c3551cb3317ec1f (diff) |
tracker/wii: fix typo
-rw-r--r-- | tracker-wii/wii_point_extractor.cpp | 6 | ||||
-rw-r--r-- | tracker-wii/wii_point_extractor.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tracker-wii/wii_point_extractor.cpp b/tracker-wii/wii_point_extractor.cpp index 89e4b41b..564c5ad0 100644 --- a/tracker-wii/wii_point_extractor.cpp +++ b/tracker-wii/wii_point_extractor.cpp @@ -38,7 +38,7 @@ WIIPointExtractor::WIIPointExtractor(const QString& module_name) : s(module_name } //define a temp draw function -void WIIPointExtractor::_draw_point(cv::Mat& preview_frame, const vec2& p, const cv::Scalar& color, int thinkness) +void WIIPointExtractor::_draw_point(cv::Mat& preview_frame, const vec2& p, const cv::Scalar& color, int thickness) { static constexpr int len = 9; @@ -49,12 +49,12 @@ void WIIPointExtractor::_draw_point(cv::Mat& preview_frame, const vec2& p, const cv::Point(p2.x - len, p2.y), cv::Point(p2.x + len, p2.y), color, - thinkness); + thickness); cv::line(preview_frame, cv::Point(p2.x, p2.y - len), cv::Point(p2.x, p2.y + len), color, - thinkness); + thickness); }; bool WIIPointExtractor::_draw_points(cv::Mat& preview_frame, const struct wii_info &wii, std::vector<vec2>& points) diff --git a/tracker-wii/wii_point_extractor.h b/tracker-wii/wii_point_extractor.h index 452d8e92..dc3c5e44 100644 --- a/tracker-wii/wii_point_extractor.h +++ b/tracker-wii/wii_point_extractor.h @@ -29,7 +29,7 @@ private: static constexpr int max_blobs = 16; pt_settings s; - void _draw_point(cv::Mat& preview_frame, const vec2& p, const cv::Scalar& color, int thinkness = 1); + 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); }; |