Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
ffa78bf
fix engine api
ChloeWu1 Oct 10, 2022
ac2e596
fix pipeline api
ChloeWu1 Oct 11, 2022
9dfd32f
fix base_inference api
ChloeWu1 Oct 11, 2022
aed1c24
fix version info
ChloeWu1 Oct 11, 2022
04d7a0d
fix base model
ChloeWu1 Oct 11, 2022
4921a24
fix age gender detection pipeline
ChloeWu1 Oct 12, 2022
0b224e2
fix emotion detection pipeline
ChloeWu1 Oct 12, 2022
451dfcd
fix head pose detection pipeline
ChloeWu1 Oct 12, 2022
f005a2f
fix person reidentification pipeline
ChloeWu1 Oct 12, 2022
4273a40
fix object segmentation pipeline
ChloeWu1 Oct 12, 2022
6d5b7a0
fix object detection(ssd) pipeline
ChloeWu1 Oct 12, 2022
853f773
fix license plate detection pipeline
ChloeWu1 Oct 13, 2022
daae598
fix vehicle attribs detection pipeline
ChloeWu1 Oct 13, 2022
de67e59
fix person attribs detection pipeline
ChloeWu1 Oct 13, 2022
ef7c030
fix object detection(yolo) pipeline
ChloeWu1 Oct 13, 2022
0d3d74a
fix face reidentification pipeline
ChloeWu1 Oct 16, 2022
0060965
fix landmarks detection pipeline
ChloeWu1 Oct 16, 2022
b120aa0
fix pipeline manager
ChloeWu1 Oct 16, 2022
4eb2869
fix pipeline params API
ChloeWu1 Oct 17, 2022
439c569
fix CMakeLists
ChloeWu1 Oct 17, 2022
68a5aa4
clean code and fix head files
ChloeWu1 Oct 17, 2022
374b648
Add NCHW and NHWC layout compatibility for object_segmentation and ob…
ChloeWu1 Oct 18, 2022
ca444e6
clean code
ChloeWu1 Oct 18, 2022
dc8e996
update docs for ov2.0
ChloeWu1 Oct 19, 2022
b79a632
fix docs
ChloeWu1 Oct 20, 2022
c6f4fa3
fix param name
ChloeWu1 Nov 11, 2022
7adb00c
code refine: move input&output info definition to base attribute
ChloeWu1 Nov 11, 2022
5ad3792
update doc and model list for ros
ChloeWu1 Nov 21, 2022
474c8dd
add dockerfile and instruction for ros
ChloeWu1 Dec 8, 2022
a479937
refine dockerfile
ChloeWu1 Dec 12, 2022
fed6345
add segmentation maskrcnn pipeline
ChloeWu1 Dec 12, 2022
3c23d15
fix vehicle attribs and license plate
ChloeWu1 Dec 12, 2022
1158e5c
fix yaml path
ChloeWu1 Dec 12, 2022
cfea37d
fix doc dockerfile and model list
ChloeWu1 Dec 13, 2022
3d27120
fix param
ChloeWu1 Dec 13, 2022
809ebfb
fix model download list
ChloeWu1 Dec 15, 2022
3d97a61
fix label path
ChloeWu1 Dec 19, 2022
b7f6ee6
fix label path for docker
ChloeWu1 Dec 19, 2022
98fb7ce
update documents for ros 2.0
ChloeWu1 Dec 21, 2022
066ab65
Merge branch 'ros' into noetic-ov2022.1
ChloeWu1 Dec 23, 2022
fad9c8b
fix docker
ChloeWu1 Dec 27, 2022
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
13 changes: 5 additions & 8 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ros openvino toolkit env master ec5b9b9716e4

ARG ROS_VERSION
FROM osrf/ros:${ROS_VERSION}
ARG ROS_PRE_INSTALLED_PKG
FROM osrf/ros:${ROS_PRE_INSTALLED_PKG}
ARG VERSION
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update these 3 lines above as:
ARG VERSION=noetic
ARG ROS_PRE_INSTALLED_PKG=${VERSION}-desktop-full
FROM osrf/ros:${ROS_PRE_INSTALLED_PKG}


