Back to project page miumo.
The source code is released under:
Apache License
If you think the Android project miumo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.miuno.motion_detection.detection; /*from w w w . j a v a 2 s . com*/ public interface IMotionDetection { /** * Get the previous image in integer array format * * @return int array of previous image. */ public int[] getPrevious(); /** * Detect motion. * * @param data * integer array representing an image. * @param width * Width of the image. * @param height * Height of the image. * @return boolean True is there is motion. * @throws NullPointerException * if data integer array is NULL. */ public boolean detect(int[] data, int width, int height); }