// Field files for grades 2–12Observe. Measure. Explain.
Home / Lab files / Can an AI vision model count objects when a picture gets cluttered?
LF-32

Can an AI vision model count objects when a picture gets cluttered?

Compare model estimates with a human-checked count as image layout changes.
Computer scienceGrades 6–1045–60 minutesHazard lowNGSS SEP 3 — plan and carry out investigationsNGSS SEP 4 — analyze and interpret dataComputer science — evaluate an AI system with test data
A classroom screen shows a cluttered image of colorful toy objects, while the same kinds of objects are arranged below for a verified human count. The heading asks CAN AI COUNT?
Compare a model estimate with a verified count, then change the layout while keeping the object set matched.

01 // Question

Does increasing image clutter change how accurately an AI vision model counts objects?

This tests one approved model on one small collection of images. It cannot establish how all vision systems perform.

02 // Variables

Independent

Image layout and object count
  • Three object-count levels: 8, 12 and 16
  • Spaced layout and moderately cluttered layout

Dependent

Difference between the model estimate and the verified count
  • AI estimate for each image
  • Absolute error = |estimate − verified count|
  • Whether a repeated prompt changes the estimate
Controlledsame object set within each matched pair · same camera and resolution · same model/version and settings · same prompt · no personally identifying images · random presentation order

03 // Hypothesis

IF the same objects are arranged with more overlap and visual clutter, THEN the model's counting error may change, BECAUSE overlap and nearby distractors can make individual object boundaries harder to distinguish, but the result depends on the particular model and images.

04 // Procedure

1. Make safe, countable image sets

Use teacher-approved pictures of colored paper tokens or small classroom counters on a plain background. Make six images at each of three counts (8, 12 and 16): one spaced arrangement and one moderately cluttered arrangement for each matched set. Do not include people, names, student work or account information.

2. Record the verified count first

Two students independently count each image without seeing a model response. Reconcile any disagreement by counting the physical tokens or a numbered master list. Save the verified count and image ID before testing the AI.

3. Fix the model and prompt

With a teacher, select one school-approved vision model. Record the product name, visible model/version, date and available settings. Use the same short prompt for every image: ‘How many separate tokens are visible? Give one whole-number estimate.’ If the service does not identify its version, record ‘version not shown.’

4. Test in a mixed order

Randomize the 36 image IDs so all counts and layouts are mixed. Submit each image separately. Do not show the AI the answer key, correct it, or add examples during testing. If time allows, repeat a prompt once in a fresh session and record it separately as a repeatability check; keep it out of the six-image primary error summaries.

5. Calculate the count error

For each response, calculate absolute error as the absolute value of estimated count minus verified count. For each count-and-layout group, report the median error and the number of exact counts out of six; retain the raw estimates. Note refusals or non-numeric answers instead of silently excluding them.

6. Explain the tested limits

Compare spaced and cluttered image groups separately at 8, 12 and 16 objects. State whether the pattern was consistent across the tested groups. The test covers one model, date, prompt, object type and classroom setup—not all vision tasks, populations or real-world consequences.

Materials // Prepare the bench

  • teacher-approved vision-language AI tool with image input
  • 36 teacher-made or otherwise approved non-identifying token images
  • physical tokens or a verified answer key
  • computer
  • timer or spreadsheet
  • notebook
  • teacher approval for service and privacy settings

05 // Data table

Image IDVerified countLayoutAI estimateAbsolute errorRepeat estimate / note
8-S18spaced
8-C18cluttered
8-S28spaced
8-C28cluttered
8-S38spaced
8-C38cluttered
8-S48spaced
8-C48cluttered
8-S58spaced
8-C58cluttered
8-S68spaced
8-C68cluttered
12-S112spaced
12-C112cluttered
12-S212spaced
12-C212cluttered
12-S312spaced
12-C312cluttered
12-S412spaced
12-C412cluttered
12-S512spaced
12-C512cluttered
12-S612spaced
12-C612cluttered
16-S116spaced
16-C116cluttered
16-S216spaced
16-C216cluttered
16-S316spaced
16-C316cluttered
16-S416spaced
16-C416cluttered
16-S516spaced
16-C516cluttered
16-S616spaced
16-C616cluttered

Keep the comparison balanced

