... // Access First Webcam VideoCapture cap = new VideoCapture(640, 480); // Process Video VideoDisplay.createOffscreenVideoDisplay(cap) .addVideoListener( new VideoDisplayListener() { public void beforeUpdate(MBFImage frame) { ... MBFImage diff = frame.subtract(last).abs(); last = frame.clone(); ... } ... // Find the features DoGSIFTEngine eng = new DoGSIFTEngine(); LocalFeatureList sourceFeats =
![OpenIMAJ: Open Intelligent Multimedia Analysis](https://cdn-ak-scissors.b.st-hatena.com/image/square/b4cbe9508ff3015005daf5de070691ab7415348f/height=288;version=1;width=512/http%3A%2F%2Fopenimaj.org%2Fimages%2FOpenImaj-sq.png)