diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-12-25 16:54:55 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-12-25 16:54:55 +0900 |
commit | bdecd54715fe22d7f2ceef70a749588ea7c725f2 (patch) | |
tree | 55ab1f4bac2926f96339985d96eb59959e5c94a6 /app/camera.h | |
parent | dec39c27fec4a697e55e3e9a7abf95fa8708db43 (diff) |
use camera index from endsandbox/zheng_wenlong/ces2019_horizontal
Diffstat (limited to 'app/camera.h')
-rw-r--r-- | app/camera.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/camera.h b/app/camera.h index 6d5d17c..11b5e82 100644 --- a/app/camera.h +++ b/app/camera.h @@ -21,9 +21,11 @@ #include <QTimer> #include <QImage> #include <QQuickPaintedItem> +#include <opencv2/videoio.hpp> #include <iostream> -#include <opencv2/core/core.hpp> -#include <opencv2/highgui/highgui.hpp> +#include <opencv2/core.hpp> +#include <opencv2/imgcodecs.hpp> +#include <opencv2/highgui.hpp> using namespace std; @@ -48,7 +50,6 @@ public: signals: void isrunningChanged(const bool& isrunning); - void camraCntChanged(const QVariantList& camcnt); public slots: void grab(); @@ -60,8 +61,6 @@ private: cv::VideoCapture* capture; QVariantList cam_arr; - - int camnumbackup; int camcnt; }; |