Code Monkey home page Code Monkey logo

template-matching's Introduction

Augmented Reality Template Matching for >= Android 4

Augmented Reality template matching

What is this repository for?

  • Takes the real time camera picture and uses it for finding a specified template image using a template matching approach with OpenCV for Android (Java library). Lines are drawn on top of the camera image where the searched object is expected. This can for example be used to find a logo.
  • Be aware that template matching doesn't allow any rotations or zooming of the camera. Hold the camera without dip and at the 1:1 correct zoom. Otherwise the template image won't be found within the camera image.
  • This app is using a gray scale live image for performance reason. This could easily be changed to search in color live images too.

How do I get set up?

  • IDE: Android Studio (tested with 2.1.2)
  • Android SDK
  • Dependencies: OpenCV 3.0.0 library (included)
  • Template image location: res/drawable - Image is referenced in MainActivity
  • Make sure the app has the required permission on start, as there is no runtime-check yet! (Camera)

Test image

Used default template image:

Test with filming the logo at the top left at http://www.pxl.be/

Who do I talk to?

Credits

template-matching's People

Contributors

michaeltroger avatar

Watchers

James Cloos avatar Govind Tank 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.