Giter Site home page Giter Site logo

zhangjingpu / opencv-markerless-ar-mobile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from meiroo/opencv-markerless-ar-mobile

0.0 2.0 0.0 10.02 MB

Markless AR transplanted to iOS and Android based on takmin's code. http://meiroo.github.io/projects#ar

Makefile 0.04% C 86.93% C++ 11.86% Java 0.56% Objective-C 0.22% Objective-C++ 0.39%

opencv-markerless-ar-mobile's Introduction

##The Markerless Augmented Reality by OpenCV on Mobile phones

###based on takmin project:

url: https://github.com/takmin/OpenCV-Marker-less-AR

Windows version.

Can be found here: https://github.com/meiroo/opencv-markerless-AR

I have compiled the source code under windows 8. also updated the opencv version to 2.4.9. The visual-studio-2012 project can be found under the "src" folder.

this is my testing video (win8/vs2012):

http://webgl.qiniudn.com/marker.m4v

=======================================================

Android version (not finished.)

I have transplanted the recognize part on the android platform with the opencv 2.4.9, I have to compile libnonfree.a from the opencv source.

This based on the opencv-android-mixed-demo, which has Java side for camera handling and also NDK side for native opencv operations. The recognize-part-src was compiled with NDK, then running under my Android Phone, but it's too slow and very hard to debug the native code, so I continue the work with iPhone 5C (much better than my android phone).

=======================================================

iOS version :

video:

http://webgl.qiniudn.com/CV-ios.m4v

Building and running with opencv-2.4.10-ios-version under iphone 5c, I have made some changes to make it running quicker. Now the recognize part cost 50-80 ms, while the tracking part cost only 15-25 ms, much quicker. But the speed is still not so good with mobile phones. Also , when tracking , there are accumulated-errors which can cause the pose very easy to fail ( the pose calculated by opencv opticalflow can have some error each frame, and will be accumulated to the last frame).

=========================================================

BTW, I'm working on a Markless tracking project on my current job, video can be found:

##http://meiroo.github.io/projects#ar

opencv-markerless-ar-mobile's People

Contributors

meiroo avatar

Watchers

James Cloos 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.