I\'m trying to find the most dominant RGB color in each frame of a video (made with piCamera) and save this into a csv (or matrix, anything i can use outside of the for loop