Skip to content
Optical Flow Pyramid Lucas Kanade
D Java C++
Latest commit 9ceec93 Oct 8, 2012 @sungjkang src commit
Failed to load latest commit information.
Debug src commit Oct 8, 2012
bin src commit Oct 8, 2012
gen src commit Oct 8, 2012
jni src commit Oct 8, 2012
libs src commit Oct 8, 2012
obj/local/armeabi src commit Oct 8, 2012
res src commit Oct 8, 2012
src/com/wais/opticalflow src commit Oct 8, 2012
AndroidManifest.xml src commit Oct 8, 2012
README src commit Oct 8, 2012
ic_launcher-web.png src commit Oct 8, 2012
proguard-project.txt src commit Oct 8, 2012
project.properties src commit Oct 8, 2012

README

Import OpenCV Library 2.4.2 to workspace.
Right click "OpticalFlow" project go to properties

    Android->Add
        Add OpenCV Library 2.4.2 to project
        
    Java Build Path->Projects->Add
        Add OpenCV Library 2.4.2 to project's build path
        
    C/C++ Build
        set Build command to ${NDKROOT}/ndk-build
        ****if you are using Windows use ${NDKROOT}/ndk-build.cmd  *****
        
    C/C++ Build->Build Variables
        Add
            Variable: NDKROOT
            Value: Your Android NDK directory

    C/C++ General->Code Analysis
        Select "Use Project Settings"
            At the bottom Uncheck "Syntax and Semantic Errors"
            ****Eclipse does not handle JNI code without thinking you have syntax errors so just turn it off***
        

In Project Explorer
Open Optical Flow->jni->Android.mk
    Change the indicated line
    

    

        


Something went wrong with that request. Please try again.