offlinemot.objects_classes.TrafficObj.set_bg_substract

TrafficObj.set_bg_substract(ok)[source]

save the result of the current background subtraction.

Parameters

ok (boolean) – Whether moving object found or not