← 开源
vietanhdev

open-adas

An open source advanced driver assistance system (ADAS) that uses Jetson Nano as the hardware. Features: Traffic sign detection, Forward collision warning, Lane departure warning.

ApplicationsSpecialistsObject detectionC++
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
505
Star
140
Fork
+1
本周
3
贡献者
创建于 2020-03-22 · 更新于 2026-10-15 · 今日第 18219 名
主要开发者
vietanhdevTrellixVulnTeamuyrusali

vietanhdev/open-adas 排名第 18,219,有 505 个星标。

同类别比较

vietanhdev/open-adas 排名第 18,219,此处有 8 个同类条目;Intelligent-Internet/ii-researcher 排名第 18,221。

同类别比较
名称排名指标
jremillard/images-to-osm18,187
语言:
Python
星标数:
506
分叉数:
80
简介:
Use Mask R-CNN/Keras/TensorFlow and OSM to find features in satellite images for fun.
martin-rizzo/AmazingZImageWorkflow18,191
语言:
Python
星标数:
506
分叉数:
37
简介:
Z-Image workflow with predefined styles for high-quality image generation and a user-friendly experience. Includes pre-configured versions for GGUF and SAFETENSORS checkpoint formats.
ryantsai/KKTerm18,193
语言:
TypeScript
星标数:
506
分叉数:
60
Dhravya/notty18,198
语言:
TypeScript
星标数:
505
分叉数:
61
简介:
An open source, minimal AI powered note taking app and powerful markdown editor
Intelligent-Internet/ii-researcher18,221
语言:
Python
星标数:
504
分叉数:
78
简介:
II-Researcher: a new open-source framework designed to aid building search / research agents
VelornLabs/velorn18,228
语言:
JavaScript
星标数:
504
分叉数:
72
简介:
AI-native video editing built around real creative timelines, generative workflows, and local agent control.
adewaskar/jarvis18,229
语言:
TypeScript
星标数:
504
分叉数:
218
简介:
J.A.R.V.I.S for automating your daily tasks using Claude Code
deonmenezes/mantishack18,256
语言:
Rust
星标数:
503
分叉数:
76
简介:
Mantis Hack
关键参数与规格
关键参数与规格
参数值
语言C++
类别Applications
子类别Specialists,Object detection
关键词Autonomous vehicles, Computer vision, IoT
星标数505
分叉数140
贡献者3
创建日期2020-03-22
更新日期2026-10-15
1 天星标数0
7 天星标数1
排名18,219
上次排名7,083
排名变化-11,136
7 天星标排名11,604
上次 7 天星标排名11,652
7 天星标排名变化48
总星标排名19,225
上次总星标排名19,189
总星标排名变化-36
国家Vietnam
README 摘录

OpenADAS - An advanced driver-assistance system using Jetson Nano An advanced driver-assistance system on Jetson Nano embedded computer with four main functions: forward collision warning, lane departure warning, traffic sign recognition and overspeed warning. This repository contains source code for Jetson Nano, not including the source code for model training and conversion. Documentation: **(Blog) Intro and Hardware:** . **(Documentation) OpenADAS:** *Design, CANbus, Calibration, Model training and deployment notes*: docs/open-adas. **(Documentation) How to setup on a Jetson Xavier:** docs

/setup-jetson-xavier. **For TensorRT 7 support:** Currently, only TensorRT 5 and 6 are supported. TensorRT 7 has a lot of deprecated APIs and I think there is no way to run this project directly with that version. I don't have time to continue with this project soon, so I really need your contributions to extend this project further. Quick setup on Jetson Nano: SD Card image I created an image of my SD card here. You can flash and

run this image on Jetson Nano. **Note:** The source code and binary files in this SD card image is older than in branch. Please upgrade to the lastest source code and recompile on your device. Use Alt+F4 to exit the GUI and start editing your source code. Login information: Compile from source Requirements: CMake >= 3. **This project should work with TensorRT 5 and TensorRT 6. 04 Setup Install QT: Install OpenCV Install protobuf 3. 1 Models and test data

Download models and testing data here and put into root folder of this project. Compile and Run Update : Modify in to suit your GPU. For Jetson Nano, GPU_ARCHS = 53 and for my RTX 2070, GPU_ARCHS = 75. Read more in following posts: + Compile Replace with your own path. Setup virtual CAN (run once) Run **Arguments:** | default: : Input source. | optional : Path to video file for simulation. | optional : Path to data file for simulation. | default: : On development machine or not. When

this value is set to , OpenADAS will be launched in fullscreen mode without mouse (touch UI). You should this value to in development environment. Specify and if you want to load a simulation scenario by default. Otherwise, you can select scenarios from simulation selector. **Issue: , ** **Note:** The paths can be different on your computer. **Issue: Qt5Multimedia missing** How to fix? **Issue: Need to specify CUDA root** How to fix? You should change the path corresponding to your environment. **Issue: Qt5

library not found** **Issue: SIOCGIFINDEX: No such device** References: Objects as Points - Xingyi Zhou, Dequan Wang, Philipp Krähenbühl: U-Net: Convolutional Networks for Biomedical Image Segmentation - Olaf Ronneberger, Philipp Fischer, Thomas Brox: Deep Residual Learning for Image Recognition - Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun: Dark Theme for Qt5 by Juergen Skrotzky: ICSim: .

常见问题

记录了多少星标和分叉?

vietanhdev/open-adas 有 505 个星标和 140 个分叉。

