The following steps are how to install from source codes. If you wanna using prebuilt DLL, please see Windows exe installation .
Download Visual Studio 2017 from https://visualstudio.microsoft.com/ and install
Download CMake from https://cmake.org/ and install
1) Download MSYS2 from http://mirrors.ustc.edu.cn/msys2/distrib/x86_64/ and install
2) Add bin path to System PATH environment variable list
3) Install make
For more details you can reference OpenCV offical document (https://docs.opencv.org/3.4.2/d3/d52/tutorial_windows_install.html)
1) Go to OpenCV Sourceforge page http://sourceforge.net/projects/opencvlibrary/files/opencv-win/ 2) Choose a build you want to use and download it. For example 3.4.2/opencv-3.4.2-vc14_vc15.exe 3) Make sure you have admin rights. Unpack the self-extracting archive 4) To finalize the installation, go to set the OpenCV environment variable and add it to the systems path
Start up a command window and enter:
*Change the "D:\OpenCV" to your opencv unpack path*
Add OpenCV bin path to System PATH environment variable list
1) Download libjpeg-turbo from https://sourceforge.net/projects/libjpeg-turbo/files/ and install
2) Add bin path to System PATH environment variable list
Download All-in-one installers (PCL + dependencies) from: https://github.com/PointCloudLibrary/pcl/releases
Open "x64 Native Tools Command Prompt for VS 2017"(适用于 VS 2017 的 x64 本机工具命令提示) command shell
Note: Open the rectified image by default (Run vio need to raw image, run depth or points cloud need to rectified image.)
1) get_image shows the left and right camera image and colorful depthmap
2) get_depth shows the left camera image, 16UC1 depthmap and depth value(mm) on mouse pointed pixel
3) get_points shows the left camera image, 16UC1 depthmap and point cloud view
4) get_imu shows motion datas
5) get_img_params show camera intrinsics and save in file
6) get_imu_params show imu intrinsics and save in file
7) get_from_callbacks show image and imu data by callback
8) get_all_with_options open device with different options