<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Movie Content Analysis Project (MoCA)</title>
    <link rel="stylesheet" href="2col_leftNav.css" type="text/css" />
    <style type="text/css">.Stil1 {font-family: "Courier New", Courier, mono}</style>
  </head>
<body>
<div id="masthead">
  <TABLE CELLPADDING=10 WIDTH="100%" >
  <TR>
  <TD><IMG SRC="MoCA-medium.jpg" HEIGHT=150 WIDTH=150></TD>
  <TD VALIGN=BOTTOM WIDTH="100%">
      <B>Automatic Movie Content Analysis</B>
      <H1>The MoCA Project</H1>
  </TD>
  </TR>
  </TABLE>
</div>

<div id="content">
  <br><h2 id="detectfaces"><a name="detectfaces" id="detectfaces"></a>detectfaces</h2>
    <p>
      Detects and localizes faces in frontal view.
    </p>
</div>

<div id="content">
  <br><h2 id="Options"><a name="Options"></a>Options</h2> 
  <div class="feature">
    <p>
      <TABLE BORDER NOSAVE >
        <TR NOSAVE>
          <TD VALIGN=TOP NOSAVE>-video<br />
                                -v</TD>
          <TD NOSAVE>&lt;video_directory> // e.g. e:/video/ForrestGump/<br />
                     &lt;video_name> // e.g. ForrestGump.mpg<br />
                     &lt;first frame# = first video frame> // e.g. 4100<br />
                     &lt;last frame# = last video frame> // e.g. 4200<br />
                     &lt;step size = 3 frames> // e.g. 5</TD>
          <TD VALIGN=TOP NOSAVE>required</TD>
        </TR>

        <TR NOSAVE>
          <TD VALIGN=TOP NOSAVE>-fast<br />
                                -f</TD>
          <TD>&lt;int><br />
              size (in pixels) of smallest face in frontal view that can be detected. Must be >= 20. For instance "-fast 40" accelerates search extremely.<br />
              default: 20</TD>
          <TD VALIGN=TOP NOSAVE>optional</TD>
        </TR>

        <TR NOSAVE>
          <TD VALIGN=TOP NOSAVE>-color<br />
                                -c</TD>
          <TD>switch; use color information of image to accelerate search; frontal faces are only searched in skin color like regions.</TD>
          <TD VALIGN=TOP NOSAVE>optional</TD>
        </TR>

        <TR NOSAVE>
          <TD VALIGN=TOP NOSAVE>-rotate<br />
                                -ro</TD>
          <TD>&lt;step angle> &lt;# of steps in each direction><br />
              search also for rotated faces; For instance, "-ro 10 1" means that the face detector is applied to the orginal image 
              and to the images rotated by 10 degrees clock- and counterclockwise.</TD>
          <TD VALIGN=TOP NOSAVE>optional</TD>
        </TR>

        <TR NOSAVE>
          <TD>-report<br />
              -r</TD>
          <TD>switch; output detection result to file "&lt;video_directory>/measurements/detectFacesLocations/frame#.txt"</TD>
          <TD VALIGN=TOP NOSAVE>optional</TD>
        </TR>

        <TR NOSAVE>
          <TD>-out<br />
              -o</TD>
          <TD VALIGN=TOP NOSAVE>store marked faces as JPEG images named "frame#.jpg"; only Sun Solaris</TD>
          <TD VALIGN=TOP NOSAVE>optional</TD>
        </TR>
      </TABLE>
    </p>
  </div>
</div>

<div id="content">
  <br><h2 id="Example"><a name="Example"></a>Example</h2> 
  <div class="feature">
    <p>
      detectfaces -v /opt/Movies/ViCAS/ForrestGump/ForrestGump.mpg 4113 4500 3 -ro 10 1 -c -fast 40 -r
    </p>
    
    <P>By this command line the faces in frontal view (at least 40by 40 pixels large) are located in the movie ForrestGump from frame 4113 to 4500. 
       Every 3th frame is processed. The output looks like
         <ul>
           frame 4113 Thu Jun 4 13:28:34 1998<br />
           1 176 92 69 10<br />
           frame 4116 Thu Jun 4 13:28:42 1998<br />
           1 176 92 84 0<br />
           frame 4119 Thu Jun 4 13:28:50 1998<br />
           1 174 92 58 0<br />
           frame 4122 Thu Jun 4 13:28:58 1998<br />
           1 169 93 58 10<br />
           frame 4125 Thu Jun 4 13:29:07 1998<br />
           1 164 94 69 0<br />
           ....<br />
         </ul>
       The output shoud be read in the following way: For each frame n which is processed "frame &lt;no> &lt;starting date/time of search>" 
       is output followed by a list of localized faces. Each localized face is described in its own text line. The first integer specifies the 
       running face number in the frame. It is followed by the position (x,y) of the face (center) and the size of the face. The last parameter specifies 
       at which rotation angle the face was detected.
    </P>
  </div>
</div>

<!--end content --> 
<div id="navBar"> 
  <div id="search">  </div> 
  <div id="sectionLinks"> 
    <ul> 
      <li><a href="index.html#Overview">Overview</a></li> 
      <li><a href="index.html#Projects">Projects</a></li> 
      <li><a href="index.html#MoCA People">MoCA People</a></li> 
      <li><a href="index.html#Downloads">Downloads</a></li>
      <li><a href="index.html#Publications">Publications</a></li> 
    </ul>
  </div>
  <div class="relatedLinks"></div>
</div>
<div id="siteInfo">  <a href="http://www.informatik.uni-mannheim.de/pi4/">Praktische Informatik IV</a> |
  <a href="http://www.informatik.uni-mannheim.de/pi4/people/kopf">Contact</a> |
  &copy;2005 Praktische Informatik IV, University of Mannheim</div>
</body>
</html>
