What is AI?
In this AI exercise, you will recognize hand gestures using the webcam on your laptop or the front camera of your smartphone. Please enable the camera feature and allow
camera access
in your web browser when prompted!
AI
stands for Artificial Intelligence
, which refers to computer programs that mimic human intelligence.
AI goes beyond simply mimicking human intelligence—it can now perform many tasks more quickly and accurately than humans.
What sets AI apart from regular programs is its ability to learn on its own
.
What does it mean to train AI?
Just as humans learn through experience, AI improves by identifying patterns in data.
To train AI, you must provide it with clean data and design the right algorithm
to help it learn patterns.
An
algorithm
is a set of rules and steps carried out in sequence to solve a problem.
The similarity between AI and functions
In simple terms, AI behaves like a function
that discovers the relationship between inputs
and outputs
using probabilities.
For instance, a home price prediction AI model learns a function that predicts the price of a house based on inputs like location
, size
, and number of rooms
.
Training an AI model means refining this function so it can process input data and produce useful outputs.
Practice: Recognizing Hand Gestures with AI
Turn on your camera or webcam and show your left and right hands on the screen.
An AI trained to recognize gestures will detect your hands and identify gestures such as thumbs-up 👍 or peace ✌️ to display on screen.
This AI-based gesture recognition technology is used in various fields, such as controlling games or programs through hand gestures.
If you're using a desktop without a webcam, this exercise may not work properly. We recommend using a tablet
or laptop
for the best experience.
Want to learn more?
Join CodeFriends Plus membership or enroll in a course to start your journey.