Is there any OpenCV code sample to detect average hair color from a picture, without using TensorFlow?

please explain in detail, how using tensorflow would help your current effort at this