diff options
author | Wei Shuai <cpuwolf@gmail.com> | 2018-02-07 12:05:03 +0800 |
---|---|---|
committer | Wei Shuai <cpuwolf@gmail.com> | 2018-02-07 12:05:03 +0800 |
commit | 993e6b18966af927563398e04c516a6fcafd8123 (patch) | |
tree | 70a560a701429dabf624e545a4201f92e45ad087 /tracker-wii/wii_frame.hpp | |
parent | 84a143aa1b9654e4133cb19016c3a95fbfb57bf2 (diff) |
tracker/wii: enhance user friendly UI
1. add wii status wii_cam_wait_for_sync
2. add images show how user should do in preview window
3. reduce redundancy convertion about QImage
by doing in WIIPreview Class
Diffstat (limited to 'tracker-wii/wii_frame.hpp')
-rw-r--r-- | tracker-wii/wii_frame.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-wii/wii_frame.hpp b/tracker-wii/wii_frame.hpp index 2bffa862..3ad23734 100644 --- a/tracker-wii/wii_frame.hpp +++ b/tracker-wii/wii_frame.hpp @@ -16,7 +16,7 @@ namespace pt_module { -enum wii_camera_status : unsigned { wii_cam_wait_for_connect, wii_cam_data_no_change, wii_cam_data_change }; +enum wii_camera_status : unsigned { wii_cam_wait_for_sync, wii_cam_wait_for_connect, wii_cam_data_no_change, wii_cam_data_change }; struct wii_info_points { unsigned ux; @@ -59,6 +59,7 @@ private: bool fresh = true; cv::Mat frame_copy, frame_color, frame_resize, frame_out; + wii_camera_status status; }; } // ns pt_module |