13  Counting boxes: tags and photos

For counters

You need this only if you count boxes of pieces on cards or slots, by their tags or from a photo. Counting by hand is covered in Chapter 2.

  • The two ways to count a whole box at once: scanning its tags, or taking a photo.
  • How to check a box before adding it to the count.
  • What the app never does on its own, and why.

13.1 The idea

Counting a box of 15 pairs one tap at a time works, but it’s slow. Jholok can count a whole box at once, in one of two ways:

  • Scan tags. If each piece carries its own piece tag (Chapter 9), move the camera over the box. Each tag read counts its piece, once. This is the most reliable way, which is why Scan tags is the gold button once any product in the count has a piece tag.
  • Box photo. Photograph the box. Jholok finds the box, straightens it, finds each card, reads any tags it can see, and suggests a product for the rest from their pictures.

A box holds many designs of one type, each pair or set on its own card or in its own slot. So the app counts cards, not loose pieces: one card is one pair, or one set.

Either way, the result is a proposal. The review says “15 pairs found”, with “Not added yet” under it: nothing reaches the count until you’ve checked it and tapped Add. Then it says “15 pairs added”.

ImportantHow well box photos work hasn’t been measured yet

The app’s photo counting was built and tuned on drawn example boxes, like the ones in this guide, not on photos of real boxes. How often it gets a real shop’s boxes right isn’t known yet. That’s why every box is checked before it’s added, and why the app never adds a box by itself.

Three drawings: one card with a pair, counted 1; two overlapping cards marked Make it 2?; two touching cards marked with a warning.

The app counts cards. Where a card may hold two, or cards touch, it asks you; it never splits a piece on its own.

13.2 In the app

On the counting screen, the two buttons at the bottom open the camera: Scan tags and Box photo. While any product in the count has a piece tag, Scan tags is the gold one. When nothing in the count is tagged, Box photo is gold, Scan tags sits beside it, and a line under the bar says “Have barcode tags? Import your tag list to scan them.” If the count covers several types, the camera asks which type the box holds.

Counting the Strongroom, with Scan tags and Box photo at the bottom.

Scan tags

  1. Tap Scan tags, and move the camera slowly over the tags. It reads several at once.
  2. Each tag read joins the list with what happened to it. The phone gives a different buzz when a tag is read again, so you know to move on.
  3. For a tag the camera can’t read, tap Type a tag and type its code. It counts once, like a scanned tag.
  4. Tap Done to see the summary.
You see It means
+1 Counted
Already counted in Box 2 This piece was counted earlier in the count, so it adds nothing
Not in your tag list The tag isn’t linked to a product yet
Product code A barcode or SKU, which is on every piece of a design, so it can’t count one
Not in this count A product this count doesn’t cover
Archived A product no longer in the catalogue
Customer’s piece, not stock A customer’s own piece, which is never the shop’s stock

The summary says what the scan found. A tag the list doesn’t know must be linked to its product (Link…) or skipped before you can add the scan. Linked tags join your tag list when you add it.

What a tag scan of the first box found.

Link or skip the unknown tag, then tap Add … pairs to count: in this scan, 13 if you link it, 12 if you skip it. The scan is kept as “Tag scan 1”, and each counted tag adds one to its product.

Take a box photo

  1. Tap Box photo. If the count covers several types, choose the box’s type at the top.
  2. Hold the phone flat above the box, with the whole box in the frame. If it’s tilted, the app says “Hold the phone flat”. Tags it can read are ticked as you frame.
  3. Tap the shutter. The app checks the photo, and if it’s blurred, too dark, too bright or tilted, offers Retake or Use anyway.
  4. It then finds the pieces, reads the tags and matches pictures, and opens the box’s review.
Taking a box photo. The simulator has no camera, so it offers sample boxes.
Taken on a test phone with no camera. Your phone shows the camera view here, and has no Sample boxes button.

You can also Choose photo to use one you took earlier.

Check the box

The review shows the photo with every piece outlined and numbered. A small mark on a number says what the piece still needs:

  • a question mark: it needs a product;
  • an eye: check it. Its picture match is waiting for you to accept it, or it’s flagged, such as a piece that may be two, or one found only by its tag;
  • no mark: it’s done, read from its tag or chosen by you.

A piece left out is dimmed, with a dashed outline and its reason beside the number, such as “Counted in Box 2”.

The review of a tagged box of earrings, each piece numbered, with a mark on any piece that still needs a product or a check.
The box is a drawn example the app uses for practice, not a photo of a real shop's box.

