Skip to content
madscience

Project

Abacus camera reader

Read the number set on a 3D-printed abacus from a phone's camera, in the browser on the phone itself, and say nothing when unsure. Every picture the models were trained on is a rendered drawing; the finder alone starts from public weights that were learned from photographs (ImageNet). Our own real pictures measure the models and chose between training runs of the reader. They are never shown and never trained on.

Status
Active
Started

Privacy

The camera reader is used by children practising at home. The real pictures we hold show their desks and hands, and their file names carry account ids. None of them is published or shown anywhere, and none trained any model here. Where real pictures measured a model or chose between candidates, the entry says so, and only counts are given.

A child sets a number on an abacus and a phone on a stand looks down at the desk. Three small models, all running in the phone's browser, turn the picture into the number: one finds the abacus's frame, one counts its columns and places each column's slot, and one reads each column. Any of them may answer "not sure", and then the app shows nothing.

The abacus is the one Abacus Studio prints, from 3 to 21 columns wide. Because its shape is a design file, every training picture can be drawn from that file, and none has to be a photograph of a child's desk.

The camera reader dates from January 2026. Its first reader trained only on drawings went into the app on 29 November 2026. The counter, also trained only on drawings, and the finder, trained on drawings from an ImageNet starting point, followed in the first days of December.

Evaluation sets

SetKindSizeRead onChose anythingNote
Studio renders, held-back testHeld-back1,000 picturesNo400 pictures drawn like the training set (382 with an abacus) and 600 with no abacus. Never read by anything until it was scored once.
Studio renders, choice setSelection800 pictures–Yes381 pictures with an abacus and 419 without. Chose every setting: the finder's threshold and weight format, the counter's read-out rule, the reader's cut window and its gate.
Studio renders, unseen slice of the training drawingsSelection2,424 pictures–YesTraining drawings 12,000 to 14,999 in the working range, kept out of the reader's training. The second gate was built after covered columns were seen failing here.
Real columns, counts onlyReal, counts only2,778 columns–YesOne printed four-column abacus in one room, 35 sittings of practice in January 2026, cut the older way. Never shown. Earlier in the reader's line these scores chose the training run, the renderer and the separate gate head.
Real whole-desk frames, counts onlyReal, counts only1,559 frames–YesEvery fourth of 6,235 real phone frames of a whole desk, handed over as if the frame were the abacus. Never shown. Scores of this kind chose the separate gate head.

Timeline

  1. Lab Abacus reader
  2. Model abacus-column-counter
  3. Model abacus-column-reader
  4. Model abacus-frame-finder
  5. Finding In the browser the reader gives the same digit as the Python it was trained in. · Holds · 733 of 733 on Studio renders, choice set, 733 columns from part of the set
  6. Finding Given the finder's corners, the column counter is never wrong and sure about a fully visible abacus. · Holds · 0 of 211 on Studio renders, held-back test, 211 of 1,000 pictures
  7. Finding Given the finder's corners, the counter gives the right number of columns for a fully visible abacus of 3 to 21 columns. · Holds · 208 of 211 (98.6 %) on Studio renders, held-back test, 211 of 1,000 pictures
  8. Finding The counter places each column's slot to within a fraction of a millimetre. · Holds · 0.15 mm on Studio renders, held-back test, 1,961 slots from part of the set
  9. Finding When a hand or an object hides a corner of the abacus, the finder places the frame well about a third of the time. · Holds · 40 of 114 (35.1 %) on Studio renders, held-back test, 114 of 1,000 pictures
  10. Finding The frame finder places all four corners of a fully visible abacus within 3 % of its width. · Holds · 208 of 211 (98.6 %) on Studio renders, held-back test, 211 of 1,000 pictures
  11. Finding The finder knows which side of the abacus is the heaven side, however the abacus is turned in the picture. · Holds · 319 of 325 (98.2 %) on Studio renders, held-back test, 325 of 1,000 pictures
  12. Finding A picture with no abacus in it is reported as no abacus. · Holds · 599 of 618 (96.9 %) on Studio renders, held-back test, 618 of 1,000 pictures
  13. Finding Teaching the gate to refuse covered columns cut the wrong numbers shown by three quarters. · Holds · 60 of 2,424 (2.48 %) on Studio renders, unseen slice of the training drawings, 2,424 pictures
  14. Finding The column reader reads a clear column right, on abaci from 3 to 21 columns wide. · Holds · 98.5 % on Studio renders, held-back test, 1,572 columns from part of the set
  15. Finding The reader, trained only on drawings, reads real columns it never saw. · Holds · 98.96 % on Real columns, counts only, 2,778 columns
  16. Finding A picture of a whole desk, handed to the reader as if it were a column, is never accepted. · Holds · 0.0 % on Real whole-desk frames, counts only, 1,559 frames
  17. Finding About one column in a hundred that the reader accepts is wrong. · Holds · 15 of 1,538 (0.98 %) on Studio renders, held-back test, 1,538 columns from part of the set
  18. Publication Reading a 3D-printed abacus from a phone with models trained on drawings · Report
  19. Finding Retraining the reader on slot cuts of every width raised whole numbers read right from two in three to more than nine in ten. · Holds · 1,210 of 1,298 (93.22 %) on Studio renders, unseen slice of the training drawings, 1,298 of 2,424 pictures
  20. Finding Cutting each column on its own slot, not in equal strips, reads more columns right. · Holds · 95.0 % on Studio renders, unseen slice of the training drawings, 181 of 2,424 pictures
  21. Finding Counting the columns from the slot pattern alone, without a network, is not good enough. · Negative · 184 of 210 (87.6 %) on Studio renders, choice set, 210 of 800 pictures
  22. Finding With the finder's corners and the counter's slots, the whole chain gets the whole number right on clear pictures. · Target not met · 156 of 171 (91.2 %) on Studio renders, held-back test, 171 of 1,000 pictures
  23. Finding On clear pictures, the reader gets the whole number right. · Target not met · 155 of 171 (90.6 %) on Studio renders, held-back test, 171 of 1,000 pictures
  24. Finding A reader trained on 5,808 drawn columns reads real columns it never saw. · Superseded · 98.5 % on Real columns, counts only, 2,778 columns
  25. Finding A sharper, more varied renderer did not make a better reader. · Negative · 97.1 to 97.4 % on Real columns, counts only, 2,778 columns
  26. Finding Teaching the reader itself to answer "unsure" on pictures that are not columns cost it digits. · Negative · 92.6 to 94.9 % on Real columns, counts only, 2,778 columns
Loading deployment info...