TINKER PiEDESIGN IN INDIA
Intermediate

Smart Intruder AlarmSound the alarm only when a person moves in view, not for curtains or pets.

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

  • Combining two AIs
  • and conditions
  • Fewer false alarms

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. Point the camera at a doorway.
  4. Walk past: the alarm sounds. Move a curtain: it stays quiet.

How it works

Motion alone gives false alarms (light changes, pets). A person detector alone cannot tell if someone is just sitting still. Using both, the alarm needs a person AND movement.

Coding concepts

Loop
"while True:" repeats the indented lines once per camera picture.
and
Both sides must be True.
Two objects
You can use several AI detectors in one program.

Expected output

"All clear" when nobody moves; "Intruder!" with a beep and one Output message when a person is moving.

Challenges

  • Count how many alarms happened.
  • Only arm the alarm after 10 seconds.
  • Use the zone tool to watch only the door.

More Intermediate projects

Intermediate20 minGesture Recognition, Image Classification

Hand Sign Recognition

Create your own hand signs, record examples and train a classifier on the hand points.

  • Features instead of pixels
  • Nearest-neighbour classifiers
  • Accuracy testing
Hardware: AI Cube or any webcamAI Cube: in the browser, AI Cube camera · Virtual Cube: laptop or phone camera
Intermediate30 minImage Classification, Computer Vision

Waste Classification

Build a model that sorts plastic, paper, metal and food waste, then put it on the AI Cube.

  • Collecting a balanced dataset
  • Training and validation
  • Confusion matrix
Hardware: AI Cube (for deployment) or any webcamAI Cube: on the AI Cube chip · Virtual Cube: laptop or phone camera
Intermediate20 minObject Detection, Computer Vision

Object Counter & Zones

Count chosen objects, draw a zone and get an alert when something enters it.

  • Filtering detections
  • Regions of interest
  • Events from AI results
Hardware: AI Cube or any webcamAI Cube: on the AI Cube chip · Virtual Cube: laptop or phone camera