move visualizeHOG to root