It's an opencv anpr project
using KNN model and can be able to train back.
using post processing such as
![Result](https://user-images.githubusercontent.com/22855741/31375962-d4e13444-add5-11e7-90bb-99b3a54224c5.png)
make your own sample xml files
use origin xmls files
if you want to make your own sample xml files , make sure the sample files path is available.
string traindata_address = "....."
Then uncomment the fs save code at the first time!
/*
////using trainingdata
Mat traindata [36];
the pushback values (sign) must match the picture, and need to be transfer into int type as well.Last,pushback the image data simultaneously.
Don't forget to comment out if it's done.
2.Running with existing xmls file
if you want to use mine just run it.
remember to comment out the code from
/*
////using trainingdata
Mat traindata [36];
How to Train the KNN model and write it back ?
The program will ask user if it is correct or not
if no , type the right answer and will be written into xmls files
if yes, automatically write into xml files