Project Name

A brief description of the project.

Folder Structure

The project has the following folder structure:

This section describes the folder structure of the project. The main folders are fiveImages/, twentyFiveImages/, and oneHundredImages/, each containing subfolders for different models (model1/, model2/, etc.). Inside each model folder, there are separate folders for images (images/) and ground truth detections (ground_truth/). The output/ folder contains output files for each image, with the detections in a different format.

  • fiveImages/
    • model1/
      • images/
      • ground_truth/
      • output/
    • model2/
      • images/
      • ground_truth/
      • output/
    • ...
  • twentyFiveImages/
    • model1/
      • images/
      • ground_truth/
      • output/
    • model2/
      • images/
      • ground_truth/
      • output/
    • ...
  • oneHundredImages/
    • model1/
      • images/
      • ground_truth/
      • output/
    • model2/
      • images/
      • ground_truth/
      • output/
    • ...

In each image folder (images/), there are image files and ground truth detections (ground_truth/) in separate folders. Each ground truth file corresponds to an image file, and contains one detection per line, in the format class xmin ymin xmax ymax. The other folders are for different models, and contain output files for each image, with the detections in the format class xmin ymin xmax ymax confidence.

JSON Files

The project also has several JSON files generated by setCreationPython.py. The files have the following structure:

{
  "model1,model2,": [
    {
      "FN": [
        ["class", "xmin", "ymin", "xmax", "ymax"],
        ["class", "xmin", "ymin", "xmax", "ymax"],
        ...
      ]
    }
  ],
  "model3,model4,": [
    {
      "0": {
        "imgName": "image_filename.jpg",
        "IOU": iou_score,
        "boxes": {
          "model3": ["class", "xmin", "ymin", "xmax", "ymax", "confidence"],
          "model4": ["class", "xmin", "ymin", "xmax", "ymax", "confidence"],
          ...
        },
        "shape": [xmin, ymin, xmax, ymax],
        "confidence": ["confidence1", "confidence2", ...],
        "iouGT": iou_score,
        "gtShape": ["class", "xmin", "ymin", "xmax", "ymax"]
      },
      "1": {
        "imgName": "image_filename.jpg",
        "IOU": iou_score,
        "boxes": {
          "model3": ["class", "xmin", "ymin", "xmax", "ymax", "confidence"],
          "model4": ["class", "xmin", "ymin", "xmax", "ymax", "confidence"],
          ...
        },
        "shape": [xmin, ymin, xmax, ymax],
        "confidence": ["confidence1", "confidence2", ...],
        "iouGT": iou_score,
        "gtShape": ["class", "xmin", "ymin", "xmax", "ymax"]
      }
    },
    {
      "FN": [
        ["class", "xmin", "ymin", "xmax", "ymax"],
        ["class", "xmin", "ymin", "xmax", "ymax"],
        ...
      ]
    }
  ]
}