image_detection.md

April 2, 2018 ยท View on GitHub

Detection for Image

This project supports multiple devices and multiple CNN models for classification. By default, maximum number of devices will be used in inference.
Please make sure you have already set up environment and installed this project correctly. You can refer to the following links for your interested models then.

1 CNN Models

2 Other Arguments


1 CNN Models

Compile NCS graph.

cd /opt/movidius/ncappzoo/caffe/SSD_MobileNet
make

Launch object detection service.

roslaunch movidius_ncs_launch ncs_image.launch cnn_type:=mobilenetssd

Launch the example application on another console. For example,

roslaunch movidius_ncs_launch ncs_image_detection_example.launch demo_mode:=0 image_base_path:=<absolute-image-directory>

Compile NCS graph.

cd /opt/movidius/ncappzoo/caffe/TinyYolo
make

Launch object detection service.

roslaunch movidius_ncs_launch ncs_image.launch cnn_type:=tinyyolo_v1

Launch the example application on another console. For example,

roslaunch movidius_ncs_launch ncs_image_detection_example.launch demo_mode:=0 image_base_path:=<absolute-image-directory>

2 Other Arguments

ArgumentsDescriptionDefault ValueValid Values
device_indexncs device index00~N-1(N is the maximum number of inserted NCS devices)
log_levelncs log level00:Nothing / 1:Errors / 2:Verbose
cnn_typeindicate different cnn modelstinyyolo_v1tinyyolo_v1 / mobilenetssd
demo_modethe display mode of processed results0:sequentially output all results 1: display random results in infinite loop0, 1
image_base_pathdirectory of images to be inferred"/opt/movidius/ncappzoo/data/images/"