Code Monkey home page Code Monkey logo

android_ocv_movement_detection's Introduction

This project contains two tech demos using the OpenCV Android library. A sample app is provided on the app store at https://play.google.com/store/apps/details?id=com.ocv.objectdetect

The CameraOCVDetect folder contains the code that uses the BackgroundSubtractorMOG algorithm from the OpenCV library to detect movement from the smartphone/tablet's camera and draws some contours around the objects that are moving.

The FoscamOCVDetect folder contains the code that uses Foscam data, which is a wireless camera that it broadcasts its feed online, by taking a snapshot of the current frame before using the BackgroundSubtractorMOG algorithm to detect movement and draw contours.

In order to utilize both libraries, the OpenCV Manager must be first installed on the Android device and more information about adding OpenCV to Android apps can be found at: http://opencv.org/

android_ocv_movement_detection's People

Contributors

handong32 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

android_ocv_movement_detection's Issues

Ignore device movement

This app always show movements while holding in hand except in hands of trained sniper. It is be good if app learned to discard movements caused by inaccurate device holding

import com.ocv.objectdetect.R;

I tried using this code with OpenCv 3.1 as 2.4.3 is not there anymore. However, I have problem importing this:
import com.ocv.objectdetect.R;

The app crashes if I remove this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.