Changing webcam-pixels to "nearest" color from color palette array

Great! Thank you so much for sharing this.

Are there any strategies that you ended up using – for dealing with the holes, or warping, or glare, etc – that you would suggest to others!