TINKER PiEDESIGN IN INDIA
Intermediate

Image Processing PipelineChain filters like an OpenCV pipeline and see each step: grayscale, blur, threshold, edges.

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

  • Pre-processing for AI
  • Kernels and convolution
  • Thresholding

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, then press Run.
  2. Pick a filter and its setting.
  3. Compare the original and processed pictures side by side.

How it works

Convolution slides a small grid of numbers over the picture and adds up the products. Blur, sharpen and edge filters are all convolutions. Convolutional neural networks (CNNs) learn their own kernels during training: that is what Model Studio does.

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.
Pipeline
Each step uses the result of the step before: gray → blur → edges.
Convolution
Blur and edges slide a small grid of numbers (a kernel) over the picture.

Expected output

Original and processed views side by side, with a live histogram.

Challenges

  • Make a document scanner look with Black & white.
  • Which filter helps colour detection in bad light?
  • Explain the Sobel kernel to a friend.

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