edu.berkeley.guir.papier_mache.test
Class InOutVision

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

public class InOutVision
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
InOutVision()
           
 
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
 java.lang.String phobToPerson(VisionPhob phob)
           
 void phobUpdated(PhobEvent phobEvent)
          Called when new information is available about a previously found object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InOutVision

public InOutVision()
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

phobToPerson

public java.lang.String phobToPerson(VisionPhob 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