TINKER PiEDESIGN IN INDIA
Basic

Hand Gesture RecognitionThumbs up, peace, fist, OK, rock... the AI names your hand sign.

You write a short TinkerPie Python program by following the Code guide in the workspace, then press Run. The sample program and step-by-step guide are always there to help.

What you will learn

  • From landmarks to gestures
  • Combining several rules
  • Designing a gesture controller

What you need

  • TinkerPie AI Cube (ESP32-S3 N16R8 + camera) and a USB-C data cable, or
  • Virtual Cube: any laptop, tablet or phone camera

Steps

  1. Type the program from the Code guide, press Run and show one hand.
  2. Try: open palm, fist, thumbs up, peace, pointing, rock and OK.
  3. Watch the gesture name and emoji change.

How it works

Each gesture is a pattern of open and closed fingers. Thumbs up is "only the thumb open, pointing up". OK is "thumb and index tips touching, other fingers open". The AI checks the patterns one by one and shows the first one that fits.

Coding concepts

Library
A box of ready-made commands. "import tinkerpie as tp" gives you the AI commands.
Object
A thing with its own commands, like camera or detector. You use them with a dot: camera.start()
Loop
"while True:" repeats the indented lines again and again, once per camera picture.
Comparing text
result.gesture == "Thumbs up" is True when the names match exactly (capital letters count).
if / else
Show a special message for one gesture, and the gesture name for the others.

Expected output

The name of your gesture and how long you have held it.

Challenges

  • Hold a gesture for 2 seconds to "click".
  • Invent a new gesture rule.
  • Which two gestures does the AI mix up?

More Basic projects

Basic10 minComputer Vision, Object Detection

Face Detection

Find every face in the camera picture and draw a box around it.

  • What a "detector" is
  • Bounding boxes and confidence
  • Why light matters for AI
Hardware: AI Cube or any webcamAI Cube: on the AI Cube chip · Virtual Cube: laptop or phone camera
Basic15 minComputer Vision, Image Classification

Face Recognition

Teach the AI your name, then it says who is in front of the camera.

  • Detection vs recognition
  • Saving a face "signature"
  • Matching with a distance threshold
Hardware: AI Cube or any webcamAI Cube: in the browser, AI Cube camera · Virtual Cube: laptop or phone camera
Basic10 minComputer Vision, Gesture Recognition

Finger Counting

Show your hands and the AI counts your fingers, from 0 to 10.

  • Hand landmarks (21 points per hand)
  • Turning points into rules
  • Testing an AI fairly
Hardware: AI Cube or any webcamAI Cube: in the browser, AI Cube camera · Virtual Cube: laptop or phone camera