public class VideoFeatureExtraction extends Object implements VideoDisplayListener<MBFImage>, KeyListener
| Constructor and Description |
|---|
VideoFeatureExtraction(JComponent window)
Default constructor
|
| 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
|
void |
keyPressed(KeyEvent e) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
static void |
main(String[] args)
Default main
|
public VideoFeatureExtraction(JComponent window) throws IOException
window - The window to display the demo inIOExceptionpublic void afterUpdate(VideoDisplay<MBFImage> display)
VideoDisplayListenerafterUpdate in interface VideoDisplayListener<MBFImage>display - the video displaypublic void beforeUpdate(MBFImage frame)
VideoDisplayListenerbeforeUpdate in interface VideoDisplayListener<MBFImage>frame - the frame about to be displayedpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic static void main(String[] args) throws IOException
args - Command-line argumentsIOException