# setting proxy env --option
Expand All @@ -10,8 +10,8 @@ ARG VERSION
# ENV HTTPS_PROXY="your_proxy"
# ENV FTP_PROXY="your_proxy"

# maintainer information
LABEL maintainer="Jiawei Wu <jiawei.wu@intel.com>"
# author information
LABEL author="Jiawei Wu <jiawei.wu@intel.com>"

# default shell type
SHELL ["/bin/bash", "-c"]
Expand Down Expand Up @@ -63,7 +63,6 @@ pyyaml \
requests \
&& apt-get install -y --no-install-recommends libboost-all-dev
WORKDIR /usr/lib/x86_64-linux-gnu
RUN ln -sf libboost_python-py36.so libboost_python37.so
RUN pip install --upgrade pip
RUN pip install openvino-dev[tensorflow2]==2022.1
RUN apt-get install -y libcanberra-gtk* git
Expand All @@ -74,9 +73,7 @@ WORKDIR /root
RUN mkdir -p catkin_ws/src
WORKDIR /root/catkin_ws/src
RUN git init && git clone -b ros https://github.com/intel/ros_openvino_toolkit \
&& git clone https://github.com/intel/object_msgs.git \
&& git clone -b ${VERSION} https://github.com/ros-perception/vision_opencv.git \
&& git clone -b ros1-legacy https://github.com/IntelRealSense/realsense-ros.git
&& git clone https://github.com/intel/object_msgs.git

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove the git of vision_opencv and realsense?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No dependency on this two package.

RUN apt-get install ros-${VERSION}-ddynamic-reconfigure
WORKDIR /root/catkin_ws/
RUN source /opt/ros/${VERSION}/setup.bash && source /opt/intel/openvino_2022/setupvars.sh && catkin_make_isolated
6 changes: 3 additions & 3 deletions docker/docker_instruction.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ Supported ros versions include noetic and melodic.
```
cd ~/ros_openvino_toolkit/docker/Dockerfile
vi ~/ros_openvino_toolkit/docker/Dockerfile
docker build --build-arg ROS_VERSION=<EXPECT_ROS_BASE_IMAGE> --build-arg VERSION=<EXPECT_ROS_VERSION> --build-arg "HTTP_PROXY=set_your_proxy" -t ros_openvino_202201 .
docker build --build-arg ROS_PRE_INSTALLED_PKG=<EXPECT_ROS_PRE_INSTALLED_PKG> --build-arg VERSION=<EXPECT_ROS_VERSION> --build-arg "HTTP_PROXY=set_your_proxy" -t ros_openvino_202201 .
```
For example:
* Build image for ros_noetic
```
cd ~/ros_openvino_toolkit/docker/Dockerfile
vi ~/ros_openvino_toolkit/docker/Dockerfile
docker build --build-arg ROS_VERSION=noetic-desktop-full --build-arg VERSION=noetic --build-arg "HTTP_PROXY=set_your_proxy" -t ros_noetic_openvino_202201 .
docker build --build-arg ROS_PRE_INSTALLED_PKG=noetic-desktop-full --build-arg VERSION=noetic --build-arg "HTTP_PROXY=set_your_proxy" -t ros_noetic_openvino_202201 .
```
* Build image for ros_melodic
```
cd ~/ros_openvino_toolkit/docker/Dockerfile
vi ~/ros_openvino_toolkit/docker/Dockerfile
docker build --build-arg ROS_VERSION=melodic-desktop-full --build-arg VERSION=melodic --build-arg "HTTP_PROXY=set_your_proxy" -t ros_melodic_openvino_202201 .
docker build --build-arg ROS_PRE_INSTALLED_PKG=melodic-desktop-full --build-arg VERSION=melodic --build-arg "HTTP_PROXY=set_your_proxy" -t ros_melodic_openvino_202201 .
```

## 3. Download and load docker image
Expand Down