def __init__(self):
     ImageObjectDetector.__init__(self)
     self.m_center_x = 200.0
     self.m_center_y = 200.0
     self.m_height = 200.0
     self.m_width = 100.0
     self.m_dx = 0
     self.m_dy = 0
     self.frame_ct = 0
Esempio n. 2
0
 def __init__(self):
     ImageObjectDetector.__init__(self)
     self._net_config = ""
     self._weight_file = ""
     self._class_names = ""
     self._thresh = 0.01
     self._gpu_index = "0"
     self._display_detections = False
     self._template = ""
Esempio n. 3
0
    def __init__(self):
        ImageObjectDetector.__init__(self)

        self.model_file = "model_file"
        self.norm_image_type = ""
        self.fixed_range = 7000
        self.confidence_thresh = 0.5
        self.memory_usage = 1.0
        self.category_name = "detection"
Esempio n. 4
0
    def __init__(self):
        ImageObjectDetector.__init__(self)

        # kwiver configuration variables
        self._kwiver_config = {
            'deployed': "",
            'xpu': "0",
            'batch_size': "auto"
        }

        # netharn variables
        self._thresh = None
        self.predictor = None
Esempio n. 5
0
 def __init__(self):
     ImageObjectDetector.__init__(self)
     for opt in self._options:
         setattr(self, opt.attr, opt.default)
 def __init__(self):
     ImageObjectDetector.__init__(self)
     self.threshold = 0.0
 def __init__(self):
     ImageObjectDetector.__init__(self)