www.pudn.com > colortracker.rar > ColorTracker.tex



\documentclass[11pt]{article}

\topmargin 0.0cm \oddsidemargin 0.2cm \textwidth 16cm \textheight
21cm \footskip 1.0cm

\title{ MPLab Face Tracker Version 2.0 Instructions}
\author{ Josh Susskind, John Hershey, Javier Movellan }

\begin{document}

\maketitle

\section{License}
Copyright (C) Machine Perception Laboratory, \\
University of California San Diego. \\

This product belongs to the University of California San Diego.
Permission is granted to any person to use it and distribute it
for non-commercial purposes. For commercial licenses please
contact the UC San Diego Machine Perception Laboratory at
http://mplab.ucsd.edu. Please provide appropriate
acknowledgements.

\section{System requirements}

    \begin{itemize}
        \item Microsoft Windows 2000/XP
        \item Intel Pentium 1.0 GHz or higher
        \item USB Web Camera
        \item Microsoft DirectX 8.0 Drivers or higher \\
        (download from \tt{http://www.microsoft.com/directx})
    \end{itemize}

\section{Installation}

\begin{enumerate}

  \item  Run INSTALL.cmd

    \begin{itemize}
        \item A dialog box will confirm registration of activeX control
        \item MPLabTracker2.0.exe will be copied to main directory
    \end{itemize}

  \item Edit the client.ini file

    \begin{itemize}
        \item Switch between using socket communication or no outside communication
        \item Edit the ip address and port number of listening socket
    \end{itemize}

  \item Make sure Web camera is plugged in and necessary driver software has been installed
\end{enumerate}

\section{Running the tracker}

Execute MPLabTracker2.0.exe.

    \begin{itemize}
        \item The green box represents the color tracking results.
        \item The purple box represents the feature tracking results.
    \end{itemize}

\section{Socket communication}

\emph{Bytes are streamed from the tracker application
asynchronously if the \textbf{socketio} option is set to 1 in the
client.ini file.} \\

Use the example socket application as a guide for building custom
listening applications. Each message passed by the color tracker
via sockets is comprised of:\newline

\begin{tabular}{|r||l|r|l|l|l|}
    \hline
Order & Variable & Value & Number of bytes & Data type & Description \\
    \hline \hline
 1 & Start & + & 1 & char & Start of message \\
    \hline
 2 & Reset & 1 & 4 & integer & Unused - future release \\
    \hline
 3 & Mean x & & 4 & integer & Mean x-coord of face \\
    \hline
 4 & Mean y & & 4 & integer & Mean y-coord of face \\
    \hline
 5 & Size x & & 4 & integer & Width of face \\
    \hline
 6 & Size y & & 4 & integer & Height of face \\
    \hline
 7 & Window x & & 4 & integer & Width of tracking window \\
    \hline
 8 & Window y & & 4 & integer & Height of tracking window \\
    \hline
 9 & End & - & 1 & char & End of message \\
    \hline
\end{tabular}\newline

\end{document}