{
    "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.57599999999999995647925743469386361539363861083984375,
    "flow_blue_ratio": 0.57320000000000004281019982954603619873523712158203125,
    "nonblue_ratio": 0.426800000000000012700951401711790822446346282958984375,
    "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-11-12 07:17:59",
    "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": 7810,
            "frame_blue_ratio": 0.53290000000000004032330025438568554818630218505859375,
            "flow_total": 7920,
            "flow_usable": 7920,
            "flow_blue_ratio": 0.41649999999999998134825318629737012088298797607421875,
            "flow_nonblue_ratio": 0.58350000000000001865174681370262987911701202392578125,
            "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": 6860,
            "frame_blue_ratio": 0.49290000000000000479616346638067625463008880615234375,
            "flow_total": 7200,
            "flow_usable": 7200,
            "flow_blue_ratio": 0.574899999999999966604491419275291264057159423828125,
            "flow_nonblue_ratio": 0.425099999999999977884357349466881714761257171630859375,
            "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": 5453,
            "frame_blue_ratio": 0.56130000000000002113864638886298052966594696044921875,
            "flow_total": 5800,
            "flow_usable": 5800,
            "flow_blue_ratio": 0.627099999999999990762944435118697583675384521484375,
            "flow_nonblue_ratio": 0.372900000000000009237055564881302416324615478515625,
            "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": 4556,
            "frame_blue_ratio": 0.7925999999999999712230192017159424722194671630859375,
            "flow_total": 4756,
            "flow_usable": 4756,
            "flow_blue_ratio": 0.765800000000000036237679523765109479427337646484375,
            "flow_nonblue_ratio": 0.2341999999999999915178960918638040311634540557861328125,
            "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
        }
    }
}