* Update Document OpenCV Version

Azure Kinect Sensor SDK v1.4.0 and later has been tested with OpenCV 4.1.1.

* Remove unnecessary settings from CMakeLists

It is not necessary because settings of include directory for OpenCV is done with OpenCV_LIBS. It is redundant.
This commit is contained in:
Tsukasa Sugiura 2020-04-22 03:19:52 +09:00 коммит произвёл GitHub
Родитель 4e92a4c346
Коммит bf02b7f5f3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -1,5 +1,4 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
add_executable(green_screen main.cpp)
target_include_directories( green_screen PRIVATE ${OpenCV_INCLUDE_DIRS} )
target_link_libraries(green_screen PRIVATE k4a::k4a ${OpenCV_LIBS})

Просмотреть файл

@ -2,5 +2,4 @@
# Licensed under the MIT License.
add_executable(opencv_example main.cpp)
target_include_directories( opencv_example PRIVATE ${OpenCV_INCLUDE_DIRS} )
target_link_libraries(opencv_example PRIVATE k4a::k4a ${OpenCV_LIBS})

Просмотреть файл

@ -8,7 +8,7 @@ camera into pixel-coordinates of the depth camera. We then show how the same ope
OpenCV function projectPoints().
If the user has OpenCV installed, the OpenCV-specific code can be enabled by uncommenting the HAVE_OPENCV pound define. The
OpenCV code has been tested using OpenCV 4.0.1.
OpenCV code has been tested using OpenCV 4.1.1.
## Usage Info