Nonnegative matrix factorizations performing object detection and localization