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
Next revisionBoth sides next revision
lirec:faceident [2009-03-30 14:01] davegriffithslirec:faceident [2009-04-15 16:26] davegriffiths
Line 18: Line 18:
 | /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" | Mostly frees up cpu usage |
 +
 +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 37: Line 51:
  
 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.txt
  • Last modified: 2009-05-27 10:50
  • by davegriffiths