Using the values stored in 'r', i have cut out the detected faces individually from some rgb images, and i am getting all faces in grayscale which is obvious because of the rgb2gray function i have used..
But is there any way to get those cut out faces in rgb ?? How to retain its original rgb composition after running the fdlibmex ??