使用deepstream中的ds-example插件,开发自定义插件,实现将视频图像分发到ros,然后可以通过ros接受到实时的数据,然后进行其他车道线等识别的功能

本文介绍如何利用Deepstream的ds-example插件开发自定义插件,将视频图像分发到ROS系统。通过ROS接收实时数据,进一步进行车道线等目标识别任务。在测试过程中,遇到MAT转ROS图像是问题的关键点。
摘要由CSDN通过智能技术生成

使用deepstream中的ds-example插件,开发自定义插件,实现将视频图像分发到ros,然后可以通过ros接受到实时的数据,然后进行其他车道线等识别的功能
源代码如下:
我测试的时候保存图是没问题的就是在线视频有问题,最后测试发现是mat转rosimg的问题

/**
 * Copyright (c) 2017-2021, NVIDIA CORPORATION.  All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyr

已下架不支持订阅

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

鼾声鼾语

感谢您的支持鼓励!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值