{
    "types": {
        "row": [
            "T[integer]",
            "T[float]",
            "T[float]",
            "T[float]",
            "T[float]",
            "? : T[float]"
        ]
    },
    "enums": {},
    "structure": [
        "T[row]"
    ],
    "notes": {
        "encoding": "Space-separated numeric values formatted with %g; one instance per line, trailing newline. This JSON file describes the text layout; the producer does not emit JSON.",
        "classes": "Zero-based model class index. Class meanings require the producing model class-name mapping, which is not embedded.",
        "confidence": "Last column is present only when save_conf is enabled; disabled by default.",
        "files": "Appends to the output text file. No write when no detections exist; an existing file is not cleared.",
        "metadata": "No image dimensions, image path or class names in each row. Keep source-image association externally.",
        "rounding": "Original-image corner coordinates are rounded before conversion to the normalized text representation.",
        "order": "Detection rows are traversed in reverse order.",
        "id": "yolov7-detect-txt",
        "serialization": "text/plain",
        "columns": [
            "class",
            "x_center",
            "y_center",
            "width",
            "height",
            "confidence (only with save_conf)"
        ],
        "coordinates": "Box center and size, divided by original image width/height respectively.",
        "example": "0 0.5 0.5 0.25 0.5 0.9\n",
        "example_options": {
            "save_conf": true
        },
        "models": [
            "yolov7"
        ],
        "producer": "detect.py --save-txt",
        "sources": [
            {
                "url": "https://github.com/WongKinYiu/yolov7/blob/a207844b1ce82d204ab36d87d496728d3d2348e7/detect.py",
                "revision": "a207844b1ce82d204ab36d87d496728d3d2348e7"
            }
        ],
        "emitted": [
            "bbox",
            "class",
            "confidence (optional)"
        ],
        "numeric_encoding": "Float tokens use %g formatting, which can omit the decimal point for whole-valued coordinates or confidence. Types describe the decoded column meaning, not the presence of a decimal point.",
        "adapters": {
            "import_one": "iai_model_zoo.formats.adapters.yolo_txt:import_one",
            "import_collection": "iai_model_zoo.formats.adapters.yolo_txt:import_collection"
        }
    }
}
