plstcharles / embedded-bgsub

C++ Library/Apps for background subtraction on embedded/edge platforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

embedded-bgsub

C++ Library/Apps for background subtraction on embedded/edge platforms

ViBe

Right now the ViBe BS is the only one implemented, you can learn more about ViBe from:

http://www.telecom.ulg.ac.be/publi/publications/barnich/Barnich2011ViBe/index.html

Getting and Building

  • You need a development environment to build with:

    • Build tools (gcc, cmake)
    • OpenCV > 4.0
  • Open a terminal:

    Building OpenCV

    • sudo apt install build-essential cmake -y
    • create a new dir:
      • mkdir sky360
      • cd sky360
    • git clone https://github.com/opencv/opencv.git
    • mkdir build
    • cd build
    • cmake ..
    • cmake --build .
    • sudo cmake --install .

    Building the library/demo

    Running the demo

    • go to the sky360 directory
    • cd build/bin
    • embedded_bgsub_demo 0
      • The number is the camera number, you might need to change it to 1, 2

About

C++ Library/Apps for background subtraction on embedded/edge platforms


Languages

Language:C++ 59.6%Language:CMake 40.4%