{
    "success": true,
    "project": "GDE195 / DE195",
    "ecm": 1,
    "note": "DE195 ECM 1 — 4 outlet pipe ROI analysis",
    "roi_count": 4,
    "status": "ok",
    "label_color": "green",
    "label_text": "Good",
    "display_text": "Good",
    "reason": "No water flow or clean water flow detected from 4 outlet pipe ROIs",
    "has_discharge_pipe": true,
    "is_real_flow": false,
    "is_clean_water": false,
    "is_silty_water": false,
    "detected_pipe_count": 4,
    "active_flow_count": 0,
    "muddy_roi_count": 0,
    "clean_roi_count": 0,
    "blue_ratio": 0.98050000000000003819167204710538499057292938232421875,
    "flow_blue_ratio": 1,
    "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/cctv/test_path22/de195/ecm1/roi_masked.jpg",
    "image_file": "/home/envcctv/public_html/cctv/test_path22/de195/ecm1/roi_masked.jpg",
    "width": 1920,
    "height": 1080,
    "analyzed_at": "2026-09-21 01:58:36",
    "db_name": "envcctv_de195",
    "db_table": "de195_image_result",
    "db_saved": true,
    "db_error": "",
    "roi_debug": {
        "pipe_1_zone": {
            "roi": [
                0.299999999999999988897769753748434595763683319091796875,
                0.424999999999999988897769753748434595763683319091796875,
                0.354999999999999982236431605997495353221893310546875,
                0.57999999999999996003197111349436454474925994873046875
            ],
            "px": [
                576,
                459,
                681,
                626
            ],
            "frame_usable": 7884,
            "frame_blue_ratio": 0.9855000000000000426325641456060111522674560546875,
            "flow_total": 7920,
            "flow_usable": 7920,
            "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,
            "roi_clean_strength": 0,
            "roi_muddy_strength": 0,
            "pipe_detected": true,
            "clean_flow_detected": false,
            "muddy_flow_detected": false,
            "flow_detected": false,
            "muddy_roi_detected": false,
            "clean_roi_detected": false
        },
        "pipe_2_zone": {
            "roi": [
                0.4050000000000000266453525910037569701671600341796875,
                0.424999999999999988897769753748434595763683319091796875,
                0.455000000000000015543122344752191565930843353271484375,
                0.57999999999999996003197111349436454474925994873046875
            ],
            "px": [
                777,
                459,
                873,
                626
            ],
            "frame_usable": 7104,
            "frame_blue_ratio": 0.9997000000000000330402372128446586430072784423828125,
            "flow_total": 7200,
            "flow_usable": 7200,
            "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,
            "roi_clean_strength": 0,
            "roi_muddy_strength": 0,
            "pipe_detected": true,
            "clean_flow_detected": false,
            "muddy_flow_detected": false,
            "flow_detected": false,
            "muddy_roi_detected": false,
            "clean_roi_detected": false
        },
        "pipe_3_zone": {
            "roi": [
                0.520000000000000017763568394002504646778106689453125,
                0.424999999999999988897769753748434595763683319091796875,
                0.56999999999999995115018691649311222136020660400390625,
                0.5500000000000000444089209850062616169452667236328125
            ],
            "px": [
                998,
                459,
                1094,
                594
            ],
            "frame_usable": 5389,
            "frame_blue_ratio": 0.9398999999999999577227072222740389406681060791015625,
            "flow_total": 5800,
            "flow_usable": 5800,
            "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,
            "roi_clean_strength": 0,
            "roi_muddy_strength": 0,
            "pipe_detected": true,
            "clean_flow_detected": false,
            "muddy_flow_detected": false,
            "flow_detected": false,
            "muddy_roi_detected": false,
            "clean_roi_detected": false
        },
        "pipe_4_zone": {
            "roi": [
                0.58999999999999996891375531049561686813831329345703125,
                0.424999999999999988897769753748434595763683319091796875,
                0.63000000000000000444089209850062616169452667236328125,
                0.5500000000000000444089209850062616169452667236328125
            ],
            "px": [
                1132,
                459,
                1209,
                594
            ],
            "frame_usable": 4711,
            "frame_blue_ratio": 0.98939999999999994617638776617241092026233673095703125,
            "flow_total": 4756,
            "flow_usable": 4756,
            "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,
            "roi_clean_strength": 0,
            "roi_muddy_strength": 0,
            "pipe_detected": true,
            "clean_flow_detected": false,
            "muddy_flow_detected": false,
            "flow_detected": false,
            "muddy_roi_detected": false,
            "clean_roi_detected": false
        }
    }
}