Papers › A Deep Moving-camera Background Model

A Deep Moving-camera Background Model

16 Sep 2022arXiv:2209.07923archive 2025-07-28

Guy Erez, Ron Shapira Weber, Oren Freifeld

In video analysis, background models have many applications such as background/foreground separation, change detection, anomaly detection, tracking, and more. However, while learning such a model in a video captured by a static camera is a fairly-solved task, in the case of a Moving-camera Background Model (MCBM), the success has been far more modest due to algorithmic and scalability challenges that arise due to the camera motion. Thus, existing MCBMs are limited in their scope and their supported camera-motion types. These hurdles also impeded the employment, in this unsupervised task, of end-to-end solutions based on deep learning (DL). Moreover, existing MCBMs usually model the background either on the domain of a typically-large panoramic image or in an online fashion. Unfortunately, the former creates several problems, including poor scalability, while the latter prevents the recognition and leveraging of cases where the camera revisits previously-seen parts of the scene. This paper proposes a new method, called DeepMCBM, that eliminates all the aforementioned issues and achieves state-of-the-art results. Concretely, first we identify the difficulties associated with joint alignment of video frames in general and in a DL setting in particular. Next, we propose a new strategy for joint alignment that lets us use a spatial transformer net with neither a regularization nor any form of specialized (and non-differentiable) initialization. Coupled with an autoencoder conditioned on unwarped robust central moments (obtained from the joint alignment), this yields an end-to-end regularization-free MCBM that supports a broad range of camera motions and scales gracefully. We demonstrate DeepMCBM's utility on a variety of videos, including ones beyond the scope of other methods. Our code is available at https://github.com/BGU-CS-VIL/DeepMCBM .

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2209.07923")

Code

Syntology Ran 8 of 10 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 5 ran · fixture could not drive it.

By repository: official repository: 10 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bgu-cs-vil/deepmcbm officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 8 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
5ran · fixture could not drive it
2unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from BGU-CS-VIL/DeepMCBM. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

affine_warp BGU-CS-VIL/DeepMCBM/src/BMN.py official repository ran · fixture could not drive it MIT (permissive) · 75786188ad2fbe6e · report
create_pixel_stack BGU-CS-VIL/DeepMCBM/src/BMN.py official repository ran · fixture could not drive it MIT (permissive) · 743452a3eb2ee8c1 · report
get_grids BGU-CS-VIL/DeepMCBM/src/BMN.py official repository ran · our draft was wrong MIT (permissive) · f2974723c2e7d212 · report
homography_warp BGU-CS-VIL/DeepMCBM/src/BMN.py official repository ran · fixture could not drive it MIT (permissive) · ad403c0a82e10079 · report
trim_pixel_stack BGU-CS-VIL/DeepMCBM/src/BMN.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 55a9adb3d42575f9 · report
vec_to_perpective_matrix BGU-CS-VIL/DeepMCBM/src/BMN.py official repository ran · fixture could not drive it MIT (permissive) · 57a0fe3493fb5ce4 · report
warp_inv BGU-CS-VIL/DeepMCBM/src/BMN.py official repository ran · our draft was wrong MIT (permissive) · 65eb6ff441527c87 · report
weighted_average BGU-CS-VIL/DeepMCBM/src/BMN.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 2cc6784d503beafa · report
BMN BGU-CS-VIL/DeepMCBM/src/BMN.py official repository unverified MIT (permissive) · c4a327e70cd8548f · report
trim_pixel_stack_ BGU-CS-VIL/DeepMCBM/src/BMN.py official repository unverified MIT (permissive) · fac5bd4846e7a1b5 · report

Tasks

Change DetectionVideo Background Subtractionmodel

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Video Background Subtraction DAVIS 2017 (bmx-trees) DeepMCBM (Basic/Hom) AUC 0.916 #1 of 1 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (boxing-fisheye) DeepMCBM (Basic/Hom) AUC 0.927 #1 of 1 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (breakdance-flare) DeepMCBM (CAE/Hom) AUC 0.963 #1 of 1 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (continuousPan) DeepMCBM (CAE/Aff) AUC 0.94 #1 of 1 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (dog-gooses) DeepMCBM (CAE/Aff) AUC 0.984 #1 of 2 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (dog-gooses) DeepMCBM (CAE/Hom) AUC 0.984 #2 of 2 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (flamingo) DeepMCBM (CAE/Aff) AUC 0.98 #1 of 2 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (flamingo) DeepMCBM (CAE/Hom) AUC 0.98 #2 of 2 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (horsejump-high) DeepMCBM (CAE/Hom) AUC 0.943 #1 of 1 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (sidewalk) DeepMCBM (CAE/Hom) AUC 0.932 #1 of 1 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (stroller) DeepMCBM (Basic/Aff) AUC 0.877 #1 of 1 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (stunt) DeepMCBM (CAE/Aff) AUC 0.979 #1 of 1 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (swing) DeepMCBM (CAE/Hom) AUC 0.897 #1 of 1 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (tennis) DeepMCBM (CAE/Hom) AUC 0.963 #1 of 1 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (zoomInZoomOut) DeepMCBM (CAE/Aff) AUC 0.994 #1 of 2 Archive leaderboard report
Video Background Subtraction DAVIS 2017 (zoomInZoomOut) DeepMCBM (CAE/Hom) AUC 0.994 #2 of 2 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Spatial Transformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections