Object Detector

a module define the object detector interface

class eyewitness.object_detector.ObjectDetector

Bases: object

Abstract class used to wrapper object detector

detect(image_obj)

[abstract method] need to implement detection method which return DetectionResult obj

Parameters:image_obj (eyewitness.image_util.Image) --
Returns:DetectionResult -- the detected result of given image
Return type:DetectionResult
detection_method

detection_method for the ObjectDetector is BBOX

Returns:detection_method
Return type:String
valid_labels

[abstract property] the valid_labels of this detecotr e.g. set(['person', 'pikachu' ...]) this will be used while want to evaluation the detector

Returns:valid_labels
Return type:set[String]