![Mtg card scanner pc](https://kumkoniak.com/12.jpg)
Software side, we use OpenCV to cleanup & threshold the image, then send it to Tesseract OCR that will give us a text string from an image, after that the software parse the string using some regexps and voila, we have the card number, extention, language and type.Hardware side, the machine roll a card from the card dispenser, takes a picture with the camera, software magic happen to read the card, then open the corresponding filter and drop the card in the right bin.Rev 4 will read card title and do more, but that means getting whole card database from MTG, ect ect. This is based on the card reference ad the bottom of the card, references were introduced in 2015, so this is not ideal for old cards, but whatever, it'll do for now. Store results in json file for later referencement.Magic The gathering card scanning & sorting machine
![Mtg card scanner pc](https://kumkoniak.com/12.jpg)