{
    "success": true,
    "ecm": 1,
    "status": "ok",
    "label_color": "green",
    "label_text": "Good",
    "display_text": "Good",
    "reason": "No water flow or clean water flow",
    "has_discharge_pipe": false,
    "is_real_flow": false,
    "is_clean_water": false,
    "is_silty_water": false,
    "detected_pipe_count": 0,
    "active_flow_count": 0,
    "muddy_roi_count": 0,
    "clean_roi_count": 0,
    "blue_ratio": 0,
    "flow_blue_ratio": 0,
    "nonblue_ratio": 0,
    "white_ratio": 0,
    "brown_ratio": 0,
    "yellow_ratio": 0,
    "graycyan_ratio": 0,
    "dark_ratio": 0,
    "silty_strength": 0,
    "clean_strength": 0,
    "image_url": "https://cctv.envautomation.com/env_cctv/dtu5/roi_masked.jpg",
    "image_file": "/home/envcctv/public_html/env_cctv/dtu5/roi_masked.jpg",
    "width": 465,
    "height": 239,
    "analyzed_at": "2026-09-20 23:46:40",
    "db_saved": true,
    "db_error": "",
    "roi_debug": {
        "ecm1_pipe": {
            "roi": [
                0.05000000000000000277555756156289135105907917022705078125,
                0.450000000000000011102230246251565404236316680908203125,
                0.2300000000000000099920072216264088638126850128173828125,
                0.84999999999999997779553950749686919152736663818359375
            ],
            "px": [
                23,
                107,
                106,
                203
            ],
            "frame_usable": 0,
            "frame_blue_ratio": 0,
            "flow_usable": 0,
            "flow_blue_ratio": 0,
            "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,
            "roi_clean_strength": 0,
            "roi_muddy_strength": 0,
            "pipe_detected": false,
            "clean_flow_detected": false,
            "muddy_flow_detected": false,
            "flow_detected": false,
            "muddy_roi_detected": false,
            "clean_roi_detected": false
        }
    }
}