Skip to Content
Coding For Kids For Dummies, 3rd Edition
book

Coding For Kids For Dummies, 3rd Edition

by Camille McCue
October 2025
Beginner
288 pages
5h 58m
English
For Dummies
Content preview from Coding For Kids For Dummies, 3rd Edition

CHAPTER 14

Building AI Models

Now that you’ve trained your very first artificial intelligence (AI) model and used it in a Scratch project, it’s time to level up! In this final chapter, you’ll create a brand-new model using image recognition, which means your program can “see” what’s in a picture. Specifically, you’ll build a fun, interactive Scratch project called Pico’s Colors where a sprite friend named Pico looks through your camera and tells you what it sees (specifically, what color it sees) — similar to how an AI-powered robot with computer vision reacts to its environment.

Image recognition is a powerful part of AI. It’s used in self-driving cars that read road signs, apps that identify plants and animals, and smart robots that can sort recycling or help doctors look at X-rays. By training your own color-recognizing model, you’ll learn how to give your code “eyes” to explore the world. Importantly, you’ll also discover that training a useful, accurate model requires a lot of data, time, and revisions. But as you level up, you’re building the skills and mindset needed to create real value for real people — and preparing for amazing tech careers in your future!

A colorful grid with a yellow rubber duck at the center. Lines connect the duck to surrounding squares, which are filled with objects of various colors—red, blue, green, and yellow—all related to the color of the central duck and its surroundings.

Generated with AI using DALL·E – OpenAI

Brainstorming Machine Learning Image Models

From tinkering with Machine Learning for Kids (ML4K) in Chapter 13, you learned the basics of AI and building a machine learning ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Helping Kids with Coding For Dummies

Helping Kids with Coding For Dummies

Camille McCue Ph.D, Guthals
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9781394359769