Skip to content
madscience

Models

Three small networks, each pinned to a revision and verified against its hash before it runs.

  1. A drawn 10-column abacus on a desk, seen from a phone above, with the frame the finder found
    Four corners snap on; a new drawing every few secondsOpen the lab

    abacus-frame-finder

    thomashallock/abacus-frame-finder @ 9811121 · 9.2 MB · TensorFlow.js

    Two small networks that find a 3D-printed Abacus Studio abacus in a phone picture and return the four corners of its frame in order, heaven side on top, with the probability that an abacus is there at all.

    A drawn 10-column abacus on a desk, seen from a phone above, with the frame the finder founda phone picture

    4corners, in order

    Try it in the lab
  2. The counter's view: ten lines at the heat-map's peaks, and the heat-map below
    Peaks light up along the frame; the count followsOpen the lab

    abacus-column-counter

    thomashallock/abacus-column-counter @ ca9b53c · 11 MB · TensorFlow.js

    A network that looks at a straightened picture of an Abacus Studio abacus and says how many columns it has, from 3 to 21, and where each column's slot is, or "not sure".

    A drawn 10-column abacus on a desk, seen from a phone above, with the frame the finder foundthe frame

    10columns, sure

    Try it in the lab
  3. Ten column pictures in a row, each with the digit read below
    One column at a time: the picture the reader gets, and the digit it givesOpen the lab

    abacus-column-reader

    thomashallock/abacus-column-reader @ 1e28a8e · 1.3 MB · TensorFlow.js

    A 332 k-parameter, 1.3 MB network that reads one column of an Abacus Studio abacus from a 64 × 128 grey picture, and refuses when the picture is not a readable column.

    one column, 64 by 128 greyone column, 64 × 128 grey

    8or refused

    Try it in the lab
Loading deployment info...