edu.berkeley.guir.papier_mache.test
Class BarcodeTest

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

public class BarcodeTest
extends java.lang.Object
implements PhobListener

Finds barcodes in an image.

Author:
Scott Klemmer ( srk(AT)cs.berkeley.edu ), Ray Su ( raysu(AT)cal.berkeley.edu )

Constructor Summary
BarcodeTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void phobAdded(PhobEvent barcodeEvent)
          Called when a PhobProducer has sensed a new object
 void phobRemoved(PhobEvent barcodeEvent)
          Called when an object is removed from a PhobProducer's sensor
 void phobUpdated(PhobEvent barcodeEvent)
          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

BarcodeTest

public BarcodeTest()
Method Detail

main

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

phobAdded

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

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

phobUpdated

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

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

phobRemoved

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

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