There are number of codes available to detect the face using HoG. I rather interested to compute the HoG from the given face. Lets say I have following code
ret,