2016-03-02 03:42:17 -0600 | asked a question | K-Nearest Neighbors implementation on OpenCV 3.0 Hi, I'm trying to implement a simple digits recognizer using KNn in OpenCV-CPP, I've got a folder with all images I want to train the classifier, that is ten folders, one for every digits, containing an image of the corresponding digit, but I don't know how to load those in Mat. These are the Mat I'd want to use:
Thanks in advice. |