Skip to content

Latest commit

 

History

History
134 lines (86 loc) · 4.14 KB

README.md

File metadata and controls

134 lines (86 loc) · 4.14 KB

Contributors

LinkedIn


Logo

Cuda implementation of Local SVD Binary Pattern for real timeBackground Subtraction

This project implements some texture and color descriptors for real time background subtraction using cuda and opencv.

About The Project

Alt Text Alt Text

This projects aims to create a surveillance system that can be used to detect moving objects in a video stream.

We implemented two color descriptors: rgb and ycbcr and gray scale and three local binary pattern descriptors: lsbp, olbp and xcslbp.

For further details check our report Parallel_implementation_of_Local_SVD_Binary_Pattern_for_real_time_Background_Subtraction_using_CUDA.pdf

(back to top)

Built With

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally.

Prerequisites

You need opencv4 installed with cuda support.

Installation

  1. Install the prerequesites
  2. Clone the repo
    git clone https://github.com/texsmv/lsbp_background_subtraction
  3. Compile the project
    make

(back to top)

Usage

You can change some configurations on the config.cfg file.

  1. Place a video in data/video_input, like video1.mp4.
  2. Run the executable exe: with parameters: (height, width, inputName, outputName, 1, 0)
    ./exe 200 400 video1.mp4 video1_out 1 0
  3. Check the output in data/video output.

(back to top)

Some results

Synthetic video:

Alt Text Alt Text

Real video:

Alt Text Alt Text

Contact

Alexis Mendoza - amendozavil@unsa.edu.pe - alexis@paulonia.dev

Project Link: https://github.com/texsmv/lsbp_background_subtraction

(back to top)