Skip to content
All articles
Fundamentals 8 min read· by Lars Zimmermann

What AI really sees: your selfie as a table of numbers

To you a photo is a face, to AI it is a table of numbers. How features emerge from those numbers and why a model once learned snow instead of wolf.

In short

To a computer, a photo is a table of numbers: three values between 0 and 255 per pixel, for red, green and blue. An image AI searches these numbers for patterns that match its examples. It cannot tell whether it is looking at the right thing. So every check has to ask what the model is looking at.

Auf Deutsch lesen: deutsche Fassung

Video· in German· 3:42

What AI really sees: your selfie as a table of numbers

Clicking the image or a chapter loads the video from YouTube. Your browser then sends data to Google, such as your IP address. Until then there is no connection to YouTube. More in the privacy policy.

How the episode is made: the voice is an AI clone of my own voice and the music is AI-generated, both produced locally on my computer. Ronny, the drawn robot, has no voice; his lines appear as text on screen. I am responsible for the content and the facts.

More episodes on YouTube: channel “Der KI-AUDITOR” · playlist “AI basics”

Take a selfie. You see yourself: your hair, your grin, perhaps a spot you would rather not see. And the AI? It sees numbers. Nothing but numbers. The first episode of my AI Basics series was about AI deriving its rules from examples. The second, like all episodes a video in German, is about what it actually picks up from those examples. In the video Ronny says he can see your face and finds your hairstyle bold. Nice try, Ronny. You see a table.

A photo is made of numbers

A digital photo consists of tiny squares, the pixels. Zoom far enough into a picture and you can see them. Every pixel has a colour, and the computer stores that colour as three numbers: how much red, how much green, how much blue. Each number lies between 0 and 255. Zero means none of that colour, 255 means full strength. Try it: many image editing programs show you the three values for every point, usually under the abbreviation RGB. Pure white is 255, 255, 255, pure black 0, 0, 0.

The image recognition course CS231n at Stanford University works it out on a picture of a cat: 248 pixels wide, 400 high, three colour channels. That makes 297,600 numbers for a small image with just under a hundred thousand pixels. A phone photo with twelve million pixels comes to 36 million numbers. Nothing more reaches the AI. No face, no dog, no football, no spot. Just this table.

That is hard for you to imagine, because your brain does the work without a break. You see the cat immediately, and the numbers never reach you. The course lists what makes the task so hard for a machine. The same animal looks completely different from another angle, at another size or half hidden. Light changes the pixel values drastically. A busy background makes the animal blend into its surroundings. For the table, a cat in the shade is an entirely different cat from the same cat in the sun.

How numbers become features

So how does an AI recognise a dog anyway? It looks for patterns in the numbers that keep appearing in the examples. Where do the values suddenly jump from light to dark? That is an edge. Many edges together form shapes, such as an ear or a snout. Such patterns are called features.

The decisive point: with today’s learning methods, it is usually not a person who decides which feature is important. The model decides that on the basis of the examples it receives. It takes over any difference that reliably separates dogs from cats in the training images. Whether that difference has anything to do with the animal, it does not check. It cannot check it at all, because it only knows the numbers.

This is the core of the episode. The AI does not see things. It sees numbers and looks in them for any difference that fits the examples. Whether it is the right difference, it does not know. Bad examples, wrong features, bad AI.

The wolf that was really snow

Three researchers from the USA demonstrated on purpose in 2016 how this goes wrong. Marco Tulio Ribeiro, Sameer Singh and Carlos Guestrin wanted to show what explanations of AI decisions are good for. To do so, they built a model meant to tell wolves from huskies and trained it on 20 images. The images were chosen so that all the wolves stood in front of snow and none of the huskies did. The model was supposed to turn out bad. The researchers wanted to build in an error that could be found.

The model learned what made the difference in these images: snow. On 60 further images it said “wolf” whenever there was snow or a light background at the bottom of the picture, and “husky” otherwise. Colour, posture and position of the animal played no role. A husky in the snow was a wolf to the model, a wolf on a meadow a husky.

The second part is the exciting one. The researchers showed 27 students with prior knowledge of machine learning ten predictions of the model, eight of them correct. Ten of the 27 said they would trust the model. Twelve suspected snow as a feature. Then the same people saw, for each image, an explanation of which image regions the model had used for its decision. Afterwards 25 named the snow, and only three still trusted the model.

The authors themselves point out that the group was small. The message holds all the same. Eight hits out of ten look like a usable model. Only looking at what the model pays attention to shows that it is answering the wrong question.

The explanation method from the paper is called LIME. It changes an image experimentally in many places, observes how the prediction changes and marks the image regions the decision depends on. For the husky in the snow, it was the snow that lit up. Such methods do not prove that a model works correctly. They often show very quickly, though, that it works incorrectly.

When a tiny change tips everything

Because the AI only sees numbers, it sometimes reacts to changes that a person does not notice at all. Ian Goodfellow, Jonathon Shlens and Christian Szegedy showed this in 2014 with a well-known example. A leading image recognition network of the time took a photo to be a panda with 57.7 per cent confidence. The researchers changed every value in the table of numbers by at most the smallest step that an image with 256 levels per colour can have. To the eye both images looked the same. The network now recognised a gibbon with 99.3 per cent confidence.

