Giter Club home page Giter Club logo

opencv-android's Introduction

opencv-android-studio

Release The OpenCV Java SDK for Android as a ready-to-go module for Android Studio 3.0.

Installation

This repository has JitPack.io support, so you can integrate it directly into your Android Studio projects by following the instructions on https://jitpack.io/#floe/opencv-android/3.4.1.

Note: this is only the Java component. You will also need to install the OpenCV Manager app, which provides the native libraries and is either available from the Play Store (outdated) or directly as an APK from https://github.com/floe/opencv-android/tree/master/manager. A minimal sample using just the Java interface is available at https://github.com/floe/opencv-tutorial-1-camerapreview.

Note: if you want to build native code using OpenCV in your app, then you also need to download and unzip the corresponding "OpenCV Android SDK 3.4.0" from https://github.com/opencv/opencv/releases/download/3.4.1/opencv-3.4.1-android-sdk.zip and edit app/build.gradle to set the CMake config path to /path/to/opencv-android-sdk-3.4.1/sdk/native/jni/. An example project using this approach is available at https://github.com/floe/opencv-tutorial-2-mixedprocessing.

Background

Currently, the OpenCV SDK for Android still contains all code as Eclipse projects, which has been deprecated for a long time in favor of Android Studio.

This repository simply contains the resulting module from a clean import of the legacy Eclipse project, plus the manager APKs.

(Of course, the clean solution would be to have the OpenCV build process output Android Studio modules right away. But I don't have time for that. If you feel you want to tackle this, see discussion at opencv/opencv#5003 ;-)

Note: I'm currently using outdated build tools in the project (gradle:2.3.2 and android-maven-gradle-plugin:1.5). This is because jitpack.io doesn't yet seem to support the current gradle version 3.0.1. I'll hopefully be able to update this soon.

opencv-android's People

Contributors

floe avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

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.