+ All Categories
Home > Documents > 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István...

1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István...

Date post: 14-Jan-2016
Category:
Upload: alycia-cheevers
View: 215 times
Download: 0 times
Share this document with a friend
Popular Tags:
12
1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze
Transcript
Page 1: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

1/12

Vision based rock, paper, scissors game

Patrik Malm

Standa Mikeš

József Németh

István Vincze

Page 2: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

2/12

Task

Create a vision based rock, paper, scissor gameRealtime webcam image-processing

Page 3: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

3/12

Flowchart

Page 4: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

4/12

Initiation

Smooth the image

Color-space conversion - L*u*v

The background is captured so that it can be subtracted in the following segmentation

Page 5: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

5/12

Hand segmentation

Normal Bayesian classifier

Mathematical morphology to decrease noise

Use labeling to find the largest coherent component (or the two largest components in the 2 player game)

Cut the hand at the wrist

Page 6: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

6/12

Isolating the handCut the arm where the size is 70% of the maximum projection valueIt works best for arms with vertical orientationImproved solution using PCA which works for rotated arms as well

Page 7: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

7/12

Isolating the hand

The approximation of hand rotation is done using principal component analysis (PCA)It is computed using eigenvectors of the second-order moment matrix (covariance matrix)

Page 8: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

8/12

Hand tracking

Find the centre point of the hand in each frame

Analyze the movement by looking at the relative change in position over a few frames

The hand tracking is used to countdown

Page 9: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

9/12

Gesture identification

Logarithmic values of three of the Hu set of invariant moments

Bayesian classifier which then determines the current hand gesture

Page 10: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

10/12

Computer player

Computer choose randomly (current)

Markov chain to recognize the human opponent’s game strategy (implemented but not added)

Page 11: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

11/12

Known issues

Skin color variationsSensitivity to lightingBackground artifacts (skin or skin-like colored objects)

Page 12: 1/12 Vision based rock, paper, scissors game Patrik Malm Standa Mikeš József Németh István Vincze.

12/12

Thank you for your attention

Bibliography

A.A. Argyros, M.I.A. Lourakis, Real time Tracking of Multiple Skin-Colored Objects with a Possibly Moving Camera, in proceedings of the European Conference on Computer Vision (ECCV 04), Springer-Verlag, vol. 3, pp. 368-379, Prague, Chech Republic,May,11-14,2004.

OpenCV Library Wiki, "http://opencvlibrary.sourceforge.net/".


Recommended