Such deliberately calculated perturbations are called adversarial examples. Two things follow from this in practice. The confidence with which an image AI answers says little about whether it is right. And anyone who wants to attack an image system turns the right numbers. A person looking at the image notices nothing. For systems where someone may have an interest in a wrong result, this question therefore belongs in the risk assessment.

What this means for visual inspection in a company

A thought experiment, freely chosen: a camera is supposed to detect scratches on sheet metal parts. The pictures of the defective parts come from the scrap bin, photographed on a table by the window. The good parts come straight off the line, recorded under the hall lighting. The model scores almost every time in the test. What it learned may be the daylight. In operation all parts lie under the same lamp, the feature disappears and the hit rate with it.

In an audit I therefore ask four questions before an image AI is approved:

  • Do good and bad examples differ only in the feature that matters? Or also in light, background, camera, shift or workpiece carrier?
  • Are there test images that deliberately break the coincidence? A defective part in good light, a good part in poor light.
  • Can you show which image regions the model pays attention to? Methods that make this visible have existed for years, one of them comes from the very paper with the wolf.
  • Who decided which images count as good and which as bad, and how was that checked?

The flip side of these questions is good news. You avoid the error from the thought experiment by being careful when collecting. Photograph good and bad parts at the same place, with the same camera, in the same light. And note for every image when, where and with what it was taken. Then you can check later whether a coincidence has crept in.

Approval does not end the check. Light changes with the seasons, a camera is replaced, a supplier delivers sheet metal with a different surface. Each of these changes shifts the numbers in the table. That is why I ask to see how a company notices such changes and whether it retests after a camera has been replaced.

These questions have a firm place in ISO/IEC 42001, the standard for AI management systems. Control A.6.2.4 requires defined and documented measures for verifying and validating the AI system, along with criteria for their use. Control A.7.4 requires defined requirements for data quality and that the data used meets them. A test data set with the same bias as the training data tests the bias along with everything else. It cannot uncover it.

The article on AI visual inspection on this site deals with the acceptance figures. This one is about the question before that: what is the model looking at in the first place?

Which two figures belong in the acceptance of an AI visual inspection and who signs off the threshold:

AI visual inspection: what accuracy leaves out

What you can do with this at home

For teenagers and parents there is more everyday life in this episode than it seems. Every face filter, every photo sorting by person, every app that recognises a plant from a picture works with this table of numbers. Behind each of these functions is a calculation over pixels, and it can be wrong, for example in poor light or with faces that rarely appeared in the examples.

A beauty filter, too, does nothing other than shift numbers in the table: a little lighter here, a little smoother there. The result looks like a photo. It is still a calculation. Worth knowing the next time you see a flawless face in your feed.

The task from the video takes one minute. Open a photo on your phone and zoom in until you can see the individual squares. Each one is three numbers to the computer. And then think about it: you show an AI only photos of cats on the sofa. What might it really learn? The sofa?

That is why an auditor never just asks how often an AI is right. They also ask what it is actually paying attention to. The next episode of the series is about learning with an answer sheet, in other words how you teach an AI what is right.

Episode 3 of the series: how an AI learns from examples with the right answer and why it learns the errors on the answer sheet too.

Learning with an answer sheet

Which app on your phone would you like to ask, just once, what it is actually looking at?

Share: LinkedIn E-Mail

Frequently asked questions

Why are there three numbers per pixel?+

Colour images are usually stored as a mixture of red, green and blue. Each pixel therefore has three values, each between 0 and 255. A greyscale image makes do with one value per pixel.

What is a feature in an image AI?+

A feature is a pattern in the numbers that helps to tell images apart, such as an edge, a shape or an area of colour. The model learns from the examples which features are important. In doing so it can also pick up features that have nothing to do with the actual task.

What does the wolf and husky experiment show?+

A deliberately badly trained model told wolves and huskies apart by the snow in the background. Without an explanation, 10 out of 27 test subjects trusted it, after an explanation of what its decisions were based on only 3 did. So a high hit rate in a test does not prove that a model is paying attention to the right thing.

How do I check what an image AI is paying attention to?+

With test images that deliberately break chance correlations, such as a defective part in good light. Add explanation methods that show which image regions carry a decision. And ask whether good and bad examples differ in anything other than the feature you are looking for.

Author & expert review: Lars Zimmermann · ISO/IEC 42001 Senior Lead Auditor & Senior Lead Implementer · ISO/IEC 27001 Lead Auditor & Lead Implementer (PECB)

An auditor with shop-floor experience and managing director of a manufacturing company, who audits and builds AI management systems and information security. Author of “Stallgeruch” (in German). Verify the credential on Credly · More about me.

Last updated: 27 November 2026. Researched and reviewed to the best of my knowledge. This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.

Questions about your own case?

In a free 15-minute intro call we assess where you stand on ISO 42001, ISO 27001 and the EU AI Act, honestly and without a sales pitch.

Continue reading