GithubHelp home page GithubHelp logo

apennisi / imbs-mt Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 2.0 303 KB

Multi-thread Background Subtraction Method.

License: GNU Lesser General Public License v3.0

CMake 1.20% C++ 98.80%
imbs-mt video linux foreground-extraction background-subtraction video-files avi cmake opencv fps

imbs-mt's Introduction

Independent Multimodal Background Subtraction multi-thread

Independent Multimodal Background Subtraction multi-thread (IMBS-MT) Library is a C++ library designed for performing an accurate foreground extraction in real-time. IMBS creates a multimodal model of the background in order to deal with illumination changes, camera jitter, movements of small background elements, and changes in the background geometry. A statistical analysis of the frames in input is performed to obtain the background model. Bootstrap is required in order to build the initial background model. IMBS exploits OpenCV functions.

Example 1 Example 2

The video below shows foreground extraction using IMBS-MT Parallel Multi-modal Background Subtraction on the [Town Centre Dataset] (http://www.robots.ox.ac.uk/ActiveVision/Research/Projects/2009bbenfold_headpose/project.html). Darker gray pixels are considered as shadow points.

Example 3

Requirements

IMBS-MT requires the following packages to build:

  • OpenCV (compatible with OpenCV 3.1)
  • C++11

How to build

IMBS-MT works under Linux, Mac Os and Windows environments. Please use the following command sequence to build the library:

Linux & Mac Os

  • mkdir build
  • cd build
  • cmake ../
  • make -j

Windows

  • Use the CMake graphical user interface to create the desired makefile CMake Homepage

How to use

IMBS-MT is provided with an usage example (main.cpp)

Linux

For video files:

$./imbs-mt -vid data/video.avi

For an image sequence (fps = 25 default value)

$./imbs-mt -img data/0.jpg

or you can specify the fps value

$./imbs-mt -img data/0.jpg -fps 7

Windows

For video files

>imbs-mt -vid data\video.avi

For an image sequence (fps = 25 default value)

>imbs-mt -img data\0.jpg

or you can specify the fps value

>imbs-mt -img data\0.jpg -fps 7

IMBS-MT webpage

You can find more information on IMBS-MT here.

imbs-mt's People

Contributors

apennisi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.