ViBe background subtraction C code download free of charge

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

Download an archive zip archive [10 MB - latest version: May 19, 2011] 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). See the README.txt file of zip archive for full details. Example:

  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
Note however that the program purposely stops after 10.000 processed frames and 5 minutes.

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

and
   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 vibe-background.o  your-main-file.c
   main
and there you get the background of your video sequence.

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

Illustrations

View from the roof of a house

ULg      Institut Montefiore