Project-O
An automated One Piece TCG card sorter — uses computer vision to identify cards via camera, then routes them through an Arduino-controlled chute into sorted bins using a 6-pass radix sort algorithm.
Processing Pipeline
01
Feed
Card enters chute
02
Capture
Camera snapshot
03
Identify
dhash + OCR match
04
Route
Arduino serial cmd
05
Sort
Bin placement
Stack
Vision
Hardware
Mechanical
How It Works
Project-O is a physical card sorting machine for the One Piece Trading Card Game. It uses OpenCV and perceptual hashing (dhash) to identify individual cards from a camera feed, then sends serial commands to an Arduino/ESP32 that controls a rotating chute to route each card into the correct bin. After 6 passes of radix sort, hundreds of cards end up in perfect canonical order.
The system includes a full computer vision pipeline (edge detection, perspective warp, hash matching with OCR tie-breaking), a Python sort controller with session logging, and 3D-printable mechanical parts designed in OpenSCAD. Cards are encoded into 6-digit canonical keys for sorting across card sets (OP, EB, ST, PRB, P).