Real-time traffic sign detection using Gielis curves
System requirements:
- Ubuntu 14.04
- CMake 2.8.12
- Eigen 3.2.0
- OpenCV 2.4.8
- GTest 1.6.0
sudo apt-get install cmake
The version available in Ubuntu 14.04 repositories is CMake 3.2.2
sudo apt-get install libeigen3-dev
The version available in Ubuntu 14.04 repositories is Eigen 3.2.0
sudo apt-get install libopencv-dev
The version available in Ubuntu 14.04 repositories is OpenCV 2.4.8
sudo apt-get install libgtest-dev
The version available in Ubuntu 14.04 repositories is GTest 1.6.0
However, this command only downloads the source that you need to compile.
cd /usr/src/gtest
sudo cmake CMakeLists.txt
sudo make
# copy or symlink libgtest.a and libgtest_main.a to your /usr/lib folder
sudo cp *.a /usr/lib
The version available in Ubuntu 14.04 repositories is GTest 1.6.1
- Create a build folder:
mkdir build
- Move to the created folder:
cd build
- Create the
MakeFile
via cmake:
cmake ../src
- Compile the code to generate the executable:
make
or make -j n
where n
is the number of cores to use for the compilation
-
A folder bin will be created at the same level as the build directory.
-
In order to run the code:
../bin/main ../test-images/different0035.jpg