Semantic labeling of digital photos by classification