diff --git a/1.15.0-1.tar.gz b/1.15.0-1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..09fd6d2032a412ccc1585a9076d8eaf9582000f4 Binary files /dev/null and b/1.15.0-1.tar.gz differ diff --git a/README.en.md b/README.en.md index 68bc4483bd907741d18f4fc5685b59e7df82fb6a..e07fc889e97df58cb335055eb444aa795d8c89f2 100644 --- a/README.en.md +++ b/README.en.md @@ -2,21 +2,36 @@ #### Description Packages for interfacing ROS with OpenCV, a library of programming functions for real time computer vision. - #### Software Architecture Software architecture description +The vision_opencv stack provides packaging of the popular OpenCV library for ROS. For information about the OpenCV library, please see the OpenCV main page at http://opencv.org/ links to complete documentation for OpenCV, as well as other OpenCV resources (like the bug tracker on http://code.opencv.org/) + +For OpenCV vision_opencv provides several packages: + +cv_bridge: Bridge between ROS messages and OpenCV. + +image_geometry: Collection of methods for dealing with image and pixel geometry + +In order to use ROS with OpenCV, please see the cv_bridge package. + #### Installation -1. xxxx -2. xxxx -3. xxxx +1. Dowload RPM + + ``` + wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/21.03:/LTS/standard_aarch64/vision_opencv-1.15.0-1.oe1.aarch64.rpm + ``` + +2. Install RPM + + ``` + sudo rpm -ivh vision_opencv-1.15.0-1.oe1.aarch64.rpm + ``` #### Instructions -1. xxxx -2. xxxx -3. xxxx +1. Exit the vision_opencv file under the /opt/ros/noetic/devel_isolated/ directory , Prove that the software installation is successful. #### Contribution diff --git a/README.md b/README.md index 7563e43bd9c574b5c7032cac184e65c015fc2881..ac3f72e1f11c39965d2e20016a288ce6def458d0 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,39 @@ # vision_opencv #### 介绍 -Packages for interfacing ROS with OpenCV, a library of programming functions for real time computer vision. +用于将 ROS 与 OpenCV(用于实时计算机视觉的编程函数库)连接的软件包。 #### 软件架构 软件架构说明 +该vision_opencv栈提供广受欢迎的OpenCV库对ROS的包装。有关 OpenCV 库的信息,请参阅 OpenCV 主页http://opencv.org/ OpenCV 完整文档的链接,以及其他 OpenCV 资源(如http://code.opencv.org/上的错误跟踪器) + +对于 OpenCV vision_opencv提供了几个包: + +cv_bridge : ROS 消息和 OpenCV 之间的桥梁。 + +image_geometry : 处理图像和像素几何的方法集合 + +为了在 OpenCV 中使用 ROS,请参阅cv_bridge包。 #### 安装教程 -1. xxxx -2. xxxx -3. xxxx +1. 下载RPM包 + + ``` + wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/21.03:/LTS/standard_aarch64/vision_opencv-1.15.0-1.oe1.aarch64.rpm + ``` + +2. 安装rpm包 + + ``` + sudo rpm -ivh vision_opencv-1.15.0-1.oe1.aarch64.rpm + ``` + #### 使用说明 -1. xxxx -2. xxxx -3. xxxx +1. ​ 安装完成以后,在/opt/ros/noetic/devel_isolated/目录下有vision_opencv/文件夹证明安装成功 #### 参与贡献 diff --git a/vision_opencv.spec b/vision_opencv.spec new file mode 100644 index 0000000000000000000000000000000000000000..1737768e034eaa26dab8b6783861fba325ea0470 --- /dev/null +++ b/vision_opencv.spec @@ -0,0 +1,125 @@ +Name: vision_opencv +Version: 1.15.0 +Release: 1 +Summary: This is ROS noetic vision_opencv Package +License: Public Domain and Apache-2.0 and BSD and MIT and BSL-1.0 and LGPL-2.1-only and MPL-2.0 and GPL-3.0-only and GPL-2.0-or-later and MPL-1.1 and IJG and Zlib and OFL-1.1 +URL: https://github.com/ros-gbp/vision_opencv-release/archive/release/noetic/vision_opencv +Source0: https://github.com/ros-gbp/vision_opencv-release/archive/release/noetic/vision_opencv/1.15.0-1.tar.gz + +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: lz4-devel +BuildRequires: bzip2-devel +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: openssl-devel +BuildRequires: boost-devel +BuildRequires: uuid-devel +BuildRequires: uuid +BuildRequires: libuuid-devel +BuildRequires: python3-gpgme +BuildRequires: gpgme-devel +BuildRequires: cpp-gpgme +BuildRequires: python3-crypto +BuildRequires: bullet-devel +BuildRequires: libyaml-devel +BuildRequires: libogg-devel +BuildRequires: libtheora-devel +BuildRequires: gtk3-devel +BuildRequires: harfbuzz-devel +BuildRequires: python3-sip-devel +BuildRequires: python3-gpgme +BuildRequires: gpgme-devel +BuildRequires: cpp-gpgme +BuildRequires: python3-crypto +BuildRequires: bullet-devel +BuildRequires: gtest-devel +BuildRequires: gmock-devel + +%description +This is ROS noetic vision_opencv Package. + +%prep +%setup + +%install +cd 3rdparty/ + +cd empy-3.3.4/ +python3 setup.py install --user +cd .. + +cd six-1.15.0/ +python3 setup.py install --user +cd .. + +cd setuptools_scm-4.1.2/ +python3 setup.py install --user +cd .. + +cd python-dateutil-2.8.1/ +python3 setup.py install --user +cd .. + +cd pyparsing-2.4.7/ +python3 setup.py install --user +cd .. + +cd docutils-0.16/ +python3 setup.py install --user +cd .. + +cd catkin_pkg-0.4.22/ +python3 setup.py install --user +cd .. + +cd PyYAML-5.3.1/ +python3 setup.py install --user +cd .. + +cd distro-1.5.0/ +python3 setup.py install --user +cd .. + +cd rospkg-1.2.8/ +python3 setup.py install --user +cd .. + +cd Cython-0.29.24 +python3 setup.py install --user +cd .. + +cd numpy-1.21.2 +python3 setup.py install --user +cd .. + +cd .. + +./src/catkin/bin/catkin_make_isolated --install + +#### +# 对install_isoloate内部的变量名称进行替换 +# +#### +SRC_PATH=$PWD/install_isolated +DST_PATH=/opt/ros/noetic +sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install_isolated/*` + +#### +# 添加.catkin和.rosinstall文件 +# +#### +mkdir -p %{buildroot}/opt/ros/noetic/ +cp -r install_isolated/* %{buildroot}/opt/ros/noetic/ +cp install_isolated/.rosinstall %{buildroot}/opt/ros/noetic/ +cp install_isolated/.catkin %{buildroot}/opt/ros/noetic/ + +%files +%defattr(-,root,root) +/opt/ros/noetic/* +/opt/ros/noetic/.rosinstall +/opt/ros/noetic/.catkin + +%changelog +* Thu 12-15-2020 openEuler Buildteam +- Package init diff --git a/vision_opencv.yaml b/vision_opencv.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6109987a447f55882e5f140a26fdfd6ff5635d3c --- /dev/null +++ b/vision_opencv.yaml @@ -0,0 +1,6 @@ +--- +version_control: git +src_repo: https://github.com/ros-perception/image_pipeline.git +tag_prefix: 1.15.0-1 +separator: "." +-