2 <effect tag="frei0r.facedetect" id="frei0r.facedetect">
3 <name>Face detect</name>
4 <description>Detect faces and draw shapes on them using OpenCV</description>
5 <author>binarymillenium, Dan Dennedy</author>
7 <parameter type="simplekeyframe" name="Search scale" default="120" min="110" max="1000" factor="1000">
8 <name>Search scale</name>
9 <comment>The search window scale factor. For example, 120 = 1.20 = increases by 20% on each pass.</comment>
12 <parameter type="simplekeyframe" name="Neighbors" default="2" min="1" max="10" factor="100">
13 <name>Neighbors</name>
14 <comment>Minimum number of rectangles that determines an object.</comment>
17 <parameter type="simplekeyframe" name="Smallest" default="0" min="0" max="1000" factor="1000">
19 <comment>The minimum window size in pixels.</comment>
22 <parameter type="constant" name="Recheck" default="25" min="0" max="1000" factor="1000" suffix="frames">
24 <comment>How often to detect a face. In between checks, it does object motion tracking.</comment>
27 <parameter type="list" name="Shape" default="0.0" paramlist="0.0,0.1,0.2,1.0">
28 <paramlistdisplay>circle,ellipse,rectangle,random</paramlistdisplay>
32 <parameter type="constant" name="Stroke" default="0" min="0" max="100" factor="100" suffix="pixels">
33 <name>Stroke width</name>
34 <comment>0 means fill; otherwise, draw unfilled with a stroke width of this size.</comment>
37 <parameter type="constant" name="Alpha" default="100" min="0" max="100" factor="100" suffix="%">
39 <comment>Set the alpha channel of the shape area to a percentage of fully opaque.</comment>
42 <parameter type="bool" name="Antialias" default="0">
43 <name>Antialias</name>
44 <comment>Draw with anti-aliasing?</comment>
46 <!-- The color parameters have a bug in the recent 1.3 release of frei0r.
47 Wait some time or next release to enable these. -->
49 <parameter type="color" name="Color 1" default="0xFFFFFF">
51 <comment>Set the shape color of the first detected face.</comment>
54 <parameter type="color" name="Color 2" default="0x007FFF">
56 <comment>Set the shape color of the second detected face.</comment>
59 <parameter type="color" name="Color 3" default="0x00FFFF">
61 <comment>Set the shape color of the third detected face.</comment>
64 <parameter type="color" name="Color 4" default="0x00FF00">
66 <comment>Set the shape color of the fourth detected face.</comment>
69 <parameter type="color" name="Color 5" default="0xFF7F00">
71 <comment>Set the shape color of the fifth detected face.</comment>