copying HOG visualization demo from my earlier version of this 'DPM urban safety' code. need to fix paths and stuff in that demo.
simplifying get_detected_filters()
more simplification in get_detected_filters()