{
    "success": true,
    "ecm": 2,
    "status": "ok",
    "label_color": "green",
    "label_text": "Good",
    "display_text": "Good",
    "reason": "No water flow or clean water flow",
    "has_discharge_pipe": true,
    "is_real_flow": false,
    "is_clean_water": false,
    "is_silty_water": false,
    "detected_pipe_count": 3,
    "active_flow_count": 0,
    "muddy_roi_count": 0,
    "clean_roi_count": 0,
    "blue_ratio": 0.9935,
    "flow_blue_ratio": 0.9996,
    "nonblue_ratio": 0.0004,
    "white_ratio": 0,
    "brown_ratio": 0,
    "yellow_ratio": 0,
    "graycyan_ratio": 0,
    "dark_ratio": 0,
    "silty_strength": 0,
    "clean_strength": 0,
    "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-04-19 22:59:54",
    "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": 17248,
            "frame_blue_ratio": 0.9894,
            "flow_usable": 25376,
            "flow_blue_ratio": 0.9996,
            "flow_nonblue_ratio": 0.0004,
            "flow_white_ratio": 0,
            "flow_brown_ratio": 0,
            "flow_yellow_ratio": 0,
            "flow_graycyan_ratio": 0,
            "flow_dark_ratio": 0,
            "mass_row_ratio": 0,
            "run_ratio": 0,
            "max_row_ratio": 0,
            "pipe_detected": true,
            "clean_flow_detected": false,
            "muddy_flow_detected": false,
            "flow_detected": false,
            "muddy_roi_detected": false,
            "clean_roi_detected": false
        },
        "center_pipe": {
            "roi": [
                0.455,
                0.32,
                0.58,
                0.53
            ],
            "px": [
                873,
                345,
                1113,
                572
            ],
            "frame_usable": 18663,
            "frame_blue_ratio": 0.9975,
            "flow_usable": 26642,
            "flow_blue_ratio": 1,
            "flow_nonblue_ratio": 0,
            "flow_white_ratio": 0,
            "flow_brown_ratio": 0,
            "flow_yellow_ratio": 0,
            "flow_graycyan_ratio": 0,
            "flow_dark_ratio": 0,
            "mass_row_ratio": 0,
            "run_ratio": 0,
            "max_row_ratio": 0,
            "pipe_detected": true,
            "clean_flow_detected": false,
            "muddy_flow_detected": false,
            "flow_detected": false,
            "muddy_roi_detected": false,
            "clean_roi_detected": false
        },
        "right_pipe": {
            "roi": [
                0.59,
                0.27,
                0.695,
                0.56
            ],
            "px": [
                1132,
                291,
                1334,
                604
            ],
            "frame_usable": 16474,
            "frame_blue_ratio": 0.9933,
            "flow_usable": 29380,
            "flow_blue_ratio": 0.9993,
            "flow_nonblue_ratio": 0.0007,
            "flow_white_ratio": 0,
            "flow_brown_ratio": 0,
            "flow_yellow_ratio": 0,
            "flow_graycyan_ratio": 0,
            "flow_dark_ratio": 0,
            "mass_row_ratio": 0,
            "run_ratio": 0,
            "max_row_ratio": 0,
            "pipe_detected": true,
            "clean_flow_detected": false,
            "muddy_flow_detected": false,
            "flow_detected": false,
            "muddy_roi_detected": false,
            "clean_roi_detected": false
        }
    }
}