edu.berkeley.guir.papier_mache.test
Class InOutRFID

java.lang.Object
  extended by edu.berkeley.guir.papier_mache.test.InOutRFID
All Implemented Interfaces:
java.util.EventListener, PhobListener

public class InOutRFID
extends java.lang.Object
implements PhobListener

The phobs of the outClassifier have their centers within the first column (pixels 0-100). Phobs of the inClassifier have their centers within the second column (pixels 100-200) of the processed data. The y coordinate specifies the person seen in the phobToPerson method.

Author:
Jack Li ( jack(AT)eecs{DOT}berkeley{DOT}edu )

Constructor Summary
InOutRFID()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void phobAdded(PhobEvent phobEvent)
          Called when a PhobProducer has sensed a new object
 void phobRemoved(PhobEvent phobEvent)
          Called when an object is removed from a PhobProducer's sensor
 void phobUpdated(PhobEvent phobEvent)
          Called when new information is available about a previously found object
 java.lang.String rfidPhobToPerson(Phob phob)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InOutRFID

public InOutRFID()
Method Detail

main

public static void main(java.lang.String[] args)

phobAdded

public void phobAdded(PhobEvent phobEvent)
Description copied from interface: PhobListener
Called when a PhobProducer has sensed a new object

Specified by:
phobAdded in interface PhobListener
Parameters:
phobEvent - an event describing the found object

rfidPhobToPerson

public java.lang.String rfidPhobToPerson(Phob phob)

phobUpdated

public void phobUpdated(PhobEvent phobEvent)
Description copied from interface: PhobListener
Called when new information is available about a previously found object

Specified by:
phobUpdated in interface PhobListener
Parameters:
phobEvent - an event with new information about the found object

phobRemoved

public void phobRemoved(PhobEvent phobEvent)
Description copied from interface: PhobListener
Called when an object is removed from a PhobProducer's sensor

Specified by:
phobRemoved in interface PhobListener
Parameters:
phobEvent - an event referencing the removed object