Let's connect your soroban
To practice, the app needs to see your soroban through the camera. It takes a minute: turn on the camera, take a picture of the soroban cleared and with 9 on every rod — the app finds the soroban by itself.
Train
reading now: —A complete course on your real soroban: in each lesson, a short explanation, guided exercises (the camera checks every step and shows how the soroban should look) and practice without hints.
Do the operation on the soroban and take your hand away: when the reading is stable on the right result, the question is checked automatically. Enter submits what is on the soroban; before each question, clear the soroban.
The numbers appear one at a time (or are spoken). Add them in your head — or on the soroban — and form the total.
About the exams
From 13 kyu to 10 dan, in the format of the soroban exams in Japan. 13, 12 and 11 kyu are pre-levels with addition and subtraction only.
Some lessons are missing for this exam
These Learn lessons teach what is on the exam. Click one to do it now:
Before you start
How do you want to be graded?
Both modes have the same passing rules and the same time. Will you write the answers down in pencil, as in a paper exam? See how to hold the pencil →
1-on-1 duel over the internet, each player with their own soroban and camera: the same operations for both, and whoever forms the answer first wins the round. One creates the room and shares the code; the other joins. With a free account; players only see each other's nickname.
During practice, say “slower” or “faster”.
Calibrate
You can calibrate without touching the screen: at the top, turn on 🔊 (the app speaks each step) and 🎤 (you say “ready”). Got it
1Camera
python3 -m http.server 8000).
Fixed camera, above the soroban, at least 35 cm (14 in) away, with good light and no glare. The soroban in the center of the picture (closer also works, but the reading may get worse).
📷 No tripod: where do I put the camera?
Any steady support works: what matters is that the camera stays still, above the soroban, with all of it in the picture.
1234- Webcam on top of the monitor, tilted down until the whole soroban shows. It is the simplest way on a computer.
- Phone standing up, with the camera facing the soroban. An eraser under the phone and a notebook behind it hold the tilt.
- A stack of books (or a box) raises the phone: about 35 cm (14 in) above the desk, close to the soroban.
- The soroban lying flat, with the rods lined up from side to side.
24After calibrating, do not move the camera or the soroban (if you do, just calibrate again). Avoid strong light reflecting on the beads.
⚠️ It works in many ways, but be careful when improvising: make sure the support is steady and the phone cannot fall. We are not responsible for any damage while you try.
Image settings (brightness, contrast, sharpness…)
Camera diagnostics
Virtual camera (DroidCam, OBS…) not showing? Click Find cameras and allow access. If it shows but does not open, close other programs that may be using it (Meet, Zoom). If the page was opened as a local file, the browser may forget the permission: open it through a server link (for example python3 -m http.server e http://localhost:8000/soroban-leitor.html).
2Calibration and unit rod
About 1 minute, in 5 steps.
📱 Phone on a tripod, at least 35 cm (14 in) away from the soroban and with all of it in the picture. After that, do not touch the phone again: the app speaks each step and you answer “ready”.
Calibration details
3Ready to practice
Form a few numbers and check the reading on the side. All good? Go to practice.
Rectified view (debug)
How to read this view
The soroban is "straightened" using the perspective marked at the corners. The yellow lines show the bar; the strip next to each rod shows how much of each part was taken as "bead" (orange) or "empty". Below, the digit read. (View of the old reader.)
Quick camera test (without calibrating)
Reads the soroban without the zero and all-9 captures: the position of the rods and beads comes only from the current picture (any number formed). Use it to quickly test another camera, position or light. The reading is less accurate than the full calibration and replaces the current calibration — to practice, recalibrate afterwards (Calibrate → step 2).
It only needs the 4 frame corners marked: in Calibrate → step 2, tap “I'd rather mark the 4 corners”.
Guided test (optional)
Form the requested number on the soroban, with the ones on the unit rod. When the reading is stable and correct, it moves on to the next one.
Diagnostic collection (optional)
Helps improve the reader with real pictures. Form 7 on every rod, take your hand away and click Save frame. Without moving the beads, change the condition (turn the light on/off, open the window, make a shadow), write the condition and save again. At the end, download the collection (a single file) and send it. If you calibrated in this session, the calibration captures go with it.
Voice-guided collection (diagnostics)
For a phone on a tripod, without touching the screen: the app speaks the number you should form on every rod (7, 2, 6, 8, 3, 1, 4, 5, 0 and 9 — the gap between the beads at each place on the rod). Form it, take your hand away and say “ready”: it waits for the picture to settle, saves it and speaks the next one. Say “repeat” to hear it again, “skip” to move to the next one and “stop” to stop. The buttons do the same. At the end, download the collection and send it. Calibrate first (the calibration captures go with it).
Old calibration (v3, by differences between 8 captures)
Old calibration (v3)
First you mark the soroban by dragging a rectangle around it (the app ignores everything outside it: you, your arms, the keyboard). Then there are 8 captures: zero; 1, 5 and 9 on the last rod on the right; 1, 5 and 9 on the first rod on the left (one rod at a time); and finally 9 on every rod. With that the app finds the rods, the bar and the orientation of the soroban by itself, and checks the result. In each capture: form the number, take your hand off the soroban and capture. Each capture is checked right away; if something is wrong, the app asks you to redo it.
Calibration details
Manual adjustment (optional)
Mark the rods by hand
Click the two ends of the first rod and the two ends of the last rod (where they touch the frame), in any order. The app counts the rods, finds the bar and works out the orientation by itself.
Then check: the blue lines should fall on the rods. If the picture is curved (wide-angle lens), drag the 2 blue points to the ends of the middle rod. The red points can also be dragged.
Recalibrate only the zero
Clear the soroban (no bead touching the bar) and capture. At that moment the app also adjusts the exact position of each rod.
Delete calibration
Removes the calibration saved in this browser (practice progress is not deleted).