Election Digit Scanner
Handwritten digit recognition for the 2024 Indonesian presidential election vote recap, using HOG and SVM.
- Status
- Finished and delivered. It does what it set out to do and no more work is planned.
- Kind
- Machine Learning
- Started
- Jun 2024

About it
The problem
Manual entry of handwritten vote tallies in the 2024 Indonesian presidential election recap is slow and error-prone, and one misread digit changes a result.
The approach
The research uses a dataset of handwritten digit images resized to 64x64 pixels. It extracts Histogram of Oriented Gradients (HOG) features, then classifies with K-Nearest Neighbors and a Support Vector Machine, across 60:40, 70:30 and 80:20 train and test splits.
- HOG with SVM: 97.48%, 97.48% and 97.68% accuracy for the three splits.
- HOG with KNN: 91.35%, 91.65% and 92.25%.
- Without feature extraction, KNN reaches only about 40 to 42% and SVM about 90%.
The result
HOG with SVM performed best on every split, which shows that the right feature extraction matters more than the classifier alone.
What it does3
HOG Features
SVM and KNN
Feature Extraction Matters
More work

Rone Arena API
A public FastAPI for Mobile Legends hero data, analytics and player tools, with a web playground and SDKs.

BeliMadu.com
An online honey shop on Next.js 16 and Cloudflare Workers, with a WhatsApp-checkout cart and a Vitest suite.

ridwaanhall.com
This site: a portfolio and blog on Next.js 16 with an admin, Markdown versions of every page and a CV generated from the About page.
Comments0
Signed-in readers can comment.