Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

How to get performance boost on Myriad X?

Blasutig__Robert
Beginner
416 Views

I'm using Ubuntu 16.04 on a UP Squared dual core Celeron 4/32 and I'm testing the Security Barrier Demo to see the speed increase going from a NCS 1 USB stick to the NCS 2 with the Myriad X processor. 

Performance appears identical.  Around 86ms for each device.

~/inference_engine_samples_build/intel64/Release$ ./security_barrier_camera_demo -i /opt/intel/computer_vision_sdk/deployment_tools/demo/car_1.bmp -m /opt/intel/computer_vision_sdk/deployment_tools/intel_models/vehicle-license-plate-detection-barrier-0106/FP16/vehicle-license-plate-detection-barrier-0106.xml -d MYRIAD

Output looks like this:

[ INFO ] InferenceEngine: 
	API version ............ 1.4
	Build .................. 17328
[ INFO ] Parsing input parameters
[ INFO ] Capturing video streams from the video files or loading images
[ INFO ] Files were added: 1
[ INFO ]     /opt/intel/computer_vision_sdk/deployment_tools/demo/car_1.bmp
[ INFO ] Number of input image files: 1
[ INFO ] Number of input video files: 0
[ INFO ] Number of input channels:    1
[ INFO ] Vehicle Attribs detection DISABLED
[ INFO ] License Plate Recognition detection DISABLED
[ INFO ] Loading plugin MYRIAD

	API version ............ 1.4
	Build .................. 17328
	Description ....... myriadPlugin
[ INFO ] Loading network files for VehicleDetection
[ INFO ] Batch size is forced to  1
[ INFO ] Checking Vehicle Detection inputs
[ INFO ] Checking Vehicle Detection outputs
[ INFO ] Loading Vehicle Detection model to the MYRIAD plugin
[ INFO ] Start inference 

Avarage inference time: 86.123 ms (11.6113 fps)

Total execution time: 4196.12

[ INFO ] Execution successful

Any advice on what I should do to see a change in performance?  I assume a detection network has all the ingredients necessary to exploit the increased performance of the Myriad X.

0 Kudos
1 Reply
Blasutig__Robert
Beginner
416 Views

My command line seems chopped, trying again...

./security_barrier_camera_demo -i /opt/intel/computer_vision_sdk/deployment_tools/demo/car_1.bmp -m /opt/intel/computer_vision_sdk/deployment_tools/intel_models/vehicle-license-plate-detection-barrier-0106/FP16/vehicle-license-plate-detection-barrier-0106.xml -d MYRIAD

0 Kudos
Reply