Chess OCR: End-to-end ML pipeline running in the browser
sbondaryev.dev·20h·
Discuss: Hacker News
🚀Model Deployment
Preview
Report Post

←Back to home

Building a chess position recognition system from data collection to browser deployment for my module project at CAS AML Bern.

Introduction

Recognizing an entire board requires extensive training data. The simpler approach: split the board into 64 squares, classify each independently, then reconstruct the position. Output includes Lichess links for editing and analysis.

Chess recognition pipeline: board splitting and square classification

Assumptions:

  • Single board per image, no perspective distortion
  • Standard orientation: white squares at top-left and bottom-right corners

Dataset Collection

Ready-made chess image datasets are hard to find, pro…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help