{
    "success": true,
    "ecm": 2,
    "status": "ok",
    "label_color": "green",
    "label_text": "Clean Water",
    "display_text": "Clean Water",
    "reason": "Clean water detected at outlet ROI",
    "has_discharge_pipe": true,
    "is_real_flow": true,
    "is_clean_water": true,
    "is_silty_water": false,
    "detected_pipe_count": 3,
    "active_flow_count": 3,
    "blue_ratio": 0.5847,
    "flow_blue_ratio": 0.4305,
    "nonblue_ratio": 0.5695,
    "white_ratio": 0.1767,
    "brown_ratio": 0,
    "yellow_ratio": 0,
    "graycyan_ratio": 0.3576,
    "dark_ratio": 0,
    "silty_strength": 0,
    "clean_strength": 0.4628,
    "image_url": "https://api.envautomation.com/test_path20/kb202/e2t2/roi_masked.jpg",
    "image_file": "/home/envasndu/public_html/api.envautomation.com/test_path20/kb202/e2t2/roi_masked.jpg",
    "width": 1920,
    "height": 1080,
    "analyzed_at": "2026-06-13 01:07:14",
    "db_saved": true,
    "db_error": "",
    "roi_debug": {
        "left_pipe": {
            "roi": [
                0.24,
                0.21,
                0.34,
                0.55
            ],
            "px": [
                460,
                226,
                652,
                594
            ],
            "frame_usable": 17264,
            "frame_blue_ratio": 0.8417,
            "flow_usable": 25375,
            "flow_blue_ratio": 0.82,
            "flow_nonblue_ratio": 0.18,
            "flow_white_ratio": 0.0015,
            "flow_brown_ratio": 0,
            "flow_yellow_ratio": 0,
            "flow_graycyan_ratio": 0.0661,
            "flow_dark_ratio": 0,
            "mass_row_ratio": 0.1203,
            "run_ratio": 0.1203,
            "max_row_ratio": 0.7295,
            "pipe_detected": true,
            "flow_detected": true
        },
        "center_pipe": {
            "roi": [
                0.455,
                0.32,
                0.58,
                0.53
            ],
            "px": [
                873,
                345,
                1113,
                572
            ],
            "frame_usable": 18662,
            "frame_blue_ratio": 0.6656,
            "flow_usable": 26642,
            "flow_blue_ratio": 0.5221,
            "flow_nonblue_ratio": 0.4779,
            "flow_white_ratio": 0.1328,
            "flow_brown_ratio": 0,
            "flow_yellow_ratio": 0,
            "flow_graycyan_ratio": 0.3446,
            "flow_dark_ratio": 0,
            "mass_row_ratio": 0.8051,
            "run_ratio": 0.7179,
            "max_row_ratio": 1,
            "pipe_detected": true,
            "flow_detected": true
        },
        "right_pipe": {
            "roi": [
                0.59,
                0.27,
                0.695,
                0.56
            ],
            "px": [
                1132,
                291,
                1334,
                604
            ],
            "frame_usable": 16474,
            "frame_blue_ratio": 0.2236,
            "flow_usable": 29380,
            "flow_blue_ratio": 0.0109,
            "flow_nonblue_ratio": 0.9891,
            "flow_white_ratio": 0.3679,
            "flow_brown_ratio": 0,
            "flow_yellow_ratio": 0,
            "flow_graycyan_ratio": 0.6211,
            "flow_dark_ratio": 0,
            "mass_row_ratio": 0.8401,
            "run_ratio": 0.8401,
            "max_row_ratio": 1,
            "pipe_detected": true,
            "flow_detected": true
        }
    }
}