仓库排名是多少?

vietanhdev/open-adas 排名第 18,219。

记录的语言和类别是什么?

vietanhdev/open-adas 有 505 个星标,语言为 C++,类别为 Applications。

哪个仓库排名最接近?

vietanhdev/open-adas 与 Intelligent-Internet/ii-researcher 比较,后者排名第 18,221,有 504 个星标。

README

OpenADAS - An advanced driver-assistance system using Jetson Nano

An advanced driver-assistance system on Jetson Nano embedded computer with four main functions: forward collision warning, lane departure warning, traffic sign recognition and overspeed warning. This repository contains source code for Jetson Nano, not including the source code for model training and conversion.

Documentation:

  • (Blog) Intro and Hardware: .
  • (Blog) Software stack: .
  • (Blog) Deep neural networks: .
  • (Documentation) OpenADAS: Design, CANbus, Calibration, Model training and deployment notes: docs/open-adas.md.
  • (Documentation) How to setup on a Jetson Xavier: docs/setup-jetson-xavier.md.

For TensorRT 7 support: Currently, only TensorRT 5 and 6 are supported. TensorRT 7 has a lot of deprecated APIs and I think there is no way to run this project directly with that version. I don't have time to continue with this project soon, so I really need your contributions to extend this project further.

Quick setup on Jetson Nano: SD Card image

I created an image of my SD card here. You can flash and run this image on Jetson Nano.

Note:

  • The source code and binary files in this SD card image is older than in master branch. Please upgrade to the lastest source code and recompile on your device.
  • Use Alt+F4 to exit the GUI and start editing your source code.
  • Login information:
    • Username: smartcam.
    • Password: Open Terminal and type sudo passwd smartcam to change the password.

Compile from source

Requirements:

  • CMake >= 3.10
  • Qt 5
  • OpenCV >= 4.0.1
  • C++ 17 compiler
  • CUDA 10.x
  • TensorRT 5.1.5-1+cuda10.1, or - TensorRT 6.0.1.8+10.2. This project should work with TensorRT 5 and TensorRT 6. TensorRT 7 is not supported for now.

Setup for Linux - Ubuntu 18.04

Setup

  • Install QT:
sudo apt-get install build-essential
sudo apt-get install qt5-default qtcreator qt5-doc qt5-doc-html qtbase5-doc-html qtbase5-examples -y
sudo /sbin/ldconfig -v
  • Install OpenCV
https://linuxize.com/post/how-to-install-opencv-on-ubuntu-18-04/
  • Install protobuf 3.6.1
https://github.com/protocolbuffers/protobuf

Models and test data

  • Download models and testing data here and put into root folder of this project.

Compile and Run

  • Update GPU_ARCHS: Modify GPU_ARCHS in CMakeLists.txt to suit your GPU. For Jetson Nano, GPU_ARCHS = 53 and for my RTX 2070, GPU_ARCHS = 75. Read more in following posts: + +

  • Compile

cd 
mkdir build
cd build
cmake -DCUDA_INCLUDE_DIRS=/usr/local/cuda-10.2/include ..
make

Replace CUDA_INCLUDE_DIRS with your own path.

  • Setup virtual CAN (run once)
sudo bash setup_vcan.sh
  • Run
cd build/bin
./OpenADAS

Arguments:

  • --input_source | default: simulation : Input source. 'camera' or 'simulation'.
  • --input_video_path | optional : Path to video file for simulation.
  • --input_data_path | optional : Path to data file for simulation.
  • --on_dev_machine | default: true : On development machine or not. When this value is set to false, OpenADAS will be launched in fullscreen mode without mouse (touch UI). You should this value to true in development environment.

Specify input_video_path and input_data_path if you want to load a simulation scenario by default. Otherwise, you can select scenarios from simulation selector.

Known issues

Issue: cublas_v2.h not found

fatal error: cublas_v2.h: No such file or directory
 #include 
          ^~~~~~~~~~~~~
compilation terminated.
  • Step 1: Find lib: find /usr/local/ -name cublas_v2.h.
  • Step 2: Export to path: export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/local/cuda-10.2/targets/x86_64-linux/include/.
  • Step 3: Use CMake and build.

Issue: /usr/bin/ld: cannot find -lcudart, /usr/bin/ld: cannot find -lcublas

sudo ln -s /usr/local/cuda/lib64/libcudart.so /usr/lib/libcudart.so
sudo ln -s /usr/local/cuda/lib64/libcublas.so /usr/lib/libcublas.so

Note: The paths can be different on your computer.

Issue: Qt5Multimedia missing

Could not find a package configuration file provided by "Qt5Multimedia"
  with any of the following names:

    Qt5MultimediaConfig.cmake
    qt5multimedia-config.cmake

How to fix?

sudo apt-get install qttools5-dev-tools libqt5svg5-dev qtmultimedia5-dev

Issue: Need to specify CUDA root

[cmake] CMake Error at /usr/share/cmake-3.10/Modules/FindCUDA.cmake:682 (message):
[cmake]   Specify CUDA_TOOLKIT_ROOT_DIR

How to fix?

export CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-10.2/

You should change the path corresponding to your environment.

Issue: Qt5 library not found

 fatal error: QtWidgets/QCloseEvent: No such file or directory
 #include 
          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Issue: SIOCGIFINDEX: No such device

sudo bash setup_vcan.sh

References:

排名相邻
同类项目