Add global params inter filter and add example in template facedetect. Python only.