基于AidLux的自动驾驶智能预警应用方案

134 阅读1分钟

本项目为基于Aidlux的自动驾驶智能预警方案,实现了在aidlux上推理展示,完成了智能预警系统的3个任务,分别为目标检测,可行驶区域检测,车道线检测。

安装环境:

pip install-r requirements.txt
pip install torch==1.8.1  torchvision==0.9.1 -i https://pypi.mirrors.ustc.edu.cn/simple/
pip install onnxruntime-i https://pypi.mirrors.ustc.edu.cn/simple/

报错解决方案

1、module’cv2’has no attribute’_registerMatType’

卸载opencv-python、opencv-contrib-python只安装低版本的opencv-contrib-python

2、OSError:cannot open resource缺少中文字体

将simsun.ttc上传到/usr/share/fonts/文件夹下

演示视频如下。 演示视频