Optimising resource allocation for background modeling using algorithm switching | IEEE Conference Publication | IEEE Xplore