Skip to content

Free space and obstacle detection using occupancy grids with OpenCV and CUDA

License

Notifications You must be signed in to change notification settings

misaleh/Free-space-and-obstacle-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Free Space and obstacle detection using occupancy grids

Tools: OpenCV 2.4, C++, CUDA.

This impelementaion is based on Free Space Computation Using Stochastic Occupancy Grids and Dynamic Programming with some modifications.

The code is tested with Zed stereo camera and nvidia jetson tk1, and the parameters depend on the camera(calibraion) and the position of the camera.

This repo is still under development.

To make cpu and gpu code

type make then make run

To make CPU only, remove #define GPU from main.cpp

type make cpu then make run_cpu

To make GPU only, remove #define CPU from main.cpp

type make gpu then make run_gpu

Input image and its Depth

Polar Occypancy Grid with different sizes

Cartesian Occypancy Grid with different sizes

Segmentation of polar grid

Thresholding

Free space

Dynamic programming

Free space

GPU Implementation

About

Free space and obstacle detection using occupancy grids with OpenCV and CUDA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published