Giter VIP home page Giter VIP logo

augmentedcards's Introduction

Augmented Cards

Developed for the class of Augmented Reality (EIC0070) at MIEIC, FEUP.

The main objective of this project is the development of an application capable of assisting the playing of a simple card game. The application should be able to acquire an image of the cards played during a round of the game and announce the result, according to the game rules, by augmenting the acquired image with visual information.

The application here presented was fully developed in C++ using OpenCV (Open Source Computer Vision) version 2.4. For card recognition, two methods have been implemented: binary absolute difference and SURF (Speeded Up Robust Features). Binary absolute difference attempts to find the lowest number of differences between two images in a pixel by pixel basis, while SURF based detection attempts to find the highest number of matches.

Further info can be found in the full report.

Examples

example example

Usage Instructions

The application can acquire images from the file system or from a connected camera. It should be noted that both decks and images should be placed inside an assets folders (path: ../Assets/) and then referred directly by their name (e.g., image-sample.png).

The augmented image will have have both its contours and corresponding rectangle corners drawn, along with information about the match found by the application. The winner (or winners, in case of a tie) will be drawn in green. In the default game mode, the card with the highest value wins (noting that the Jokers have a value of 0).

augmentedcards's People

Contributors

vascozzz avatar xkynar avatar

Watchers

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