Skip to content

yxyfer/GPGPU_Project

 
 

Repository files navigation

GPGPU - Simple Object Detection

Alt Text

Authors

  • Moustapha Diop
  • Mathieu Rivier
  • Othman Elbaz
  • Lucas Pinot

Running the project:

Running a video (in images format):

To run a a video file (that is given in a folder) as images use:

  • your images have to be named thumb{num}.jpg (or change the name in the command bellow)
make build
make gpu_run path=../images/{your folder}/thumb*.jpg
make clean # to clean and delete the build folder

Running the program once (with our test images):

make build
make gpu_test
make clean # to clean and delete the build folder

Running the program once (with our test images) (CPU):

make build
make cpu_test
make clean # to clean and delete the build folder

Running the benchmarks (CPU):

make build
make bench_cpu
make clean # to clean and delete the build folder

Running the benchmarks (GPU):

make build
make bench_gpu
make clean # to clean and delete the build folder

Project Architecture

Basics:

The code is located in the src folder while the header files are in the includes folder.

The paper.pdf is the report that represents the final output and results of this project.

.
├── src
├── includes
├── images
├── visu
├── Makefile
└── paper.pdf

Code Architecture

src
├── CMakeLists.txt
├── bench
│   ├── bench_cpu.cpp
│   └── bench_gpu.cpp
├── cpu
│   ├── CMakeLists.txt
│   ├── bbox_cpu.cpp
│   ├── blur_cpu.cpp
│   ├── detect_obj_cpu.cpp
│   ├── main_cpu.cpp
│   ├── opening.cpp
│   └── threshold
│       ├── connexe_components_cpu.cpp
│       ├── otsu_cpu.cpp
│       └── threshold_cpu.cpp
├── gpu
│   ├── CMakeLists.txt
│   ├── bbox_gpu.cu
│   ├── blurr_gpu.cu
│   ├── detect_obj_gpu.cu
│   ├── difference_gpu.cu
│   ├── gray_scale_gpu.cu
│   ├── helpers_gpu.cu
│   ├── main_gpu.cpp
│   ├── opening_closing_gpu.cu
│   ├── threshold
│   │   ├── connexe_components_gpu.cu
│   │   ├── otsu_gpu.cu
│   │   └── threshold_gpu.cu
│   └── utils_gpu.cu
├── helpers_images.cpp
└── struct_utils.cpp

Different Outputs of the Program:

Alt Text Alt Text Alt Text

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 77.1%
  • C++ 10.6%
  • Cuda 8.1%
  • CMake 3.7%
  • Python 0.4%
  • Makefile 0.1%