0

I use openVINO R5 2018.5.445. I successfully installed all the software and dependencies for ubuntu 18.04. The test was successful as well. However, the sample models I am trying to run won't build. I followed the full documentation. Using the following commands:

cmake -DCMAKE_BUILD_TYPE=Release

(https://software.intel.com/en-us/articles/OpenVINO-InferEngine > Using Inference Engine Samples).

How should I Build the samples?

Jop Knoppers
  • 676
  • 1
  • 10
  • 22

2 Answers2

1

To Build samples in custom location/path/directory :

cd /opt/intel/computer_vision_sdk/inference_engine/samples   
mkdir build  
cd build CMAKE ..   
make 

By default, -DCMAKE_BUILD_TYPE takes RELEASE.

Adrian Mole
  • 49,934
  • 160
  • 51
  • 83
mahinlma
  • 1,208
  • 3
  • 11
  • 24
  • Is there any way to open the samples in eclipse or any other ide so that we can modify it a bit and rebuild – S Andrew Oct 16 '19 at 04:19
0

I ended up doing the following:

cd /opt/intel/computer_vision_sdk/inference_engine/samples

And then:

sudo ./build_samples.sh

I can now run models (in this case pose estimation) using this command:

./human_pose_estimation_demo -m /opt/intel/computer_vision_sdk_2018.5.445/deployment_tools/intel_models/human-pose-estimation-0001/FP32/human-pose-estimation-0001.xml
Jop Knoppers
  • 676
  • 1
  • 10
  • 22
  • Is there any way to open the samples in eclipse or any other ide so that we can modify it a bit and rebuild – S Andrew Oct 16 '19 at 04:19
  • @SAndrew not that I know of, you can, however, run the model and get its output, using: `./{executable} -m {model} -r -i {stream}`, maybe you can modife this to get the desired result. Example: `./human_pose_estimation_demo -m /opt/intel/computer_vision_sdk_2018.5.445/deployment_tools/intel_models/human-pose-estimation-0001/FP32/human-pose-estimation-0001.xml -r -i /dev/video0` – Jop Knoppers Oct 16 '19 at 06:54
  • After running build_samples.sh I don't have a human_pose_estimation_demo file over there. – user1007522 Dec 11 '19 at 07:39