{
    "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": 1,
    "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/koh/bd201/ai1/roi_masked.jpg",
    "image_file": "/home/envcctv/public_html/env_cctv/koh/bd201/ai1/roi_masked.jpg",
    "width": 528,
    "height": 368,
    "analyzed_at": "2026-11-12 07:39:48",
    "db_saved": true,
    "db_error": "",
    "roi_debug": {
        "pipe_1": {
            "roi": [
                0.2600000000000000088817841970012523233890533447265625,
                0.2049999999999999877875467291232780553400516510009765625,
                0.36999999999999999555910790149937383830547332763671875,
                0.3649999999999999911182158029987476766109466552734375
            ],
            "px": [
                137,
                75,
                195,
                134
            ],
            "frame_usable": 1484,
            "frame_blue_ratio": 0,
            "flow_usable": 1530,
            "flow_blue_ratio": 0,
            "flow_nonblue_ratio": 1,
            "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
        },
        "pipe_2": {
            "roi": [
                0.520000000000000017763568394002504646778106689453125,
                0.284999999999999975575093458246556110680103302001953125,
                0.5749999999999999555910790149937383830547332763671875,
                0.395000000000000017763568394002504646778106689453125
            ],
            "px": [
                274,
                104,
                303,
                145
            ],
            "frame_usable": 524,
            "frame_blue_ratio": 0,
            "flow_usable": 525,
            "flow_blue_ratio": 0,
            "flow_nonblue_ratio": 1,
            "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
        }
    }
}