# Copyright 2021 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, catkin, compressed-image-transport, cv-bridge, dynamic-reconfigure, image-proc, image-transport, image-view, message-generation, message-runtime, nodelet, rosbag, roscpp, roslaunch, rosservice, rostest, rostopic, sensor-msgs, std-msgs, std-srvs, topic-tools }: buildRosPackage { pname = "ros-melodic-opencv-apps"; version = "2.0.1-r1"; src = fetchurl { url = "https://github.com/ros-perception/opencv_apps-release/archive/release/melodic/opencv_apps/2.0.1-1.tar.gz"; name = "2.0.1-1.tar.gz"; sha256 = "11489debf5d3b3dc194472f483d67857db62f76665f6785ad4f55882c4e4d3dc"; }; buildType = "catkin"; buildInputs = [ message-generation ]; checkInputs = [ compressed-image-transport image-proc image-view rosbag roslaunch rosservice rostest rostopic topic-tools ]; propagatedBuildInputs = [ cv-bridge dynamic-reconfigure image-transport message-runtime nodelet roscpp sensor-msgs std-msgs std-srvs ]; nativeBuildInputs = [ catkin ]; meta = { description = ''
opencv_apps provides various nodes that run internally OpenCV's functionalities and publish the result as ROS topics. With opencv_apps, you can skip writing OpenCV application codes for a lot of its functionalities by simply running a launch file that corresponds to OpenCV's functionality you want.
The most of code is originally taken from https://github.com/Itseez/opencv/tree/master/samples/cpp
''; license = with lib.licenses; [ bsdOriginal ]; }; }