Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
lirec:faceident_dev_log [2009-05-27 11:10] – created davegriffithslirec:faceident_dev_log [2009-05-27 11:27] davegriffiths
Line 11: Line 11:
 Also provide a test competency to try out reusable standard stuff for lirec (yarp, cross platform development, etc) Also provide a test competency to try out reusable standard stuff for lirec (yarp, cross platform development, etc)
  
-====Initial version====+====Initial version 0.1 [27th Feb 2009]====
  
   * Using squared sum of differences (SSD) to compare stored images with any faces found in the image.   * Using squared sum of differences (SSD) to compare stored images with any faces found in the image.
-  * Two modes+  * Faces can be any size in the image, but are smoothly scaled into a standard resolution for comparison and storage 
 +  * Two modes of operation
  
 ===Calibration Mode=== ===Calibration Mode===
  
-Look for all faces in the image, compare with stored faces and create a new identity if the difference is over a given threshold. Do this each from until switched into detect mode.+Look for all faces in the image, compare with stored faces and create a new identity if the difference is over a given threshold. Do this each frame until switched into detect mode. 
 + 
 +  * Uses a maximum count of faces, in order to prevent storing too many false detections
  
 ===Detection Mode=== ===Detection Mode===
Line 28: Line 31:
 <html><embed src="http://blip.tv/play/Ae_LII_+Sw" type="application/x-shockwave-flash" width="360" height="303" allowscriptaccess="always" allowfullscreen="true"></embed></html> <html><embed src="http://blip.tv/play/Ae_LII_+Sw" type="application/x-shockwave-flash" width="360" height="303" allowscriptaccess="always" allowfullscreen="true"></embed></html>
  
-====Further refinements====+====Thinking about usage [19th March 2009]==== 
 + 
 +* Adding user inteface for recording up to 10 people by pressing the number keys 
 +* Better output - rendering the recorded faces, and draws lines between them and the detected faces.  
 + 
 +====YARP interface [20th March 2009]==== 
 + 
 +Added a simple message to tell other programs which user is in view, with a confidence metric. 
 + 
 +^ /faceident user-id confidence-value ^ 
 + 
 +The program still needs to be driven by user input, calibrating it by recording people at startup. 
 + 
 +====More YARP, and persistence for INESC-ID [15 April 2009]==== 
 + 
 +New 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 | 
 + 
 +Loading and saving is done quickly, for the review - and just consists of saving images as png files and a quickly hacked together ascii format for mapping the images to the id numbers. 
  
 +Persistence across time via load and save to disk brings up problems - the computer vision will break when lighting changes too much, the saved faces will be too different from the visible ones. One possible workaround
 +would be to lower the error threshold and sneakily recalibrate for the most likely user at the start of a new session.
  
 +====
  
  
-  
  • lirec/faceident_dev_log.txt
  • Last modified: 2009-05-27 11:53
  • by davegriffiths