Documentation / Gemini 330 series /
Windows Installation guidance

Windows Installation guidance

Windows environment configuration

1. Install a private driver

A private driver must be installed on the openni device. The Directory of the openni private driver is as follows: Double-click the following. exe image directory to install the driver.

 2. Configure OpenCV(Examples dependencies)

Data rendering depends on the third-party library OpenCV. Here, use OpenCV 4.3.0 as an example to demonstrate the installation configuration.

* Run the OpenCV installation file, select the directory to install opencv, and click extract to install it.

* Add the path of OpenCV to the environment variable of the system. Enter OpenCV_DIR as the variable name. Note the case of letters. The variable value is the path of the build folder in the installation directory of OpenCV.

 

3. metadata timestamp registration

Now, because Windows system mechanism, for UVC devices, if you need to obtain metadata information such as timestamps, you need to register with the registry first. You can execute obsensor_metadata_win10 according to the obsensor_metadata_win10.md document.The ps1 script is automatically completed.

 

4. Get OrbbecSDK

Download link:https://github.com/orbbec/OrbbecSDK/releases

 

5. Windows compilation instructions

Software dependencies: VisualStudio2019, cmake 3.10, and later

* Download/obtain our SDK package. Take version 1.5.7 as an example to describe how to compile windows.

* Open Cmake, set “Examples”, Folder as code path, and “build” under “Examples”, Folder as path to generate binary files, as shown in the following figure. If there is no build under the Examples, you need to create a new folder.

![image5](Image/orbbec_sample_005.png)

* Click “Configure”, select the corresponding Visual Studio version and platform version, and then click “Finish”, as follows:

* Click “Generate” as follows:

* You can open the Sample project in either of the following ways

Method 1: click the “Open Project” button through cmake to Open the Visual Studio Project

Method 2: Use the folder to Examples the Visual Studio project in/build, as shown in the following figure:

 

* Open the Examples project interface as follows:

* Select the project you want to run, right-click it and set it to start Project, and select release and 64-bit version in the run options.

* Connect the device to the host.

* Copy the dll files and configuration files in the bin directory to the bin path generated by compilation.

* Run OBHelloOrbbec project. The results are as follows. The first Example has been successfully run.

 

Stay updated

Be the first to learn about our new
products and updates.