初级Beginner可打印Printable
电脑怎么“看”一张图
How Does a Computer “See” a Picture?
电脑没有眼睛。一张图就是一格一格的数:按数字涂色,再设计自己的秘密图让家长猜。
A computer has no eyes. A picture is just squares of numbers: paint by numbers, then design a secret picture for a parent to guess.
电脑没有眼睛。它“看到”的一只猫,其实是什么?
A computer has no eyes. When it “sees” a cat, what does it really see?
孩子做什么What kids do
- 放大看:把一张照片一直放大,直到看见一个个小方块,也就是像素。Zoom in: enlarge a photo until you see tiny squares, the pixels.
- 按数字涂色:A 是涂好的心,B 要自己涂出来。1 涂黑,0 留白。Paint by numbers: A is a heart already filled in, B you fill in yourself. 1 is black, 0 is white.
- 设计自己的秘密图,把每一行写成 0 和 1,别给别人看。Design your own secret picture, write each row as 0s and 1s, and don’t show anyone.
- 传图游戏:两人背对背,一个念数字,一个照着涂。Picture by phone: back to back, one reads the numbers and the other paints.
- 好多不一样的 7:能写一条规则让电脑全都认出来吗?Many different 7s: can you write one rule that lets a computer recognize all of them?
- Quick, Draw!:一个孩子画,全班看 AI 猜。Quick, Draw!: one kid draws while the class watches the AI guess.
- 带回家:孩子念秘密图的数字,家长照着涂,再猜是什么。At home: the kid reads the secret picture’s numbers, and the parent paints them and guesses.
要点Key idea
像素就是数。黑白图每格一个数(0 或 1),彩色图每格三个数(红、绿、蓝,各 0–255)。8 × 8 的猫只有 8 个字节。
Pixels are numbers. A black-and-white picture has one number per square (0 or 1); a color picture has three (red, green, blue, each 0 to 255). The 8 × 8 cat is only 8 bytes.
和 AI 的关系Where AI comes in
同一个 7 可以大小、粗细、位置都不一样,人写规则总会漏掉一种。所以 AI 不靠人写规则,而是看大量例子,自己调分数。
A 7 can be big or small, thick or thin, on the left or the right, and hand-written rules always miss one. So AI doesn’t use rules written by people: it looks at many examples and adjusts its own points.
学习单Worksheets
学习单是英文的,打印出来给孩子;老师指南是中文的。
Worksheets are in English for the kids; the teacher’s guide is in Chinese.



下载学习单(PDF)Download worksheets (PDF)老师指南(PDF,中文)Teacher’s guide (PDF, Chinese)
视频与文章Videos and reading
- Code.org: Images, Pixels and RGB 6 分钟,适合孩子6 min, for kids
- CS Unplugged: Image Representation 按数字涂色的原版the original paint-by-numbers lesson
- Quick, Draw! 课上投影玩play it on the projector
- Quick, Draw! The Data 看全世界的人怎么画同一样东西how people everywhere draw the same thing
- 3Blue1Brown: But what is a neural network? 19 分钟,老师备课:认手写数字19 min, for teachers: reading handwritten digits
- Crash Course CS #35: Computer Vision 11 分钟,老师和大孩子11 min, teachers and older kids