ViBe background subtraction, free of charge

Due to copyright and patent infringments, we have been forced to change our distribution policy; we apologize for this.

The following programs are accessible to academic researchers only (follow the links, and ask for the permission to download the programs. Please provide some evidence that you are a researcher in an academic institution; requests from gmail, yahoo, hotmail, 163, etc, e-mail accounts will be refused). If you are working for a company, or want to use it for fun, please contact:

Windows and Linux users: benchmark ViBe on your machine

Download an archive archive [15 MB] and there you go. Just read the README file to use it.

Windows and Linux users: try it, run a full version, or save segmentation maps on your own sequences

Download an archive archive [16 MB] to use ViBe on Windows (or under Wine in Linux). Unzip the archive and run the "vibe" (or "vibe.bat") file to launch an interface. Then select "File -> Open video file for COLOR processing" and choose "sequence" (or "sequence.avi").
The program is safe to install and to run: it does not require Administration rights nor does it modify the Windows registry.

The program allows you to run ViBe on your own sequences and to experiment with the few parameters (also working with Wine in Linux).

  To read from myvideo.avi, specify some parameters, display both images, and ouput a sequence of jpeg files:
  vibe-rgb.exe -i myvideo.avi --subsampling-factor 32 -o result-%010d.jpg

Linux developers: add a powerful C/C++ background subtraction library [ViBe] to your own software

We provide the object (compiled, 32 bits) code library of a background subtraction technique (ViBe) for non-commercial applications. Please feel free to link it to your own software and to test it. There is no limitation in the number of processed frames.
Under Linux, get the libraries for 32 or 64 bits systems at Then uncompress the archive and do

   cd vibe-background-xxbits       // where xx is 32 or 64 
vibe-background.o is the object file implementing ViBe and whose interface is given in vibe-background.h.
Now add the background subtraction library to your main file:
   gcc -o main -std=c99 -O3 your-main-file.c vibe-background-sequential.o
and there you get the background of your video sequence.

Follow this link for the full documentation of this library.
This packages show how to use ViBe with OpenCV [see the main-opencv.cpp file].

See main description for all the details (publications, executive summary, etc) of ViBe.

ULg      Institut Montefiore