public class WebcamMotionEvent extends EventObject
Constructor and Description |
---|
WebcamMotionEvent(WebcamMotionDetector detector,
double strength,
Point cog)
Create detected motion event.
|
Modifier and Type | Method and Description |
---|---|
double |
getArea()
Get percentage fraction of image covered by motion.
|
Point |
getCog() |
getSource, toString
public WebcamMotionEvent(WebcamMotionDetector detector, double strength, Point cog)
detector
- strength
- cog
- center of motion gravityCopyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.