summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face
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-kinect-face
parent2e946e830ae52b19973745b8d67915cd0d8c767b (diff)
cv/video-widget: make it work without opencv
Diffstat (limited to 'tracker-kinect-face')
-rw-r--r--tracker-kinect-face/CMakeLists.txt5
-rw-r--r--tracker-kinect-face/kinect_face_tracker.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/tracker-kinect-face/CMakeLists.txt b/tracker-kinect-face/CMakeLists.txt
index 8e171a19..9cfede4d 100644
--- a/tracker-kinect-face/CMakeLists.txt
+++ b/tracker-kinect-face/CMakeLists.txt
@@ -1,7 +1,6 @@
# Kinect SDK is Windows only
if (WIN32 AND opentrack-intel)
- find_package(OpenCV QUIET)
- if(OpenCV_FOUND)
+ if(TRUE)
# Setup cache variable to Kinect SDK path
set(SDK_KINECT20 "$ENV{KINECTSDK20_DIR}" CACHE PATH "Kinect SDK path")
# If we have a valid SDK path, try build that tracker
@@ -29,7 +28,7 @@ if (WIN32 AND opentrack-intel)
# Link against Kinect SDK libraries
target_link_libraries(${self} "${SDK_KINECT20}/lib/${kinect-arch-dir}/Kinect20.lib" "${SDK_KINECT20}/lib/${kinect-arch-dir}/Kinect20.Face.lib")
# Link against OpenCV stuff, needed for video preview
- target_link_libraries(${self} opentrack-cv)
+ target_link_libraries(${self} opentrack-video)
# Install Kinect Face DLL
install(FILES "${SDK_KINECT20}/Redist/Face/${kinect-arch-dir}/Kinect20.Face.dll" DESTINATION "${opentrack-hier-pfx}" PERMISSIONS ${opentrack-perms-exec})
diff --git a/tracker-kinect-face/kinect_face_tracker.h b/tracker-kinect-face/kinect_face_tracker.h
index 6273cba1..672047b1 100644
--- a/tracker-kinect-face/kinect_face_tracker.h
+++ b/tracker-kinect-face/kinect_face_tracker.h
@@ -6,7 +6,7 @@
#include "api/plugin-api.hpp"
#include "compat/timer.hpp"
#include "compat/macros.hpp"
-#include "cv/video-widget.hpp"
+#include "video/video-widget.hpp"
// Kinect Header files
#include <Kinect.h>