TINKER PiEDESIGN IN INDIA
Basic

Finger MathAdd the fingers on two hands and show the sum, like a living calculator.

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

  • Reading two hands
  • Adding numbers
  • Building text with f-strings

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. Choose AI Cube or Virtual Cube at the top.
  2. Type the program from the Code guide, then press Run.
  3. Hold up two hands with some fingers each.
  4. The screen shows the sum, for example 3 + 2 = 5.

How it works

The hand AI returns a list of hands. Each hand knows its own finger count, so the program can read both and add them.

Coding concepts

Loop
"while True:" repeats the indented lines once per camera picture.
List index
result.hands[0] is the first hand, result.hands[1] the second.
f-string
f"{a} + {b}" puts the values of a and b into the text.

Expected output

The total in big numbers with the sum written under it, for example "5 + 5". "Show two hands" when only one hand is in view.

Challenges

  • Show the difference instead of the sum.
  • Multiply the two numbers.
  • Make a quiz: show a sum and check the answer.

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