From fad68d59996fed35f3ad35a97f92ec1e5700b1a1 Mon Sep 17 00:00:00 2001 From: luyang00 <393780933@qq.com> Date: Tue, 19 Nov 2019 17:02:13 +0800 Subject: [PATCH] add a DetectObjectSrv to support service request of ros_openvino_toolkit repo --- CMakeLists.txt | 1 + srv/DetectObjectSrv.srv | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 srv/DetectObjectSrv.srv diff --git a/CMakeLists.txt b/CMakeLists.txt index ec8c25a..d0a6853 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,7 @@ add_message_files(DIRECTORY msg FILES add_service_files(DIRECTORY srv FILES ClassifyObject.srv DetectObject.srv + DetectObjectSrv.srv ) generate_messages(DEPENDENCIES diff --git a/srv/DetectObjectSrv.srv b/srv/DetectObjectSrv.srv new file mode 100644 index 0000000..c2e4ece --- /dev/null +++ b/srv/DetectObjectSrv.srv @@ -0,0 +1,17 @@ +# Copyright (c) 2017 Intel Corporation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +string image_path # image path list for inference +--- +ObjectsInBoxes[] objects # bounding box list for each of inferred images