Ruayjang

Common OCR errors on lottery ticket photos

A blurred edge can make 0 and 8 look alike, so compare the scan with the printed ticket.

Published

Compare OCR against the ticket itself

OCR can mistake 0 for 8. Focus on the digit outline in a clearer photo or on the physical ticket. Repeating recognition on the same image may preserve the same error if glare obscures the outline. Keep raw OCR output separate from a manually verified number.

Review how to check the Thai Government Lottery, then use past Thai government lottery results to locate the draw before comparing values.

Worked example and how to verify it

If OCR reads 081356 but the first character is unclear, keep the OCR output separate from the verified value. Check the ticket in good light rather than guessing from patterns in other draws.

When a page abbreviates or translates a draw name, retain both labels and attach the same reference ID only if you can establish that they mean the same thing. Record the reason for the match, such as both links going to one notice or dates and issuer fields lining up exactly. Keep two separate entries while a match is uncertain. If the original name disappears from your notes, tracing a translated entry back to its issuer becomes much harder after a directory changes its labels.

Start with the date printed on the ticket

Start with the draw date shown on the paper ticket or in your digital purchase record. A page displaying the latest results can point to a different draw, especially if several days or weeks have passed. Identify the complete six-digit ticket number before looking at the fields for shorter prizes. Keep the ticket number and the result in separate notes so that you can compare the two again later. Examples in this guide are illustrative. Consult the Government Lottery Office for actual results and prize claim conditions.

Open two records created close together. Put their headers side by side and mark the fields that identify each draw. Read the relevant numbers only after you establish that the selected record matches the one you need. The latest entry can look nearly identical to an older one because the website uses the same template. Write down which field made the match clear. A useful note is specific enough that someone else can open the same page and reproduce the comparison without having seen the original screen.

For a real ticket, check a government lottery ticket by draw and compare the prize field with the notice before confirming a match.

Editorial image for Common OCR errors on lottery ticket photos
Editorial illustration

How to double-check a result

A printed ticket may place its main number near a series number or another identifier. Follow the official instructions for which field to compare, and keep any leading zeros. If you store results in a spreadsheet, define the column as text before entering numbers. When checking a compressed or folded ticket photograph, zoom in and compare it with the physical ticket. Pay particular attention to digits whose outlines are hard to see at the edges. A second check against the original can resolve an uncertain reading.

Record the draw date and prize field beside the number so you can compare two screens without mixing up the entries.

Keep a publication timeline

Keep a timeline with separate columns for the event time, the publication time and your latest check. This structure is useful when a record is published in stages or subsequently revised. If the source omits an exact timestamp, save only the level of detail you can verify, such as a date without an hour. Someone opening the record later can then see how precise the evidence actually was. It also avoids presenting an estimated timestamp as if it came from the original notice.

If a digit is unclear, begin with the ticket-photo verification steps and run through the result-sharing checklist before someone relies on the transcription.

If you cannot verify the result yet, keep the draw date and name so you can return to the same notice when the issuer updates it.

To verify the underlying record, consult Government Lottery Office notices and match the draw date or session.