Skip to content

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.

License

Notifications You must be signed in to change notification settings

koi-boy/open-adas

Repository files navigation

CarSmartCam

Smart dash camera for car.

I. DEVELOPMENT ENVIRONMENT AND BUILD

Requirements:

  • CMake >= 3.10

  • Qt 5

  • OpenCV >= 4.0.1

  • C++ 17 compiler

  • CUDA 10.1

  • TensorRT 5.1.5-1+cuda10.1

Setup for Linux - Ubuntu 18.04

Setup

  • Install QT:
sudo apt-get install build-essential
sudo apt-get install qtcreator
sudo apt-get install qt5-default
sudo apt-get install qt5-doc
sudo apt-get install qt5-doc-html qtbase5-doc-html
sudo apt-get install qtbase5-examples
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

Compile and Run

  • Compile
cd <project directory>
mkdir build
cd build
cmake -DCUDA_INCLUDE_DIRS=/usr/local/cuda-10.0/include ..
make
  • Run
./CarSmartCam

Known errors

  • /usr/bin/ld: cannot find -lcudart:
sudo ln -s /usr/local/cuda/lib64/libcudart.so /usr/lib/libcudart.so
  • /usr/bin/ld: cannot find -lcublas:
sudo ln -s /usr/local/cuda/lib64/libcublas.so /usr/lib/libcublas.so

III. REFERENCES:

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 83.3%
  • Cuda 6.9%
  • Python 5.4%
  • CMake 2.1%
  • C 1.7%
  • SWIG 0.4%
  • Other 0.2%