Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 843 Bytes

File metadata and controls

32 lines (22 loc) · 843 Bytes

tutorials

See the details in https://sensing-dev.github.io/doc/next/tutorials/intro/index.html

Windows(C++)

You can use CMake to build each tutorials.

cd cpp
mkdir build && cd build
cmake ../
cmake --build . --config Release

If you did not OpenCV with Sensing-Dev installer script, you need to set -DOpenCV_DIR to specify <where you installed opencv>/build as follows:

cmake -DOpenCV_DIR=<where you installed opencv>/build ../
cmake --build . --config Release

As a default, it build all tutorials. To build a specific tutorial, add the option of -DBUILD_TUTORIAL; for example,

cmake -DOpenCV_DIR=<where you installed opencv>/build -DBUILD_TUTORIAL=tutorial0_get_device_info ../
cmake --build . --config Release

Linux(C++)

You may find the compile command at the top of each cpp file.