Hello.
I've read this script, which detects characters using kNN in OpenCV. It uses pixel values as features. I'm confused about how this works, will the kNN verify every pixel on the data being passed in find_nearest() function with the pixels of every class in response data (already trained characters)?
Also, how would you plot the data being tested with, for example, one of the responses?
I've plotted the pixel data of characters O and 0 (100 pixels), but I think it's not right. C:\fakepath\Capture.JPG
Thanks in advance.