Giter VIP home page Giter VIP logo

aughit's Introduction

AugHit : Augmented Image Processing Event

This repository contains code for the simulator for the event AugHit conducted during Robotix 2015, Kshitij at IIT Kharagpur. (http://www.robotix.in/aughit)

The simulator has been built using OpenCV on C++ with Box2D Wrapper for Physics and simulations.

Requirements:

  • OpenCV (2.4.9 or later)
  • Box2D
  • CMake (>2.6)

To run the game:

$ git clone https://github.com/mronian/aughit.git
$ cd aughit
$ mkdir build
$ cd build
$ cmake ..
$ make

You will find all the required binaries in the 'build' folder.

##Round 1:

  • Simple round with fixed number of static bricks.

For Semi-Circular:

$ ./Round1Circular 1

For Rectangular:

$ ./Round1Rectangular 1

Where 1 is the Camera Index. By default it is 0.

Alt text

####Round 1 : Semi-Circular Paddle

Alt text

####Round 1 : Rectangular Paddle

##Round 2

  • Has false bricks whose ID's can be passed as command-line arguments to the binary.

For Semi-Circular:

$ ./Round2Circular 0 3 5 7

For Rectangular:

$ ./Round2Rectangular 0 3 5 7
  • Here, as before, 0 is the Camera Index. (3, 5, 7) are the ID's of the bricks to be declared as false.

Alt text

####Round 2 : Semi-Circular Paddle

Alt text

####Round 2 : Rectangular Paddle

##Round 3

  • Has moving bricks also.

For Semi-Circular:

$ ./Round3Circular 0 3 5 7

For Rectangular:

$ ./Round3Rectangular 0 3 5 7

Alt text

####Round 3 : Semi-Circular Paddle

Alt text

####Round 3 : Rectangular Paddle

Miscellaneous

  • The dimensions of the game, scaling factor, number of static bricks, number of moving bricks, number of corners, size of the corners are all defined in the Constants.h file. Change accordingly to tweak the game!

  • Use ClearVid.sh to clear the video buffer: (Usage Below)

$ ./ClearVid.sh

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.