diff options
Diffstat (limited to 'tracker-trackhat')
-rw-r--r-- | tracker-trackhat/extractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-trackhat/extractor.cpp b/tracker-trackhat/extractor.cpp index 5e50b4b4..aa4d38ef 100644 --- a/tracker-trackhat/extractor.cpp +++ b/tracker-trackhat/extractor.cpp @@ -20,7 +20,7 @@ void trackhat_extractor::extract_points(const pt_frame& data, if (pt.m_brightness == 0) continue; constexpr int sz = trackhat_camera::sensor_size; - auto [ x, y ] = to_screen_pos(pt.m_x, pt.m_y, sz, sz); + auto [ x, y ] = to_screen_pos(sz-1-pt.m_x, pt.m_y, sz, sz); points.push_back({x, y}); } } |