Android Open Source - miumo I Motion Detection






From Project

Back to project page miumo.

License

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.

Java Source Code

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);
}




Java Source Code List

com.miumo.motion_detection.MotionDetectionActivity.java
com.miuno.motion_detection.detection.IMotionDetection.java
com.miuno.motion_detection.detection.RgbMotionDetection.java
com.miuno.motion_detection.image.ImageProcessing.java