OCR overview

ทะเบียนบ้าน

Reading a Thai house registration

One house block above a repeating person block, where the boundary between people is the thing a reader has to hold.

ทะเบียนบ้าน records a dwelling and everyone registered at it. The house is described once at the top, and each resident follows as a numbered entry with the same field list repeated.

It is asked for constantly. Opening an account, enrolling a child, and registering a vehicle all begin with a copy of it. That is why it circulates as photographs and photocopies far more than as anything clean.

The specimen#

This sheet is typeset from the document's real field list. Every name and figure on it is invented, and none of it comes from anyone's paperwork.

ทะเบียนบ้าน

HOUSE REGISTRATION

สำนักทะเบียนตัวอย่าง

สำเนาท.ร. ๑๔

รายการเกี่ยวกับบ้าน

เลขรหัสประจำบ้าน 0000-000000-0

บ้านเลขที่
๗๗
หมู่ที่ / ซอย
ซอยลาดพร้าว ๗๑
ถนน
ลาดพร้าว
ตำบล / แขวง
ลาดพร้าว
อำเภอ / เขต
ลาดพร้าว
จังหวัด
กรุงเทพมหานคร
ชื่อหมู่บ้าน
หมู่บ้านร่มไม้
ประเภทบ้าน
บ้านเดี่ยว
ลักษณะบ้าน
ตึกสองชั้น
วันเดือนปีที่กำหนดบ้านเลขที่
๑๒ มีนาคม ๒๕๔๘

รายการบุคคลในบ้าน

ลำดับที่ ๑

ชื่อตัวและชื่อสกุล
นายประสิทธิ์ พงศ์เจริญ
เลขประจำตัวประชาชน
0 0000 00000 00 0
สถานภาพ
เจ้าบ้าน
เพศ
ชาย
สัญชาติ
ไทย
วันเดือนปีเกิด
๙ พฤศจิกายน ๒๕๐๖
มารดา
นางบุญเรือน พงศ์เจริญ
บิดา
นายสมพงษ์ พงศ์เจริญ

ลำดับที่ ๒

ชื่อตัวและชื่อสกุล
นางสาวมณีรัตน์ พงศ์เจริญ
เลขประจำตัวประชาชน
0 0000 00000 00 0
สถานภาพ
ผู้อาศัย
เพศ
หญิง
สัญชาติ
ไทย
วันเดือนปีเกิด
๒๔ กุมภาพันธ์ ๒๕๓๕
มารดา
นางอารีย์ พงศ์เจริญ
บิดา
นายประสิทธิ์ พงศ์เจริญ

นายทะเบียน

คัดและรับรองสำเนาถูกต้อง เมื่อวันที่ ๒ สิงหาคม ๒๕๖๙

What the model read#

paxa-ocr-lite-v1 · captured Aug 30, 2026 · unedited

The Markdown it returned

# ทะเบียนบ้าน
HOUSE REGISTRATION
สำนักทะเบียนตัวอย่าง

สำเนา
ท.ร. ๑๔

รายการเกี่ยวกับบ้าน

เลขรหัสประจำบ้าน 0000-000000-0

บ้านเลขที่ | ๗๗ | หมู่ที่ / ซอย | ซอยลาดพร้าว ๗๑
--- | --- | --- | ---
ถนน | ลาดพร้าว | ตำบล / แขวง | ลาดพร้าว
อำเภอ / เขต | ลาดพร้าว | จังหวัด | กรุงเทพมหานคร
ชื่อหมู่บ้าน | หมู่บ้านร่มไม้ | ประเภทบ้าน | บ้านเดี่ยว
ลักษณะบ้าน | ตึกสองชั้น | วันเดือนปีที่กำหนดบ้านเลขที่ | ๑๒ มีนาคม ๒๕๔๘

รายการบุคคลในบ้าน

### ลำดับที่ ๑

ชื่อตัวและชื่อสกุล | นายประสิทธิ์ พงศ์เจริญ | เลขประจำตัวประชาชน | 0 0000 00000 00 0
--- | --- | --- | ---
สถานภาพ | เจ้าบ้าน | เพศ | ชาย
สัญชาติ | ไทย | วันเดือนปีเกิด | ๙ พฤศจิกายน ๒๕๐๖
มารดา | นางบุญเรือน พงศ์เจริญ | บิดา | นายสมพงษ์ พงศ์เจริญ

### ลำดับที่ ๒

ชื่อตัวและชื่อสกุล | นางสาวมณีรัตน์ พงศ์เจริญ | เลขประจำตัวประชาชน | 0 0000 00000 00 0
--- | --- | --- | ---
สถานภาพ | ผู้อาศัย | เพศ | หญิง
สัญชาติ | ไทย | วันเดือนปีเกิด | ๒๔ กุมภาพันธ์ ๒๕๓๕
มารดา | นางอารีย์ พงศ์เจริญ | บิดา | นายประสิทธิ์ พงศ์เจริญ

