OpenCV as KNN

About

As an implementation of KNN, I wanted to set OpenCV's facial recognition coordinates as the query points. After experimenting with Sam Levine's video library VidPy, I first tried applying this to a video clip by accessing the pixel data as a nested for loop, where the KNN categories would change with every frame. I took a step back to better understand the process and settled on working with images. I'm going to open a github issue with cv2 after George Harrison wasn't recognized. 


frame9140.jpg
frame8690.jpg
itpknn.jpg
Screen Shot 2017-11-20 at 2.19.51 PM.png
faceoffknn.jpg
beatlesknn.jpg

That's more like it

beatlesknn2.jpg
frame0.jpg
frame999932 copy.jpg