9
Jôner Duarte [email protected]

Jôner Duarte [email protected]. The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your

Embed Size (px)

Citation preview

Page 1: Jôner Duarte jmartins@inf.puc-rio.br.  The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your

Jôner [email protected]

Page 2: Jôner Duarte jmartins@inf.puc-rio.br.  The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your

The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your head.

Page 3: Jôner Duarte jmartins@inf.puc-rio.br.  The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your

Haar Like Features◦ Encode the existence of oriented contrasts

between regions in the image. A set of these features can be used to encode the contrasts exhibited by a human face and their spacial relationships.

Trained Cascade Classifier◦ A classifier is trained with hundreds of positive

samples of the same size and also negative samples. After trained a classifier can be applied to a region of a image to identify an object.

Page 4: Jôner Duarte jmartins@inf.puc-rio.br.  The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your

No Intersection.... No Collision

Page 5: Jôner Duarte jmartins@inf.puc-rio.br.  The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your

Intersection.... Possible Collision

Verify the opacity on both images for every point of the intersection

Page 6: Jôner Duarte jmartins@inf.puc-rio.br.  The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your

If in both images the point is opaque, then there is a COLLISION!!!!

Page 7: Jôner Duarte jmartins@inf.puc-rio.br.  The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your
Page 8: Jôner Duarte jmartins@inf.puc-rio.br.  The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your

Helmet◦ Only bounce when direction has postive y-axis◦ In greyed area just bounce the ball back upwards

Page 9: Jôner Duarte jmartins@inf.puc-rio.br.  The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your

What is it?◦ Simple and Fast Multimedia Library◦ Open Source API written in C++ to manipulate

graphics, sound, network, etc.

Why use it?◦ Portable (Windows/Linux/MacOS)◦ Object-Oriented alternative to SDL◦ Easily integrable with other GUIs (Qt, MFC,

wxWidgets, X11)◦ Available in C++, C, .NET, Python, Ruby, D