Navigation

    蓝鲸ROS机器人论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Popular
    ROS交流群
    ROS Group
    产品服务
    Product Service
    开源代码库
    Github
    官网
    Official website
    技术交流
    Technological exchanges
    激光雷达
    LIDAR
    ROS教程
    ROS Tourials
    深度学习
    Deep Learning
    机器视觉
    Computer Vision

    识别颜色

    技术交流
    2
    2
    1794
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • laijin
      laijin last edited by

      小强摄像头如果要识别具体的某个颜色该用什么参数来判断,也就是说摄像头的RGB的参数名是什么

      1 Reply Last reply Reply Quote 0
      • weijiz
        weijiz last edited by weijiz

        摄像头的图像是通过标准的Image message发布出来的具体的可以参照这个http://docs.ros.org/api/sensor_msgs/html/msg/Image.html。具体的数据如何对应颜色是根据编码方式定的。按照对应的编码方式读取数据就可以了。如果你熟悉opencv的话也可以用ROS cv_bridge直接转成opencv的图像对象进行处理。

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2015-2021 BlueWhale community