Code Yarns ‍👨‍💻
Tech Blog ❖ Personal Blog

How to build FastHOG

📅 2014-Jan-23 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ cuda, fasthog, fltk, freeimage, hog, xinerama ⬩ 📚 Archive

FastHOG is a Histogram of Oriented Gradients (HOG) library that uses CUDA to compute on the GPU. The original source code can be obtained here. However, this code cannot be compiled with recent CUDA SDKs. I’ve made the changes needed to compile it and shared the code here.

To build and install this FastHOG in a few steps:

$ sudo apt install libxinerama-dev libfreeimage-dev
$ git clone
$ cd fasthog/source/fastHOG
$ make
$ bin/release/fastHOG

The test program displays an image of pedestrians. Click anywhere on it and the detected people will be drawn in red boxes.

Tried with: CUDA 5.5 and Ubuntu 12.04

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 • 📧