Add All Numbers
Adds every number in the capture. Best for a column of figures or a scoreboard.
Point your camera at price tags or numbers, capture each one and keep a running total.
Enter your values below to get started.
Hold the phone 20–40 cm (8–16 in) from the tag and fill the orange box with the number.
Use Largest number on shelf tags, where the price is the biggest figure.
Use Prices only to skip quantities, weights and item codes.
The camera needs an https page and your permission; manual entry works without both.
A camera sum calculator reads numbers through your device camera and adds them to a running total. Start the camera, fit a price tag, label or meter inside the guide box and press Capture; optical character recognition (OCR) reads the digits in the browser, each capture becomes a line you can edit, and the calculator shows the total, the average per capture and how much of your budget is left. No camera? Type the numbers instead.
A camera sum is a running total built from numbers captured one by one with a device camera. Each capture reads the digits in front of the lens, such as a shelf price, and adds them to the total, so 5 tags of $12.99, $4.50, $7.25, $19.00 and $3.49 give $47.23.
A camera sum differs from a photo sum in 1 way: a photo sum reads one finished picture, while a camera sum keeps adding as you move from item to item, the way a shopper, a stock counter or a meter reader works.
The camera sum calculator works in 5 steps: it opens the camera stream, grabs a frame, crops it to the guide box, reads the digits with OCR and adds the value to the running total. The stream comes from the W3C Media Capture and Streams API (getUserMedia), and the OCR engine is tesseract.js, a WebAssembly build of Tesseract that runs inside the browser.
getUserMedia opens the rear camera at up to 1280 × 720 px after you allow it.
Capture copies the current frame to a canvas and keeps only the orange guide box (80% wide, 40% tall).
The crop is turned gray and passed to tesseract.js, limited to digits, separators and currency signs.
The recognized text becomes a new line; the calculator picks its value and updates the total.
The camera sum formula is the running total Tk = Tk−1 + vk, where vk is the value of capture k and T0 = 0. With a budget B, the amount left after k captures is B − Tk.
A capture can hold several numbers n1, …, nm. The calculator sets vk to their sum, their maximum or the first one, depending on the chosen mode.
The average per capture is Tk / k. For the 5 demo tags, $47.23 / 5 = $9.45 (rounded to cents).
There are 3 camera sum capture modes and 3 number filters: add all numbers, take the largest number or take the first number, combined with any number, prices only or whole numbers only. A shelf tag reading "2 for 5.00 SAVE 1.50 unit 2.50" gives 11 with all numbers, 5 with the largest number and 2 with the first number.
Adds every number in the capture. Best for a column of figures or a scoreboard.
Keeps the biggest number. Best for shelf tags, where the price is the largest figure.
Keeps the first number read. Best for meters and counters with 1 main reading.
Accepts numbers with exactly 2 decimals, such as 5.00, and skips quantities like 2.
Accepts integers such as meter readings and skips prices and weights.
Accepts every number, including decimals and negatives.
To calculate a camera sum by hand, write each captured value on a new line and add it to the previous running total. Here are 5 price tags with a $50 budget:
Camera sum accuracy depends on 3 factors: digit height in pixels, light and steadiness. OCR engines such as Tesseract read best when characters are at least about 20 pixels tall; an 8 mm (0.31 in) price digit seen by a 720 px video stream at 30 cm (11.8 in) is about 23 px tall.
The camera sum calculator needs 2 things to open the camera: a secure https page and your permission in the browser prompt. Browsers follow the W3C Permissions specification, so you can allow, block or reset camera access for the site at any time from the address bar.
Frames are processed on your device: the video never leaves the browser, and only the tesseract.js engine and its English language file are downloaded on the first capture. When the camera is blocked, missing or busy, the calculator says so and keeps the manual entry box ready.
The 5 most common mistakes with camera sums are capturing the same item twice, reading unit prices instead of prices, shooting from too far, ignoring glare and using the wrong decimal separator.
Press Start camera, allow access, fit a number inside the orange box and press Capture and read; repeat for each item. Each capture becomes a line in the box, the total updates, and the tabs show the steps, the running-total chart and the capture table.
Press Start camera and allow access; the rear camera opens on phones.
Fill the orange box with the number and press Capture and read. Stop the camera when done.
Each capture is a line you can edit or delete; type lines by hand without a camera.
Choose how to value each capture, a filter, a budget and a currency.
A camera sum has 5 real-life uses: shopping on a budget, stock counts, meter readings, scorekeeping and checking printed totals.
Sample captures, the mode used and the running total.
| Captures | Mode and filter | Total | Note | Calculator |
|---|---|---|---|---|
| 12.99, 4.50, 7.25, 19.00, 3.49 | All numbers | $47.23 | $2.77 left of $50 | |
| 12.99, 4.50, 7.25, 19.00, 3.49 | All numbers | $47.23 | $7.23 over $40, at capture 4 | |
| 6 grocery tags | Largest, prices only | $35.62 | $5.62 over $30, at capture 6 | |
| 2 for 5.00 SAVE 1.50 unit 2.50 | All numbers | $11.00 | Adds the quantity 2 too | |
| 2 for 5.00 SAVE 1.50 unit 2.50 | Largest number | $5.00 | Shelf price | |
| 2 for 5.00 SAVE 1.50 unit 2.50 | All, prices only | $9.00 | 5.00 + 1.50 + 2.50 | |
| 18250, 18542, 18801 | First, whole numbers | 55,593 | Usage = 18801 − 18250 = 551 | |
| 12,99 · 4,50 · 1.299,00 | All, decimal comma | €1,316.49 | European format |
Work each one out, then reveal the answer or check it in the calculator.
You capture 5 tags: 12.99, 4.50, 7.25, 19.00 and 3.49. How much is left of a $50 budget?
With a $40 budget, at which capture does the same list pass the budget?
A tag reads "2 for 5.00 SAVE 1.50 unit 2.50". What does Largest number capture?
Same tag with Prices only and All numbers: what is the value?
Six grocery prices 3.49, 2.79, 4.25, 5.60, 12.99, 6.50 against a $30 budget: how far over?
Euro tags read 12,99, 4,50 and 1.299,00. What is the total?
Discover 67 free sum calculators across different categories. Find the right calculator for your needs.
Try a different name or choose another category.
A camera sum calculator is an online tool that reads numbers through a device camera with OCR and adds each capture to a running total. It shows the total, the average per capture and the budget left.
No, the camera sum calculator runs in a mobile or desktop browser such as Chrome, Safari, Edge or Firefox, with no app to install.
No, the video frames stay in your browser. OCR runs on your device with tesseract.js; only the engine files are downloaded on first use.
The calculator shows a clear message and keeps the manual entry box. Type one number or one capture per line and press Total the captures.
The camera needs an https page, browser support for getUserMedia, your permission and a camera not in use by another app. The Permissions section checks the first 3 for you.
Choose Largest number, or All numbers with the Prices only filter, so quantities, weights and item codes are skipped.
Yes, enter a budget to see the amount left, the amount over and the capture at which the running total passed the budget.
Hold the phone about 20–40 cm (8–16 in) from a price tag, so each digit is at least about 20 pixels tall in the video frame.
Yes, every capture is a line of text in the box; edit or delete the line and press Total the captures again.
A camera sum adds numbers as you capture them, and the camera sum calculator does it live with in-browser OCR, 3 capture modes, 3 filters and a budget check. Fill the guide box with each number, check each line, and fall back to typing when the camera is not available.
Not sure how to set up your captures? Answer the questions below.