Verified countSpaced imagesCluttered imagesMatched-pair rule
8 objects6 different arrangementssame 6 arrangementsKeep the token colors and identities matched
12 objects6 different arrangementssame 6 arrangementsOnly layout changes within a pair
16 objects6 different arrangementssame 6 arrangementsKeep image size and background constant

Summary table (fill with your own observations)

Count / layoutExact estimates / 6Median absolute errorResponses not counted
8 / spaced
8 / cluttered
12 / spaced
12 / cluttered
16 / spaced
16 / cluttered

Formula Absolute count error = |AI estimate − verified count|

06 // What to expect

A model estimate is a prediction to evaluate, not a verified measurement.

Keep matched layouts and raw responses so the comparison can be checked.

A small set can reveal a pattern worth testing; it cannot prove general capability or failure.

07 // Lab notes

  • Keep the experiment small and low stakes. Never use the model to count medication, people in an emergency, or any safety-critical item.

08 // Remember

Measure the model against a verified answer key. A fluent response is not the same as a correct count.

09 // Prepare the matched image benchmark

Create six different arrangements at each verified count (8, 12, and 16 tokens). For every arrangement, save one spaced and one moderately cluttered image with the same token identities, colors, camera, lighting, framing, image dimensions and plain background. The layout pair is the planned change. Avoid overlap that makes the ground truth genuinely ambiguous; keep each token visible and independently countable.

Have two students count each image independently before any AI response is collected. Resolve disagreements by checking the physical arrangement or a numbered master key, then record the verified count and image ID. This makes 36 images total: 18 matched arrangements with two layouts each. The human count is a reference for this small classroom set, not a claim about all possible images.

The same twelve colored paper shapes appear in a spaced layout and a more crowded layout; both panels are labeled SPACED and CLUTTERED.
Use matched object sets so spacing and overlap are the planned image differences.

10 // Run the image set without training on the answers

Choose one image-capable AI tool with a teacher and record its visible name, model/version if shown, test date and relevant settings. Use the same prompt for each image, such as: ‘How many separate tokens are visible? Give one whole-number estimate.’ Randomize the 36 image IDs and submit images individually. Keep the answer key out of the prompt and do not teach or correct the tool during the test.

Save the exact response, including a range, refusal, explanation without a number, or other non-numeric answer. Mark those cases as not countable instead of forcing them into a score. If students repeat a prompt in a fresh session, record it as a separate repeatability observation and keep it out of the six-image primary error summary; do not quietly choose the answer that seems most plausible.

A four-step classroom procedure labeled VERIFY, SHUFFLE, TEST and RECORD shows counters, image cards, a computer and a blank notebook.
Verify and shuffle the images before testing; submit one image at a time and record every response.

11 // Calculate and compare the error

For a numeric estimate, calculate absolute error as |estimate − verified count|. For example, an illustrative estimate of 10 when the verified count is 12 has an error of 2 objects; an estimate of 14 also has an error of 2. Absolute error keeps overcounts and undercounts on the same scale while the raw estimate preserves direction. Do not label these example values as experimental data.

Within each of the six groups (8/12/16 crossed with spaced/cluttered), report the median absolute error, the number of exact responses out of six, and how many responses were non-numeric. Keep all individual estimates in the raw table. The median is less affected by one unusually large miss than a mean, but neither summary replaces showing the small sample size and raw observations.

An explicitly illustrative number-line diagram shows a verified count of 12 and estimates of 10 and 14, each with absolute error 2.
These values illustrate the calculation only; they are not findings from a model run.

12 // Interpret the pattern—and its limits

Compare the spaced and cluttered results separately at each object count. If the cluttered set has a larger median error for all three counts, describe that pattern for this tested model and image set. If the pattern varies by count or there are too few numeric responses, report that instead. The experiment is designed to measure outcomes, not guarantee a particular result.

Current research benchmarks treat counting, visual complexity, image distortions, model choice and prompt wording as separate factors. A classroom set cannot reproduce those large, diverse evaluations. It also cannot reveal which internal features the model used. Report the tool, version if visible, date, prompt, image design, missing responses and limits; never extend the result to emergency counts or other high-stakes uses.

A blank chart titled YOUR DATA has six empty bars for absolute count error across 8, 12 and 16 objects in spaced and cluttered layouts.
The blank chart leaves outcomes open for the class data; it contains no predicted or fabricated result.

13 // Questions people ask

Is the AI estimate the correct answer?

