summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-11 18:35:24 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-11 20:21:04 +0100
commit15a8ad060653a521bcd175b495455a0e09377050 (patch)
tree03ffc76a92ba44aee55a7974de83973ec11d97c9 /tracker-aruco
parent2e946e830ae52b19973745b8d67915cd0d8c767b (diff)
cv/video-widget: make it work without opencv
Diffstat (limited to 'tracker-aruco')
-rw-r--r--tracker-aruco/CMakeLists.txt2
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp1
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.h2
3 files changed, 2 insertions, 3 deletions
diff --git a/tracker-aruco/CMakeLists.txt b/tracker-aruco/CMakeLists.txt
index bfa7a348..f34b7420 100644
--- a/tracker-aruco/CMakeLists.txt
+++ b/tracker-aruco/CMakeLists.txt
@@ -39,6 +39,6 @@ if(OpenCV_FOUND)
otr_module(tracker-aruco)
target_include_directories(${self} SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS} "${dir}")
- target_link_libraries(${self} opentrack-cv ${modules})
+ target_link_libraries(${self} opentrack-cv opentrack-video ${modules})
endif()
endif()
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 986eb943..8928566f 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -5,7 +5,6 @@
* copyright notice and this permission notice appear in all copies.
*/
-#include "cv/video-widget.hpp"
#include "ftnoir_tracker_aruco.h"
#include "cv/video-property-page.hpp"
#include "compat/camera-names.hpp"
diff --git a/tracker-aruco/ftnoir_tracker_aruco.h b/tracker-aruco/ftnoir_tracker_aruco.h
index 1d6fd107..0477c4da 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.h
+++ b/tracker-aruco/ftnoir_tracker_aruco.h
@@ -11,7 +11,7 @@
#include "options/options.hpp"
#include "cv/translation-calibrator.hpp"
#include "api/plugin-api.hpp"
-#include "cv/video-widget.hpp"
+#include "video/video-widget.hpp"
#include "compat/timer.hpp"
#include "aruco/markerdetector.h"