1、需求
在jetson系列芯片上使用C++对目标检测之后的框推rtsp流,延时200ms左右,效果如下:

2、环境准备
#RTSP服务器搭建方法
#1.安装依赖库
sudo apt install libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev gstreamer1.0-rtsp
#2.下载服务器
https://github.com/aler9/rtsp-simple-server/releases
#3.解压并启动服务器
./rtsp-simple-server
3、C++代码部分
#include <opencv2/opencv.hpp>
#include <iostream>
#include <string>
#include <unistd.h>
#include <chrono>
int main()
{
// std::string video_name = "rtsp://admin:mkls1123@192.168.0.24/";
std:

本文介绍如何在Jetson系列芯片上利用C++实现目标检测,并将检测结果以延时约200ms的rtsp流进行推送。内容涵盖需求分析、环境配置、C++代码实现以及项目扩展方案。
订阅专栏 解锁全文
2787

被折叠的 条评论
为什么被折叠?



