Counting methods
How to count screws, nuts and small parts from a photo
Small hardware is easy to miscount: parts touch, shine and hide in piles. Here is a setup and batch method that gives you a number you can check before it goes on an order.
Published

Why small parts are hard to count from a photo
Screws, nuts, washers and rivets look simple, but they are some of the hardest things to count from a picture. They are small, so each one covers only a few pixels. They are often metal, so they reflect light and lose their edges in glare. And they tend to sit in piles, where one part hides half of another.
None of this means a photo count is useless. It means the photo has to be set up for counting rather than taken of whatever is on the bench. The steps below work whether you count by hand from the image or use an app to get a first estimate. If the parts are uniform and you can weigh them, you can also count parts from a sample weight.
Spread the parts on a contrasting tray
The background does a lot of the work. Bright zinc-plated screws disappear on a white bench but stand out on a dark tray; black oxide bolts are the opposite. Pick a plain, matte surface in a colour the parts do not share.
Then give every part its own space. A count can only include what the camera can see, so a pile always hides something.
- Use a matte tray or sheet that contrasts with the parts; avoid patterned mats.
- Spread the parts in a single layer with small gaps between them.
- Stand screws and bolts on their sides, not on their heads, so each one shows its full outline.
- Use soft, even light from more than one side to cut glare and hard shadows.
- Hold the phone directly above the tray and keep the whole tray inside the frame.
Count in batches instead of one big pile
If you have hundreds of parts, do not try to fit them into one photo. Split them into batches that fit comfortably on the tray with gaps, photograph and count each batch, then move it to a finished container before you start the next one. Write each batch total down as you go.
Sort before you count when a box holds mixed sizes. An M4 and an M5 screw can look almost identical in a photo taken from above, so counting them together and splitting the total later rarely works. One type per batch keeps both the photo and the number clean.
Check the number before it goes on an order
A count that ends up on a purchase order, an invoice or a stock record deserves a second check. Recount the batch in the photo in a different order, for example column by column, and compare. If the two numbers differ, recount only that batch.
For large quantities of identical parts, weighing is a useful cross-check: weigh a counted sample, divide to get the weight of one part, then compare the total weight with your count. It will not catch every error, but a large gap between the two tells you to look again.
How to deal with glare on shiny metal
Glare is the most common reason a hardware photo cannot be counted. A bright reflection can turn the head of a screw into a white blob, merge two neighbouring nuts into one shape or hide a washer completely. The fix is almost always the light, not the camera.
Direct light from a single lamp or the sun creates hard highlights. Light that comes from a large, soft source, such as a window with a thin curtain, a ceiling bounced off a white wall or two lamps on opposite sides, spreads the reflections out so edges stay visible. Turn off the phone flash; it points straight at the parts and produces exactly the hot spots you want to avoid.
- Move the tray near a window with indirect daylight, or place two lamps on opposite sides.
- Switch off the flash and avoid overhead spotlights directly above the tray.
- Tilt the phone very slightly if one bright reflection sits on top of several parts, then check the photo again.
- Wipe oily parts with a dry cloth; a film of oil makes reflections stronger.
A worked example: checking a count by weight
Weighing is the easiest independent check for large quantities of identical parts. Here is how it works with simple, illustrative numbers. You count out 50 screws by hand, from a single batch on the tray, and weigh them together on a kitchen or postal scale. Say the scale shows 112 grams, so one screw weighs about 2.24 grams.
Next you weigh all the screws of that type, in the same container you will ship or store them in, and subtract the weight of the empty container. Say the parts alone weigh 1,860 grams. Divided by 2.24, that gives roughly 830 screws. If your photo-and-batch count came to 826, the two methods agree closely and you can record the photo count with confidence. If the photo count came to 760, something is wrong: a batch was skipped, counted twice or mixed with another size, and it is worth recounting before the number goes on an order.
Two cautions keep this check honest. Weigh the sample and the total on the same scale, and use a sample big enough that the scale’s rounding does not matter much. And remember that parts of the same nominal size can vary slightly in weight, so weighing confirms a count roughly; it does not replace counting.
Sorting a mixed box before you count
Mixed boxes are where photo counts go wrong most often, because similar sizes look identical from above. Spend a few minutes sorting first, and each batch becomes a clean, single-type count. You do not need special tools for most of it, though a thread gauge or a pair of calipers helps when two sizes are very close.
- Separate by type first: screws, bolts, nuts, washers, rivets.
- Then separate by head style, such as pan, countersunk or hex, which is easy to see by eye.
- Next by length: line a few screws up against a ruler and group them.
- Finally by thread or diameter, using a nut of known size or a gauge to check doubtful pieces.
- Label each container before you photograph it, so batch totals end up next to the right size.
Common mistakes with small-part counts
A few mistakes come up again and again. Checking for them takes less time than recounting a whole order.
- Photographing parts in the box they came in. The walls cast shadows and the parts pile up in the corners.
- Using a patterned or glossy mat. Patterns look like parts and gloss adds reflections.
- Letting screws lie on their heads. Seen from above, a screw standing on its head shows only a small circle that is easy to miss.
- Forgetting which batch has been counted. Move each finished batch to a separate container straight away.
- Rounding a batch total in your head. Write the exact number, even when it is close to a round one.
Where a camera estimate fits in
Once the tray is set up, Count Objects Camera can do the first pass. Its Counter mode detects items in a photo and shows a total for you to review, and Scan History keeps earlier scans so you can compare batches. The same setup rules apply: separation, even light and the whole group in frame make the result easier to check.
Treat that total as an estimate. Results can vary with image quality, lighting, object visibility and camera angle, and shiny or overlapping parts are the usual trouble spots. Use the estimate to move quickly, and the batch and recount method above for numbers that need to be exact.
Frequently asked questions
How many parts should I put in one photo? As many as fit on the tray in a single layer with small gaps, and no more. If you have to push parts together to fit them in, split the batch.
Can I count screws still in their bag or box? Not reliably. A photo only shows the top layer, so anything underneath is a guess. Tip the parts out and spread them before you photograph them.
Is weighing more accurate than counting? Not on its own. Weighing gives a quick estimate based on an average part weight, and small differences between parts add up over large quantities. It is most useful as a cross-check on a count.
What background works best for small hardware? A plain, matte surface in a colour the parts do not share: dark for zinc-plated or stainless parts, light for black oxide or dark coated parts.
