(all_boxes, test_imgid_list, test_annotation_path)
:param all_boxes: is a list. each item reprensent the detections of a img.

  The detections is a array. shape is [-1, 6]. [category, score, xmin, ymin, xmax, ymax]
  Note that: if none detections in this img. that the detetions is : []
  :return:
def voc_evaluate_detections(all_boxes, test_imgid_list, test_annotation_path):
  '''

  :param all_boxes: is a list. each item reprensent the detections of a img.

  The detections is a array. shape is [-1, 6]. [category, score, xmin, ymin, xmax, ymax]
  Note that: if none detections in this img. that the detetions is : []
  :return:
  '''

  write_voc_results_file(all_boxes, test_imgid_list=test_imgid_list,
                         det_save_dir=cfgs.EVALUATE_R_DIR)
  do_python_eval(test_imgid_list, test_annotation_path)
def voc_evaluate_detections ( all_boxes , test_imgid_list , test_annotation_path ) : write_voc_results_file ( all_boxes , test_imgid_list = test_imgid_list , det_save_dir = cfgs . EVALUATE_R_DIR ) do_python_eval ( test_imgid_list , test_annotation_path )