In today’s project, you learned to use an important computer science concept: conditionalstatements. You used a conditional statement to change individual pixels in a project.
Conditional statements help computer scientists create digital effects for photographs and pictures.
The basic idea of scanning an image for pixels that match a condition has incredible applicationsin the real world. Using this technology, computer scientists like you can program acomputer to recognize something based on its color or shape.
In this video, a computer is analyzing a video in real time to track a person as he walks.
The image in the upper-right corner represents what the person looks like, and the greenrectangle shows where the computer thinks the person is. This is useful for a lot of reasons.
For example, motion capture uses the movements of real people or animals to create more realisticvirtual worlds in video games and movies. Special dots attached to actors’ faces andbodies allow cameras to track their movements and facial expressions. This tracking dataprovides information to computer scientists on how to create movies and virtual worlds.
Other examples of tracking programs that use conditional statements are cars that can drivethemselves and recognize stop signs and pedestrians and programs that automatically organize andtag photos. Video chats with friends are more fun when you give each other silly sunglassesand hats! These things are made possible today by computer science and computer scientists.
Computer science is very useful in art and the entertainment industry, as well as inour everyday lives. If you take a high school or college computer science class, then youmay learn about computer-aided art techniques and digital design tools.
Knowing a bit of computer science will help you learn how these tools function so youwill know how to better use them! Next session, you will build a stamping projectthat lets you design your own building.
Jimmy_answering_questions.jpg: Wikimania2009 by Sylenius (http://en.wikipedia.org/wiki/Face_detection#mediaviewer/File:Face_detection.jpg) licensed under CC-BY 3.0 (http://creativecommons.org/licenses/by/3.0/)