def __init__(self, model_path, conf=0.6, device='CPU', ext_path='', max_num_frames=1):
    self.net = load_ie_model(model_path, device, None, ext_path, num_reqs=max_num_frames)
    self.confidence = conf
    self.expand_ratio = (1.0, 1.0)
    self.max_num_frames = max_num_frames
def __init__(self, model_path, conf=0.6, device='CPU', ext_path=, max_num_frames=1):
    self.net = load_ie_model(model_path, device, None, ext_path, num_reqs=max_num_frames)
    self.confidence = conf
    self.expand_ratio = (1.0, 1.0)
    self.max_num_frames = max_num_frames