A C++ based library for curb detection