Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

define function getHeader() [#issue122] #123

Closed
wants to merge 86 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
a10905f
fix README and config issues
chaoli2 May 5, 2019
0e0cdea
support multi-pipeline from different input & a visualization tool in…
RachelRen05 May 8, 2019
8114785
Merge pull request #37 from luyang00/devel
chaoli2 May 21, 2019
dc53220
support yolov2 and more networks
chaoli2 May 21, 2019
7c2b8b5
Merge pull request #39 from chaoli2/support_yolov2_and_more
chaoli2 May 21, 2019
2fc6785
result filter enabled
chaoli2 May 21, 2019
385b2c3
Merge pull request #40 from chaoli2/add_result_filtering
chaoli2 Jul 18, 2019
bfe86ab
support face reidentification model
luyang00 Jul 23, 2019
30603ed
support person attribute detection
luyang00 Jul 23, 2019
d5ec522
support vehicle & license plate detection
luyang00 Jul 24, 2019
ec395d1
add suport landmarks detection & fix vehicle attribute detection
luyang00 Nov 5, 2019
7ca223a
fix landmark detection
luyang00 Nov 5, 2019
78d25ec
update readme & remove an useless log
luyang00 Nov 5, 2019
78714ff
readme update
luyang00 Nov 5, 2019
1e70f8d
readme update
luyang00 Nov 5, 2019
f2aec74
readme update
luyang00 Nov 5, 2019
d5d38e8
Merge pull request #53 from luyang00/devel
LewisLiuPub Nov 7, 2019
ca96a5b
enable engine manager
luyang00 Nov 7, 2019
59c0d91
code refector for pipeline manager
luyang00 Nov 7, 2019
9c1cddd
remove factory.cpp
luyang00 Nov 8, 2019
d138dd9
bug fix for c++11
luyang00 Nov 8, 2019
c98652d
update object_segmentation model for 2019_R3
luyang00 Nov 12, 2019
9848b09
code refactor
luyang00 Nov 12, 2019
a9f98fa
delete useless files
RachelRen05 Nov 15, 2019
60dd3ed
update readme and script
RachelRen05 Nov 15, 2019
015dfc6
update config files
RachelRen05 Nov 15, 2019
335e98f
Merge pull request #54 from RachelRen05/update_pro
chaoli2 Nov 19, 2019
3ce01e9
add return value for object segmentation & slove warning for segmenta…
luyang00 Nov 19, 2019
47969a3
Merge remote branch 'devel' into devel: bug fix & code refactor
luyang00 Nov 19, 2019
e7dfdd9
fix ImageWindowOuput
luyang00 Nov 19, 2019
3b57aff
fix service & vehicle detection
luyang00 Nov 19, 2019
b793601
Merge pull request #55 from luyang00/devel
LewisLiuPub Dec 3, 2019
ba16b57
enable github action
congliu0913 Dec 30, 2020
adf10ad
update inputs headers to align with ROS2 code and openvino.2020.3
LewisLiuPub Dec 30, 2020
ea0ccec
update enginers headers to align with ROS2 and ov.2020.3
LewisLiuPub Dec 30, 2020
9e94347
update engine code to align with ROS2 and ov2020.3
LewisLiuPub Dec 30, 2020
fcfc641
update inputs code to align with ROS2 and ov2020.3
LewisLiuPub Dec 31, 2020
59229e2
update cmake minimum version to v3.0.2
LewisLiuPub Jan 2, 2021
f558383
remove the dependency to ENV MACROs for sameple package.
LewisLiuPub Jan 4, 2021
c49c150
aligin inference code structure with ROS2 and OV2020.3
LewisLiuPub Jan 4, 2021
8cde81a
align models code structure with ROS2 and OV2020.3
LewisLiuPub Jan 4, 2021
6756092
align outputs code structure with ROS2 and OV2020.3
LewisLiuPub Jan 4, 2021
403668d
align pipeline code structure with ROS2 and OV2020.3
LewisLiuPub Jan 5, 2021
8c8dafd
Merge pull request #84 from congliu0913/dev-ov2020.3
LewisLiuPub Jan 5, 2021
7a911ca
Merge pull request #86 from LewisLiuPub/dev-ov2020.3
LewisLiuPub Jan 8, 2021
561a84d
fix some build errors.
LewisLiuPub Jan 11, 2021
37e5b4c
Merge pull request #88 from LewisLiuPub/fix-build-errors
LewisLiuPub Jan 12, 2021
7532d0f
update slog to fix slog errors for slog::debug
LewisLiuPub Jan 12, 2021
1d7bdcd
Merge pull request #90 from LewisLiuPub/fix-slog-debug
LewisLiuPub Jan 17, 2021
3eb5edf
add missing header.
LewisLiuPub Feb 1, 2021
04bde4b
Merge pull request #92 from LewisLiuPub/add_image_topic
LewisLiuPub Feb 3, 2021
f0e377a
Fix ROS cpp format
Corsair-cxs Feb 20, 2021
a9043ef
Merge pull request #97 from Corsair-cxs/dev-ov2020.3
LewisLiuPub Feb 20, 2021
7f175e3
Fix some bugs
Corsair-cxs Feb 22, 2021
1c13e22
Add missing header mutex_counter.hpp
Corsair-cxs Feb 22, 2021
7449ee2
Merge pull request #98 from Corsair-cxs/dev-ov2020.3
LewisLiuPub Feb 23, 2021
a74667a
Modified image_topic to fix ROS 1
Corsair-cxs Feb 25, 2021
ee95b9c
Fixed some bugs
Corsair-cxs Feb 25, 2021
a11dda3
BugFix
caohuiyan Feb 25, 2021
2374622
Update image_topic.cpp
Corsair-cxs Feb 26, 2021
e20504b
Fixed some bugs
Corsair-cxs Feb 26, 2021
4ce2ff3
Merge pull request #101 from Corsair-cxs/dev-ov2020.3
LewisLiuPub Feb 26, 2021
bf4f696
Merge pull request #102 from caohuiyan/dev-ov2020.3
LewisLiuPub Feb 26, 2021
e128781
Modified image_object_client.cpp: image_path --> image_paths
Corsair-cxs Feb 27, 2021
618653b
Merge pull request #1 from intel/dev-ov2020.3
Corsair-cxs Feb 27, 2021
52fb7ca
Dependency optimized
Corsair-cxs Feb 28, 2021
6d41656
Update image_object_client.cpp
Corsair-cxs Feb 28, 2021
cdf9ff9
Merge pull request #104 from Corsair-cxs/dev-ov2020.3
LewisLiuPub Mar 1, 2021
7ddcd0d
add frame_processing_object_server.cpp
Corsair-cxs Mar 1, 2021
07ebf01
Fix uncorrect class member name 'image_path' to 'image_paths'
Corsair-cxs Mar 1, 2021
6eb15e3
Fix bug error: ‘setHeader’ was not declared
Corsair-cxs Mar 1, 2021
85aaa09
Add Doxyfile which was deleted incorrectly
Corsair-cxs Mar 1, 2021
e376c49
Add .gitignore file
Corsair-cxs Mar 1, 2021
172d991
Update pipeline_manager.cpp
Corsair-cxs Mar 1, 2021
2d7a8f2
Template specialization for partical class template
Corsair-cxs Mar 2, 2021
e3cde4b
Merge branch 'dev-ov2020.3' of https://github.com/Corsair-cxs/ros_ope…
Corsair-cxs Mar 2, 2021
2d0cc92
fix error, it's unfinished.
Corsair-cxs Mar 3, 2021
2dcb77e
fixd some bugs
Corsair-cxs Mar 4, 2021
4be2942
Merge pull request #107 from Corsair-cxs/dev-ov2020.3
LewisLiuPub Mar 5, 2021
1da650b
Remove dependencies of libcpu_extension.so [issue 109]
Corsair-cxs Mar 9, 2021
85b8530
Add Landmark message type and implement related API [issue#111]
Corsair-cxs Mar 9, 2021
4f0efe6
Add Landmark message type and implement related API [issue#111]
Corsair-cxs Mar 9, 2021
88b3fea
Merge pull request #110 from Corsair-cxs/iss109
LewisLiuPub Mar 11, 2021
fecd953
Merge pull request #112 from Corsair-cxs/iss110
LewisLiuPub Mar 11, 2021
3929891
Merge pull request #5 from intel/dev-ov2020.3
Corsair-cxs Mar 12, 2021
bae51f2
declare function initOutputs
Corsair-cxs Mar 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions .github/workflows/dev-ov_2020-3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: dev-ov.2020.3-CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the dev-ov2020.3 branch
on:
push:
branches: [ dev-ov2020.3 ]
pull_request:
branches: [ dev-ov2020.3 ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-18.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# install ros melodic
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: melodic
- run: "source /opt/ros/melodic/setup.bash"

# install openvino 2020.3
- name: install openvino 2020.3
run: |
sudo apt update && sudo apt install curl gnupg2 lsb-release
curl -s https://apt.repos.intel.com/openvino/2020/GPG-PUB-KEY-INTEL-OPENVINO-2020 |sudo apt-key add -
echo "deb https://apt.repos.intel.com/openvino/2020 all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2020.list
sudo apt update
sudo apt-cache search openvino
sudo apt-get install -y \
intel-openvino-runtime-ubuntu18-2020.3.341 \
intel-openvino-ie-samples-2020.3.341 \
intel-openvino-omz-dev-2020.3.341 \
intel-openvino-omz-tools-2020.3.341 \
intel-openvino-gstreamer-rt-ubuntu-bionic-2020.3.341 \
intel-openvino-gva-dev-ubuntu-bionic-2020.3.341 \
intel-openvino-gva-rt-ubuntu-bionic-2020.3.341 \
intel-openvino-ie-bin-python-tools-ubuntu-bionic-2020.3.341 \
intel-openvino-ie-rt-core-ubuntu-bionic-2020.3.341 \
intel-openvino-ie-rt-cpu-ubuntu-bionic-2020.3.341 \
intel-openvino-ie-rt-gna-ubuntu-bionic-2020.3.341 \
intel-openvino-ie-rt-gpu-ubuntu-bionic-2020.3.341 \
intel-openvino-ie-rt-hddl-ubuntu-bionic-2020.3.341 \
intel-openvino-ie-rt-vpu-ubuntu-bionic-2020.3.341 \
intel-openvino-ie-sdk-ubuntu-bionic-2020.3.341 \
intel-openvino-opencv-lib-ubuntu-bionic-2020.3.341
sudo apt-get install -y libgflags-dev
ls -lh /opt/intel/openvino
source /opt/intel/openvino/bin/setupvars.sh

# build ros openvino toolkit
- name: build ros openvino toolkit
run: |
mkdir -p ~/catkin_ws/src
cp -rf ${GITHUB_WORKSPACE} ~/catkin_ws/src
cd ~/catkin_ws/src
git clone https://github.com/intel/object_msgs.git
cd ~/catkin_ws/
source /opt/ros/melodic/setup.bash
source /opt/intel/openvino/bin/setupvars.sh
export CPU_EXTENSION_LIB+=/opt/intel/openvino_2020.3.341/deployment_tools/inference_engine/lib/intel64/libinference_engine.so
export GFLAGS_LIB+=/usr/lib/x86_64-linux-gnu/libgflags_nothreads.a
env
catkin_make

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dynamic_vino_lib/html/*
dynamic_vino_lib/latex/*
162 changes: 70 additions & 92 deletions README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vehicle
license
20 changes: 20 additions & 0 deletions data/labels/object_detection/yolov2-voc.labels
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Aeroplane
Bicycle
Bird
Boat
Bottle
Bus
Car
Cat
Chair
Cow
DiningTable
Dog
Horse
Motorbike
Person
PottedPlant
Sheep
Sofa
Train
TV/Monitor
135 changes: 80 additions & 55 deletions doc/BINARY_VERSION_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ This project is a ROS wrapper for CV API of [OpenVINO™](https://software.intel
* Demo application to show above detection and recognitions

## 2. Prerequisite
- An x86_64 computer running Ubuntu 16.04. Below processors are supported:
- An x86_64 computer running Ubuntu 18.04. Below processors are supported:
* 6th-8th Generation Intel® Core™
* Intel® Xeon® v5 family
* Intel® Xeon® v6 family
- ROS Kinetic
- ROS [Dashing](https://github.com/ros2/ros2)

- [OpenVINO™ Toolkit](https://software.intel.com/en-us/openvino-toolkit)
- RGB Camera, e.g. RealSense D400 Series or standard USB camera or Video/Image File
Expand All @@ -38,9 +38,9 @@ This project is a ROS wrapper for CV API of [OpenVINO™](https://software.intel
```
**Note**:You can also choose to follow the steps below to build the environment step by step.

- Install ROS Kinetic Desktop-Full ([guide](http://wiki.ros.org/kinetic/Installation/Ubuntu))
- Install ROS Dashing Desktop-Full ([guide](https://index.ros.org/doc/ros2/Installation/Dashing/))

- Install [OpenVINO™ Toolkit](https://software.intel.com/en-us/openvino-toolkit) ([guide](https://software.intel.com/en-us/articles/OpenVINO-Install-Linux)). Choose "2018 R4" when download tarball.
- Install [OpenVINO™ Toolkit](https://software.intel.com/en-us/openvino-toolkit) ([guide](https://software.intel.com/en-us/articles/OpenVINO-Install-Linux)).

**Note**: Please use *root privileges* to run the installer when installing the core components.
- Install OpenCL Driver for GPU
Expand Down Expand Up @@ -70,9 +70,8 @@ sudo ./install_NEO_OCL_driver.sh
sudo apt update
sudo apt install libjasper1 libjasper-dev
```
- Install Intel® RealSense™ SDK 2.0 [(tag v2.17.1)](https://github.com/IntelRealSense/librealsense/tree/v2.17.1)
* [Install from source code](https://github.com/IntelRealSense/librealsense/blob/v2.17.1/doc/installation.md)(Recommended)
* [Install from package](https://github.com/IntelRealSense/librealsense/blob/v2.17.1/doc/distribution_linux.md)
- Install Intel® RealSense™ SDK 2.0 [(tag v2.30.0)](https://github.com/IntelRealSense/librealsense/tree/v2.30.0)
* [Install from package](https://github.com/IntelRealSense/librealsense/blob/v2.30.0/doc/distribution_linux.md)

- Other Dependencies
```bash
Expand All @@ -89,8 +88,8 @@ sudo ln -sf libboost_python-py35.so libboost_python3.so
- Build sample code under openvino toolkit
```bash
# root is required instead of sudo
source /opt/intel/computer_vision_sdk/bin/setupvars.sh
cd /opt/intel/computer_vision_sdk/deployment_tools/inference_engine/samples/
source /opt/intel/openvino/bin/setupvars.sh
cd /opt/intel/openvino/deployment_tools/inference_engine/samples/
mkdir build
cd build
cmake ..
Expand All @@ -99,8 +98,8 @@ make

- Set Environment CPU_EXTENSION_LIB and GFLAGS_LIB
```bash
export CPU_EXTENSION_LIB=/opt/intel/computer_vision_sdk/deployment_tools/inference_engine/samples/build/intel64/Release/lib/libcpu_extension.so
export GFLAGS_LIB=/opt/intel/computer_vision_sdk/deployment_tools/inference_engine/samples/build/intel64/Release/lib/libgflags_nothreads.a
export CPU_EXTENSION_LIB=/opt/intel/openvino/deployment_tools/inference_engine/samples/build/intel64/Release/lib/libcpu_extension.so
export GFLAGS_LIB=/opt/intel/openvino/deployment_tools/inference_engine/samples/build/intel64/Release/lib/libgflags_nothreads.a
```

- Install ROS_OpenVINO packages
Expand All @@ -122,7 +121,7 @@ source /opt/ros/kinetic/setup.bash
# Ubuntu 18.04
source /opt/ros/melodic/setup.bash

source /opt/intel/computer_vision_sdk/bin/setupvars.sh
source /opt/intel/openvino/bin/setupvars.sh
export OpenCV_DIR=$HOME/code/opencv/build
cd ~/catkin_ws
catkin_make
Expand All @@ -133,59 +132,76 @@ sudo ln -s ~/catkin_ws/src/ros_openvino_toolkit /opt/openvino_toolkit/ros_openvi

## 5. Running the Demo
* Preparation
* Configure the Neural Compute Stick USB Driver
```bash
cd ~/Downloads
cat <<EOF > 97-usbboot.rules
SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="2485", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
EOF
sudo cp 97-usbboot.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger
sudo ldconfig
rm 97-usbboot.rules
```
* download [Object Detection model](https://github.com/intel/ros_openvino_toolkit/tree/devel/doc/OBJECT_DETECTION.md)
* download and convert a trained model to produce an optimized Intermediate Representation (IR) of the model
```bash
#object segmentation model
cd /opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/install_prerequisites
sudo ./install_prerequisites.sh
mkdir -p ~/Downloads/models
cd ~/Downloads/models
wget http://download.tensorflow.org/models/object_detection/mask_rcnn_inception_v2_coco_2018_01_28.tar.gz
tar -zxvf mask_rcnn_inception_v2_coco_2018_01_28.tar.gz
cd mask_rcnn_inception_v2_coco_2018_01_28
python3 /opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/mo_tf.py --input_model frozen_inference_graph.pb --tensorflow_use_custom_operations_config /opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/extensions/front/tf/mask_rcnn_support.json --tensorflow_object_detection_api_pipeline_config pipeline.config --reverse_input_channels --output_dir ./output/
sudo mkdir -p /opt/models
sudo ln -sf ~/Downloads/models/mask_rcnn_inception_v2_coco_2018_01_28 /opt/models/
#object detection model
cd /opt/intel/computer_vision_sdk/deployment_tools/model_downloader
sudo python3 ./downloader.py --name mobilenet-ssd
#FP32 precision model
sudo python3 /opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/mo.py --input_model /opt/intel/computer_vision_sdk/deployment_tools/model_downloader/object_detection/common/mobilenet-ssd/caffe/mobilenet-ssd.caffemodel --output_dir /opt/intel/computer_vision_sdk/deployment_tools/model_downloader/object_detection/common/mobilenet-ssd/caffe/output/FP32 --mean_values [127.5,127.5,127.5] --scale_values [127.5]
#FP16 precision model
sudo python3 /opt/intel/computer_vision_sdk/deployment_tools/model_optimizer/mo.py --input_model /opt/intel/computer_vision_sdk/deployment_tools/model_downloader/object_detection/common/mobilenet-ssd/caffe/mobilenet-ssd.caffemodel --output_dir /opt/intel/computer_vision_sdk/deployment_tools/model_downloader/object_detection/common/mobilenet-ssd/caffe/output/FP16 --data_type=FP16 --mean_values [127.5,127.5,127.5] --scale_values [127.5]
```
```bash
#object segmentation model
cd /opt/intel/openvino/deployment_tools/model_optimizer/install_prerequisites
sudo ./install_prerequisites.sh
mkdir -p ~/Downloads/models
cd ~/Downloads/models
wget http://download.tensorflow.org/models/object_detection/mask_rcnn_inception_v2_coco_2018_01_28.tar.gz
tar -zxvf mask_rcnn_inception_v2_coco_2018_01_28.tar.gz
cd mask_rcnn_inception_v2_coco_2018_01_28
#FP32
sudo python3 /opt/intel/openvino/deployment_tools/model_optimizer/mo_tf.py --input_model frozen_inference_graph.pb --tensorflow_use_custom_operations_config /opt/intel/openvino/deployment_tools/model_optimizer/extensions/front/tf/mask_rcnn_support.json --tensorflow_object_detection_api_pipeline_config pipeline.config --reverse_input_channels --output_dir /opt/openvino_toolkit/models/segmentation/output/FP32
#FP16
sudo python3 /opt/intel/openvino/deployment_tools/model_optimizer/mo_tf.py --input_model frozen_inference_graph.pb --tensorflow_use_custom_operations_config /opt/intel/openvino/deployment_tools/model_optimizer/extensions/front/tf/mask_rcnn_support.json --tensorflow_object_detection_api_pipeline_config pipeline.config --reverse_input_channels --data_type=FP16 --output_dir /opt/openvino_toolkit/models/segmentation/output/FP16
```
* download the optimized Intermediate Representation (IR) of model (excute once)
```bash
cd /opt/intel/openvino/deployment_tools/tools/model_downloader
sudo python3 downloader.py --name face-detection-adas-0001 --output_dir /opt/openvino_toolkit/models/face_detection/output
sudo python3 downloader.py --name age-gender-recognition-retail-0013 --output_dir /opt/openvino_toolkit/models/age-gender-recognition/output
sudo python3 downloader.py --name emotions-recognition-retail-0003 --output_dir /opt/openvino_toolkit/models/emotions-recognition/output
sudo python3 downloader.py --name head-pose-estimation-adas-0001 --output_dir /opt/openvino_toolkit/models/head-pose-estimation/output
sudo python3 downloader.py --name person-detection-retail-0013 --output_dir /opt/openvino_toolkit/models/person-detection/output
sudo python3 downloader.py --name person-reidentification-retail-0076 --output_dir /opt/openvino_toolkit/models/person-reidentification/output
sudo python3 downloader.py --name vehicle-license-plate-detection-barrier-0106 --output_dir /opt/openvino_toolkit/models/vehicle-license-plate-detection/output
sudo python3 downloader.py --name vehicle-attributes-recognition-barrier-0039 --output_dir /opt/openvino_toolkit/models/vehicle-attributes-recongnition/output
sudo python3 downloader.py --name license-plate-recognition-barrier-0001 --output_dir /opt/openvino_toolkit/models/license-plate-recognition/output
sudo python3 downloader.py --name landmarks-regression-retail-0009 --output_dir /opt/openvino_toolkit/models/landmarks-regression/output
sudo python3 downloader.py --name face-reidentification-retail-0095 --output_dir /opt/openvino_toolkit/models/face-reidentification/output
```
* copy label files (excute _once_)<br>
```bash
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/emotions-recognition/FP32/emotions-recognition-retail-0003.labels /opt/intel/computer_vision_sdk/deployment_tools/intel_models/emotions-recognition-retail-0003/FP32
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/emotions-recognition/FP32/emotions-recognition-retail-0003.labels /opt/intel/computer_vision_sdk/deployment_tools/intel_models/emotions-recognition-retail-0003/FP16
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/face_detection/face-detection-adas-0001.labels /opt/intel/computer_vision_sdk/deployment_tools/intel_models/face-detection-adas-0001/FP32
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/face_detection/face-detection-adas-0001.labels /opt/intel/computer_vision_sdk/deployment_tools/intel_models/face-detection-adas-0001/FP16
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/object_segmentation/frozen_inference_graph.labels ~/Downloads/models/mask_rcnn_inception_v2_coco_2018_01_28/output
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/object_detection/mobilenet-ssd.labels /opt/intel/computer_vision_sdk/deployment_tools/model_downloader/object_detection/common/mobilenet-ssd/caffe/output/FP32
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/object_detection/mobilenet-ssd.labels /opt/intel/computer_vision_sdk/deployment_tools/model_downloader/object_detection/common/mobilenet-ssd/caffe/output/FP16
```
* set ENV LD_LIBRARY_PATH and environment
```bash
source /opt/intel/computer_vision_sdk/bin/setupvars.sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/computer_vision_sdk/deployment_tools/inference_engine/samples/build/intel64/Release/lib
```
* run face detection sample code input from StandardCamera.(connect Intel® Neural Compute Stick 2)
```bash
roslaunch vino_launch pipeline_people_myriad.launch
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/emotions-recognition/FP32/emotions-recognition-retail-0003.labels /opt/openvino_toolkit/models/emotions-recognition/output/intel/emotions-recognition-retail-0003/FP32/
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/face_detection/face-detection-adas-0001.labels /opt/openvino_toolkit/models/face_detection/output/intel/face-detection-adas-0001/FP32/
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/face_detection/face-detection-adas-0001.labels /opt/openvino_toolkit/models/face_detection/output/intel/face-detection-adas-0001/FP16/
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/object_segmentation/frozen_inference_graph.labels /opt/openvino_toolkit/models/segmentation/output/FP32/
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/object_segmentation/frozen_inference_graph.labels /opt/openvino_toolkit/models/segmentation/output/FP16/
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/object_detection/vehicle-license-plate-detection-barrier-0106.labels /opt/openvino_toolkit/models/vehicle-license-plate-detection/output/intel/vehicle-license-plate-detection-barrier-0106/FP32
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/face_detection/face-detection-adas-0001.labels /opt/openvino_toolkit/models/face_detection/output/intel/face-detection-adas-0001/FP32/
sudo cp /opt/openvino_toolkit/ros_openvino_toolkit/data/labels/face_detection/face-detection-adas-0001.labels /opt/openvino_toolkit/models/face_detection/output/intel/face-detection-adas-0001/FP16/
```
* run face detection sample code input from Image.
* set ENV LD_LIBRARY_PATH and environment
```bash
roslaunch vino_launch pipeline_image.launch
source /opt/intel/openvino/bin/setupvars.sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/openvino/deployment_tools/inference_engine/samples/build/intel64/Release/lib
```
* run object detection sample code input from RealSenseCamera.(connect Intel® Neural Compute Stick 2)
* run face detection sample code input from StandardCamera.(connect Intel® Neural Compute Stick 2)
```bash
roslaunch vino_launch pipeline_object.launch
roslaunch vino_launch pipeline_people.launch
```
* run object detection sample code input from RealSenseCameraTopic.(connect Intel® Neural Compute Stick 2)
* run face detection sample code input from Image.
```bash
roslaunch vino_launch pipeline_object_topic.launch
roslaunch vino_launch pipeline_image.launch
```
* run object segmentation sample code input from RealSenseCameraTopic.(connect Intel® Neural Compute Stick 2)
* run object segmentation sample code input from RealSenseCameraTopic.
```bash
roslaunch vino_launch pipeline_segmentation.launch
```
Expand All @@ -197,6 +213,14 @@ sudo ln -s ~/catkin_ws/src/ros_openvino_toolkit /opt/openvino_toolkit/ros_openvi
```bash
roslaunch vino_launch pipeline_reidentification.launch
```
* run face re-identification with facial landmarks from realsense camera
```bash
roslaunch vino_launch pipeline_face_reidentification.launch
```
* run vehicle detection sample code input from StandardCamera.
```bash
roslaunch vino_launch pipeline_vehicle_detection.launch
```
* run object detection service sample code input from Image
Run image processing service:
```bash
Expand Down Expand Up @@ -228,3 +252,4 @@ sudo ln -s ~/catkin_ws/src/ros_openvino_toolkit /opt/openvino_toolkit/ros_openvi

###### *Any security issue should be reported using process at https://01.org/security*


Loading