นายทะเบียน
คัดและรับรองสำเนาถูกต้อง เมื่อวันที่ ๒ สิงหาคม ๒๕๖๙

The structured blocks, typeset back into a page

  1. headingL1

    ทะเบียนบ้าน

  2. paragraph

    HOUSE REGISTRATION

  3. paragraph

    สำนักทะเบียนตัวอย่าง

  4. paragraph

    สำเนา

  5. paragraph

    ท.ร. ๑๔

  6. paragraph

    รายการเกี่ยวกับบ้าน

  7. paragraph

    เลขรหัสประจำบ้าน 0000-000000-0

  8. table
    The table the model reconstructed
    บ้านเลขที่๗๗หมู่ที่ / ซอยซอยลาดพร้าว ๗๑
    ถนนลาดพร้าวตำบล / แขวงลาดพร้าว
    อำเภอ / เขตลาดพร้าวจังหวัดกรุงเทพมหานคร
    ชื่อหมู่บ้านหมู่บ้านร่มไม้ประเภทบ้านบ้านเดี่ยว
    ลักษณะบ้านตึกสองชั้นวันเดือนปีที่กำหนดบ้านเลขที่๑๒ มีนาคม ๒๕๔๘
  9. paragraph

    รายการบุคคลในบ้าน

  10. headingL2

    ลำดับที่ ๑

  11. table
    The table the model reconstructed
    ชื่อตัวและชื่อสกุลนายประสิทธิ์ พงศ์เจริญเลขประจำตัวประชาชน0 0000 00000 00 0
    สถานภาพเจ้าบ้านเพศชาย
    สัญชาติไทยวันเดือนปีเกิด๙ พฤศจิกายน ๒๕๐๖
    มารดานางบุญเรือน พงศ์เจริญบิดานายสมพงษ์ พงศ์เจริญ
  12. headingL2

    ลำดับที่ ๒

  13. table
    The table the model reconstructed
    ชื่อตัวและชื่อสกุลนางสาวมณีรัตน์ พงศ์เจริญเลขประจำตัวประชาชน0 0000 00000 00 0
    สถานภาพผู้อาศัยเพศหญิง
    สัญชาติไทยวันเดือนปีเกิด๒๔ กุมภาพันธ์ ๒๕๓๕
    มารดานางอารีย์ พงศ์เจริญบิดานายประสิทธิ์ พงศ์เจริญ
  14. paragraph

    นายทะเบียน

  15. paragraph

    คัดและรับรองสำเนาถูกต้อง เมื่อวันที่ ๒ สิงหาคม ๒๕๖๙

The exact image the model read

What is on this document#

Common commercial shape

เลขรหัสประจำบ้าน
The house's own identifying number.
ที่อยู่
House number, lane, road, sub-district, district, province.
ประเภทบ้าน และ ลักษณะบ้าน
Dwelling type and construction.
วันเดือนปีที่กำหนดบ้านเลขที่
When the house number was assigned.
ลำดับที่
The entry number, one per registered person.
ชื่อตัวและชื่อสกุล
Each person's name.
เลขประจำตัวประชาชน
Their identity number, printed in grouped digits.
สถานภาพ
Householder or resident.
วันเดือนปีเกิด
Date of birth, in Buddhist years.
บิดา และ มารดา
Parents' names, where recorded.

The form is prescribed and the labels are its own, which makes the field names stable across every copy you will meet. The number of person entries is the part that varies.

Why this one is hard to read#

The person block repeats
Every resident carries the same eight labels. A reader that loses the boundary between entries produces one person with two birthdays, and nothing about the output looks broken.
Grouped digits are one number
Identity numbers print in spaced groups. Those spaces are typography, and a reader that treats them as separators returns five numbers where one belongs.
It arrives as a photocopy of a photocopy
This document is copied more than it is printed. Generational loss, staple shadows, and the fold down the middle are on the page before the Thai is.

From blocks to fields#

The house block and each person entry come back as their own runs of blocks, in the order the page prints them. Splitting on the ลำดับที่ heading gives you one group per resident, which is the whole parsing job for this document.

Rate
6.5 credits per page
Per request
50 pages, 10 MB, PDF, PNG, JPEG, WEBP
Free credits
100 credits, about 15 pages

See full pricing

Questions#

Does it read every person on the page?
It returns the page as it is laid out, and every entry printed on that page comes back in order. A registration running to several pages is several pages in the request.
Do you extract identity numbers as a field?
The number comes back as the text printed on the page, inside its block. What it means is never decomposed or explained here, and naming it as a field is your code's step.
Is the specimen a real household?
No. Every name, address, date and number on it is invented, and the identity numbers are specimen zeros. The reading beside it is the model's actual response to that image, unedited.

Send it your own documents.

New accounts start with 100 free credits, enough for about 15 pages. Try it on a real file in the playground.