public class TouchTableDemo extends Object implements VideoDisplayListener<MBFImage>
Modifier and Type | Field and Description |
---|---|
static int |
BIGGEST_POINT_AREA |
static int |
BIGGEST_POINT_DIAMETER |
Rectangle |
extractionArea |
static int |
SMALLEST_POINT_AREA |
static int |
SMALLEST_POINT_DIAMETER |
Constructor and Description |
---|
TouchTableDemo() |
Modifier and Type | Method and Description |
---|---|
void |
afterUpdate(VideoDisplay<MBFImage> display)
Called when the video display is updated and the next frame
is displayed
|
void |
beforeUpdate(MBFImage frame)
Called when the video is about to update
|
static void |
main(String[] args) |
public static final int SMALLEST_POINT_AREA
public static final int BIGGEST_POINT_AREA
public static final int SMALLEST_POINT_DIAMETER
public static final int BIGGEST_POINT_DIAMETER
public Rectangle extractionArea
public TouchTableDemo() throws IOException
IOException
public static void main(String[] args) throws IOException
IOException
public void afterUpdate(VideoDisplay<MBFImage> display)
VideoDisplayListener
afterUpdate
in interface VideoDisplayListener<MBFImage>
display
- the video displaypublic void beforeUpdate(MBFImage frame)
VideoDisplayListener
beforeUpdate
in interface VideoDisplayListener<MBFImage>
frame
- the frame about to be displayed