Picunic – convert image to Unicode art using ML
Picunic – convert image to Unicode art using ML
I built Picunic, a web-based port of a terminal image viewer that converts images to Unicode art using a CNN. *Demo:* https://mnur.me/picunic/ *GitHub:* https://github.com/mohammed-nurulhoque/picunic *How it works:* - Splits images into 8×16 pixel chunks (matching terminal cell aspect ratio) - Runs each chunk through a CNN encoder to get a 64-dim embedding - Finds the Unicode character with the most similar embedding (cosine similarity) - The CNN was trained on ~2000 Unicode characters rendered in DejaVu Sans Mono Everything runs client-side via WebAssembly - no server needed. Features include adjustable width, dithering for photos, and ASCII-only mode. Built with Rust (compiled to WASM), ONNX Runtime Web, and vanilla JavaScript. The original terminal version is also available in the repo. Currently works best for images with clear dark/light distinction. Would love feedback on the improving quality!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Image Classifier Sample Using Core ML and InceptionV3 Model
Tator the local ML image annotator
Codemonkey.ai – Using ML/AI to improve the SDLC
Demo of using DVC and MLFlow for ML experiments
Image Pixelator to convert image to pixel art
NeuralCam Live – Using ML to Turn iPhones into Smart Webcams
I indexed 37h of my videos using an RTX 4090 and local ML models in 24h
Using ML and a Pen Plotter to create one of a kind postcards
Convert sketches into images using ControlNet
Using ML to Find Funniest Friend in Friends