Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
lirec:faceident [2009-03-30 14:01] davegriffithslirec:faceident [2009-04-15 10:06] 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 out of training mode |
 +| /faceident-ctrl | "save" sessionname | Save the detected faces  |
 +| /faceident-ctrl | "load" sessionname | Load previously detected faces  |
 +| /faceident-ctrl | "clear" | Clears all faces |
 +
 +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:
  • lirec/faceident.txt
  • Last modified: 2009-05-27 10:50
  • by davegriffiths