Augmented Reality simple shape detector using OpenCV for >= Android 4.0
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea renamed package, removed c++ library Dec 2, 2016
app default mode - detect all colors Dec 2, 2016
gradle/wrapper init Sep 18, 2016
openCVLibrary300 updated dependencies Dec 1, 2016
testimages added testimages Dec 2, 2016
.gitignore Initial commit Sep 18, 2016
LICENSE.md Create LICENSE.md Sep 18, 2016
README.md Update README.md Dec 2, 2016
build.gradle updated dependencies Dec 1, 2016
gradle.properties init Sep 18, 2016
gradlew init Sep 18, 2016
gradlew.bat init Sep 18, 2016
import-summary.txt init Sep 18, 2016
settings.gradle init Sep 18, 2016
shapedetection.png added app screenshot Dec 2, 2016

README.md

Augmented Reality simple shape detector using OpenCV for >= Android 4.0

Augmented Reality shape detection

What is this repository for?

  • Uses the camera image to recognize triangles, rectangles and circles. It can also be configured to only detect a certain color (red). If a specific shape is detected the information can be shown on top of each shape as a label describing it (multiple shapes at the same time) or as an image respresenting the shape on top of the camera (only one shape is detected). Additionally also a sound depending on the detected shape can be played.
  • Version 1.0

How do I get set up?

  • IDE: Android Studio (tested with 2.1.2)
  • Android SDK
  • Dependencies: OpenCV 3.0.0 library (included)
  • Images location: res/drawable | Sounds location: res/raw
  • Mode (label/image): Flag in MainActivity (default labels)
  • Mode (all colors / red only): Flag in MainActivity (default all colors)
  • Make sure the app has the required permission on start, as there is no runtime-check yet! (Camera)

Test images

Who do I talk to?

Credits