diff options
Diffstat (limited to 'tracker-easy/frame.hpp')
-rw-r--r-- | tracker-easy/frame.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tracker-easy/frame.hpp b/tracker-easy/frame.hpp index 2a221de3..ba5e45e3 100644 --- a/tracker-easy/frame.hpp +++ b/tracker-easy/frame.hpp @@ -15,13 +15,14 @@ struct Preview QImage get_bitmap(); void draw_head_center(Coordinates::f x, Coordinates::f y); - operator cv::Mat&() { return frame_copy; } - operator cv::Mat const&() const { return frame_copy; } + operator cv::Mat&() { return iFrameResized; } + operator cv::Mat const&() const { return iFrameResized; } private: static void ensure_size(cv::Mat& frame, int w, int h, int type); - cv::Mat frame_copy, frame_out; +public: + cv::Mat iFrameResized, frame_out; cv::Mat iFrameRgb; }; |