made cob_object_categorization compatible with new OpenCV versions greater 2.4