Tap any piece to open it. The sheet shows its tag, its product, and the products it may be, with a search at the top. Choose the product, or accept the suggested one. Under that, the actions that apply to the piece are listed in this order:

  • Not in the catalogue, for a design the shop has no product for;
  • Make it 2, on a piece flagged as maybe two. If one outline holds two pieces and isn’t flagged, use Add piece;
  • Link tag, to link a tag the app doesn’t know to a product;
  • Identify later, on a picture match you can’t check now: it clears the match, and the piece waits in the To identify queue (Chapter 14). A piece with no product goes there anyway;
  • Count it anyway, on a piece the app left out, if it should count;
  • Not a piece, last, when the outline isn’t jewellery (an empty card, a label). You can undo it until your next change.
One piece of a box photo: the tag that was read, and the product it is.
The box is a drawn example the app uses for practice, not a photo of a real shop's box.

If the app missed a piece, tap Add piece, then tap where it is. For a tray with one piece per slot, such as rings, turn on Count by tray grid, set the rows and columns, and drag the corners to fit the tray. The switch shows under the photo for rings, for a type you’ve counted by tray grid before, and while it’s on. For any other box photo, tap the box’s name at the top and choose Count by tray grid from that menu.

The same menu has Rename and Help with box counting, which opens this chapter. If the owner has turned on Mark test photos in Settings → Advanced → Photo counting (it’s off at first), the menu also has Keep as a test photo: a test photo is kept out of training and used to measure how well the app counts.

Adding a piece the app missed: tap where it is on the photo.
The box is a drawn example the app uses for practice, not a photo of a real shop's box.

When everything looks right, tap Add 15 pairs to count. Any piece still without a product goes to the To identify queue; the note under the button says so, such as “3 pieces have no design yet: you’ll pick them later from the To identify list.” A piece whose picture match you haven’t checked keeps the box from being added: accept it, change it, or choose Identify later first.

If the box was counted already

If a box photo shares half or more of its tags with a box already added, or an untagged box looks just like one already added, the app asks first: “Is this Box 2 again?” If it is, tap Cancel, or its pieces would be counted twice.

After adding

The count lists the box under Boxes, and its pieces add to each product’s count, together with anything counted by hand. Tap a box to open its review again and update it, or swipe it to Remove it: its pieces come off the count, and its photo is deleted.

The count after adding a box photo: the box is listed, and 3 pairs are still to identify.

13.3 Why it works this way

  • Tags first. A piece tag names one piece exactly, so scanning can’t mistake one design for another.
  • A tag counts once per count. Whether it’s scanned twice, or appears in a photo and a scan, the piece is counted once.
  • Cards, not loose pieces, and never a guessed split. Earrings lie close together and sets are large; guessing would be wrong too often. Where one outline may hold two, the app asks; where pieces touch, it warns.
  • A proposal, never automatic. The app can’t yet show it counts real boxes well, so a person checks every box. Settings → Advanced → Photo counting keeps score.
  • Not a piece is kept, left out. What the app got wrong is exactly what a better version needs to learn from, so the outline stays with the box, marked, and is never counted.
  • Picture matching never looks at stock. It compares the piece’s picture with product photos of the box’s type only.

13.4 How it works

Every added box keeps its photo, the straightened box, and every piece you confirmed. These are kept so that, in future, the app can learn from your real boxes. The owner can export them from Settings → Advanced → Export → Box photos and labels, which asks the owner to confirm each time.

Settings → Advanced → Photo counting compares the app’s count of each box with the count you added after checking it. Those numbers lean towards the app, because you saw its proposal first, so they aren’t an independent measure.

Settings → Advanced → Photo counting: how the app's box counts compare with what people added.

13.5 Try it

This is the demo’s tagged box of earrings, with each piece numbered as in its review.

A maroon velvet box of 15 pairs of earrings on white cards, each outlined and numbered, with one empty card.

The tagged box of earrings. The box is a drawn example the app uses for practice, not a photo of a real shop’s box.

Its 15 pieces carry tags, but a photo of it doesn’t read them all:

Table 13.1: What happens to each piece’s tag in the tagged box.
What happened Pieces
Identified by its tag 12
No tag read 2
Tag not in the tag list 1

12 pairs are identified by their tags. The tag on one pair, TJ-000269, isn’t among the 68 tags in the demo’s tag list: that pair arrived after the list was exported, so the review asks to link it. Two tags can’t be read. That leaves 3 pairs to identify, as the note under Add says: “3 pieces have no design yet: you’ll pick them later from the To identify list.”

The empty card in the bottom corner holds no jewellery. If the app had outlined it, you would tap it and choose Not a piece.

Question. You scan a box and the list shows “Already counted in Box 2” for every tag. What happened?

This box was already counted, as Box 2, earlier in the count. Its pieces add nothing, so nothing is counted twice. Don’t add the scan.

  • Scan tags when pieces have tags; take a box photo when they don’t.
  • Every box is a proposal: check it, then Add. Nothing is added by itself.
  • The app counts cards, asks when one may be two, and never splits a piece.
  • A tag counts once per count. If the app asks whether a box was counted already, believe it until you’ve checked.
  • How well box photos work on real boxes hasn’t been measured yet.