An OCR library that reads the state of a Wordfeud board from a screenshot
This library recognizes the tiles on a Wordfeud board and rack, and also the bonus squares on the board.
Basic usage
# use wordfeud_ocr::{Board, Error};
# use anyhow::Result;
let path = "screenshots/screenshot_english.png";
let gray = image::open(path)?.into_luma8();
let board = Board::new();
let result = board.recognize_screenshot(&gray)?;
println!("Tiles:\n{}", result.tiles_ocr);
# Ok::<(), Error>(())