MOG2 Background Substitution

Does TD have built in support for MOG2 background substitution?
If not how would you achieve comparable results with simple webcam input?