Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lirec:faceident [2009-03-30 14:01] davegriffithslirec:faceident [2009-05-27 10:50] (current) davegriffiths
Line 1: Line 1:
 ======FaceIdent====== ======FaceIdent======
 +
 +See also [[FaceIdent dev log]]
  
 A simple approach to face identification, built on top of OpenCV and given a  A simple approach to face identification, built on top of OpenCV and given a 
Line 18: Line 20:
 | /faceident | "user appeared" ID confidence | A user has entered the view of the camera | | /faceident | "user appeared" ID confidence | A user has entered the view of the camera |
 | /faceident | "user disappeared" ID | The user has left the camera view | | /faceident | "user disappeared" ID | The user has left the camera view |
 +
 +You can also drive the program via yarp with the following input messages:
 +
 +^ Input port ^ Bottle contents ^ Meaning ^
 +| /faceident-ctrl | "train" ID | Train for this user |
 +| /faceident-ctrl | "detect" | Switch to detection mode |
 +| /faceident-ctrl | "save" sessionname | Save the detected faces  |
 +| /faceident-ctrl | "load" sessionname | Load previously detected faces  |
 +| /faceident-ctrl | "clear" | Clears all faces |
 +| /faceident-ctrl | "idle" | Switch to idle mode, mostly frees up cpu |
 +
 +Faces are saved in png format along with a text file to map them to id numbers. The sessionname 
 +will be prepended onto the filenames for the text file and the image files, so you can save 
 +multiple sessions.
  
 Keys: Keys:
Line 38: Line 54:
 Todo: Todo:
   * Try normalised cross correlation instead of image differencing   * Try normalised cross correlation instead of image differencing
 +  * Expose image size and error threshold via yarp
 +  * Use tinyxml or something better for the serialisation
  
 Source code: [[http://svn.lirec.eu/foam/trunk/simple-faceident/]] Source code: [[http://svn.lirec.eu/foam/trunk/simple-faceident/]]
  
  
  • lirec/faceident.1238421690.txt.gz
  • Last modified: 2009-03-30 14:01
  • by davegriffiths