Skip to content

robotix/aughit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AugHit : Augmented Image Processing Event

Robotix Logo

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.

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.

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

Round 3 : Semi-Circular Paddle

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

About

Augmented Computer Vision Event

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •