andrewssobral/bgslibrary
A C++ Background Subtraction Library with wrappers for Python, MATLAB, Java and GUI on QT observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 84
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4581
- days_rel: n/a
- days_push: 97
- n_releases_24m: 0
Adoption not part of the score
2277 stars · 736 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
BGSLibrary is a C++ framework for background subtraction in video, offering 43 algorithms for foreground-background separation built on OpenCV. It includes wrappers for Python, MATLAB, and Java, plus a Qt-based GUI, and works on Windows, Linux, and macOS.
Use cases
- detect moving objects in video streams
- separate foreground from background in surveillance footage
- compare background subtraction algorithms on benchmark videos
- use background subtraction from Python with OpenCV
- build a people or vehicle counter from camera video
- experiment with motion detection algorithms in C++
When to choose
- you need many background subtraction algorithms behind one API
- you want OpenCV-compatible C++ code with Python bindings
- you're researching or benchmarking foreground detection methods
- you need MIT-licensed code usable in commercial projects
When to avoid
- you need deep-learning-based video segmentation rather than classical methods
- you want a ready-made application rather than a library to integrate
- your project doesn't use OpenCV and you can't add it as a dependency
Facets
library · maturity active
computer-vision image-processing video-processing computer-vision image-processing cpp python cross-platform windows background-subtraction opencv foreground-detection moving-object-detection motion-detection video-analysis pybgs video linux macos
1 source
- readme: https://github.com/andrewssobral/bgslibrary · fetched 2026-08-28 · aa7df247a292
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| andrewssobral/bgslibrary | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="andrewssobral/bgslibrary")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem