Download presentation
Presentation is loading. Please wait.
Published byOlivia Chase Modified over 9 years ago
1
Jôner Duarte jmartins@inf.puc-rio.br
2
The idea is to use the head as a replacement to the paddle which bounces the ball to destroy “mines” over your head.
3
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.
4
No Intersection.... No Collision
5
Intersection.... Possible Collision Verify the opacity on both images for every point of the intersection
6
If in both images the point is opaque, then there is a COLLISION!!!!
7
8
Helmet ◦ Only bounce when direction has postive y-axis ◦ In greyed area just bounce the ball back upwards
9
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.