C++ implementation of Canny edge detector algorithm Reference Install OpenCV Build cpp file Install opencv Debian sudo apt-get install g++ sudo apt-get install libopencv-dev Arch sudo pacman -S gcc sudo pacman -S opencv Build and run make build make run