<< Chapter < Page Chapter >> Page >

We start with Vulcan! Here is an original picture for our gesture.

Vulcan

A dog sitting on a bed
The Original "Vulcan" Gesture

Convert image to grayscale.

Grayscale

A dog sitting on a bed
Vulcan converted to grayscale

Filter out noise and convert the image into a binary image.

Binary

A dog sitting on a bed
Binary Form of Vulcan

Label the largest connected component in our image matrix and get the edge of our gesture.

Edge

A dog sitting on a bed
Edge of Vulcan

Get polar form of the edge matrix. Divide the polar form into n(here n=8) equal bins and count number of 1’s(dots) in each bin.

Demo

A dog sitting on a bed
A demonstration of how our algorithm works

Finally, we compare the data we get here with distribution of dots in our training set and get our predicted gesture of this image

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2013. OpenStax CNX. Sep 14, 2014 Download for free at http://legacy.cnx.org/content/col11709/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2013' conversation and receive update notifications?

Ask