Learning From Ambiguous Examples For Object Detection And Image Categorization