Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Gemma 4 checks my Pix receipts while I sleep: 12 of 12 verdicts right, even when it misreads

Description and use

Gemma 4 automatically parses Pix payment screenshots and, using a rule set, determines which receipts are paid and flags errors, enabling the shop owner to review only suspicious cases.

Problem

Manual verification of Pix payment screenshots is tedious, error‑prone, and requires the shop owner to be awake at night.

Outcome

All 12 fictional receipts were correctly classified; Gemma 4 read amounts, dates, and payer names exactly, and the rule engine produced 12/12 correct verdicts. The tool processed each receipt in about 52 s on a 2 vCPU/7 GB laptop without GPU.

Workflow

  • Drop the day's Pix payment screenshots into a folder next to a CSV of open orders
  • Run sloth‑receipts overnight; Gemma 4 reads each image and writes a JSONL file
  • Rule‑based Python script evaluates the JSONL, applies checks in order, and produces a verdict list
  • In the morning the owner reviews the PAID list and the "needs you" list
  • Any flagged receipts are manually inspected and resolved

Evidence

sloth-receipts takes that chore. The person who gets to be lazier is the shop owner who used to do it by hand before closing.

Source

Gemma never got an amount or a name wrong. It did slip characters in long ids: Lp0oK9iJ8uH became Lp00K9ij8uH, and the blurred one gained an extra 8.

Source

On the sample night the tool cleared 5 receipts on its own. The other 7 went to the list, each with its reason; six were real problems, and the seventh was a relative paying for a customer.

Source

  • Record date: 2026-10-22T00:26:10.852Z