'top level evaluations
:param detections: result matrix, [bbox, confidence]
:return: None'

def evaluate_detections(self, detections):

    result_dir = os.path.join(self.devkit_path, 'results')
    if (not os.path.exists(result_dir)):
        os.mkdir(result_dir)
    year_folder = os.path.join(self.devkit_path, 'results', ('VOC' + self.year))
    if (not os.path.exists(year_folder)):
        os.mkdir(year_folder)
    res_file_folder = os.path.join(self.devkit_path, 'results', ('VOC' + self.year), 'Main')
    if (not os.path.exists(res_file_folder)):
        os.mkdir(res_file_folder)
    self.write_pascal_results(detections)
    self.do_python_eval()