No. The verified count comes from the saved image key or physical objects. The model response is the result being evaluated.

Why test both object count and clutter?

Counting more objects and separating overlapping boundaries are different challenges. Matched layouts help describe which tested condition was associated with a change in error.

Why use absolute error instead of just saying the AI was close?

Absolute error gives a consistent non-negative difference in objects, so an estimate of 10 for 12 and an estimate of 14 for 12 both have an error of 2.

Does this show that AI cannot count?

No. It measures one model, with one prompt and a narrow set of classroom images. Different models, images, tools and settings can produce different outcomes.

May we use photos of students?

No. Use non-identifying classroom objects and follow school policy. Do not upload student images or personal information to an online AI service.

OPTIONAL KNOWLEDGE CHECK

Can you explain the investigation?

YOUR CHECKPOINT0 / 2 answered
01Which factor do you deliberately change in this investigation?
02How can you make the comparison more trustworthy?

Can an AI vision model count objects when a picture gets cluttered? · Student Data Sheet

Question: Does increasing image clutter change how accurately an AI vision model counts objects?

Hypothesis: If the same objects are arranged with more overlap and visual clutter, then the model's counting error may change, because overlap and nearby distractors can make individual object boundaries harder to distinguish, but the result depends on the particular model and images.

Materials

  • teacher-approved vision-language AI tool with image input
  • 36 teacher-made or otherwise approved non-identifying token images
  • physical tokens or a verified answer key
  • computer
  • timer or spreadsheet
  • notebook
  • teacher approval for service and privacy settings

Safety before starting

  • Use teacher-approved pictures of non-identifying objects. Do not upload student faces, names, private photographs, school records, or account details.
  • Check the selected service's age, privacy, and retention rules with a teacher. Treat one model's count as a classroom test result, not proof for a consequential decision.

Lab notes

  • Keep the experiment small and low stakes. Never use the model to count medication, people in an emergency, or any safety-critical item.

Variables

Independent: Image layout and object count · Dependent: Difference between the model estimate and the verified count

Keep constant: same object set within each matched pair · same camera and resolution · same model/version and settings · same prompt · no personally identifying images · random presentation order

Procedure

  1. Make safe, countable image sets: Use teacher-approved pictures of colored paper tokens or small classroom counters on a plain background. Make six images at each of three counts (8, 12 and 16): one spaced arrangement and one moderately cluttered arrangement for each matched set. Do not include people, names, student work or account information.
  2. Record the verified count first: Two students independently count each image without seeing a model response. Reconcile any disagreement by counting the physical tokens or a numbered master list. Save the verified count and image ID before testing the AI.
  3. Fix the model and prompt: With a teacher, select one school-approved vision model. Record the product name, visible model/version, date and available settings. Use the same short prompt for every image: ‘How many separate tokens are visible? Give one whole-number estimate.’ If the service does not identify its version, record ‘version not shown.’
  4. Test in a mixed order: Randomize the 36 image IDs so all counts and layouts are mixed. Submit each image separately. Do not show the AI the answer key, correct it, or add examples during testing. If time allows, repeat a prompt once in a fresh session and record it separately as a repeatability check; keep it out of the six-image primary error summaries.
  5. Calculate the count error: For each response, calculate absolute error as the absolute value of estimated count minus verified count. For each count-and-layout group, report the median error and the number of exact counts out of six; retain the raw estimates. Note refusals or non-numeric answers instead of silently excluding them.
  6. Explain the tested limits: Compare spaced and cluttered image groups separately at 8, 12 and 16 objects. State whether the pattern was consistent across the tested groups. The test covers one model, date, prompt, object type and classroom setup—not all vision tasks, populations or real-world consequences.

Record your observations

Image IDVerified countLayoutAI estimateAbsolute errorRepeat estimate / note
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      

Keep the comparison balanced

Verified countSpaced imagesCluttered imagesMatched-pair rule
    
    
    

Summary table (fill with your own observations)

Count / layoutExact estimates / 6Median absolute errorResponses not counted
    
    
    
    
    
    

Formula: Absolute count error = |AI estimate − verified count|

Answer key and expected pattern

A model estimate is a prediction to evaluate, not a verified measurement.

Keep matched layouts and raw responses so the comparison can be checked.

A small set can reveal a pattern worth testing; it cannot prove general capability or failure.

Remember: Measure the model against a verified answer key. A fluent response is not the same as a correct count.