{
    "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.994,
    "flow_blue_ratio": 0.9999,
    "nonblue_ratio": 0.0001,
    "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:14",
    "db_saved": true,
    "db_error": "",
    "roi_debug": {
        "left_pipe": {
            "roi": [
                0.24,
                0.21,
                0.325,
                0.45
            ],
            "px": [
                460,
                226,
                624,
                486
            ],
            "frame_usable": 19328,
            "frame_blue_ratio": 0.9905,
            "flow_usable": 23296,
            "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.57,
                0.51
            ],
            "px": [
                873,
                345,
                1094,
                550
            ],
            "frame_usable": 20489,
            "frame_blue_ratio": 0.9977,
            "flow_usable": 24816,
            "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.31,
                0.695,
                0.52
            ],
            "px": [
                1132,
                334,
                1334,
                561
            ],
            "frame_usable": 20504,
            "frame_blue_ratio": 0.9936,
            "flow_usable": 25350,
            "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
        }
    }
}