{
    "success": true,
    "project": "GDE195 / DE195",
    "ecm": 2,
    "note": "DE195 ECM 2 — 3 outlet pipe ROI analysis",
    "roi_count": 3,
    "status": "ok",
    "label_color": "green",
    "label_text": "Good",
    "display_text": "Good",
    "reason": "No water flow or clean water flow detected from ECM 2 3 outlet pipe ROIs",
    "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.9641999999999999459987520822323858737945556640625,
    "flow_blue_ratio": 0.997900000000000009237055564881302416324615478515625,
    "nonblue_ratio": 0.0020999999999999998702426839969348293379880487918853759765625,
    "white_ratio": 0,
    "brown_ratio": 0,
    "yellow_ratio": 0,
    "graycyan_ratio": 0.0020999999999999998702426839969348293379880487918853759765625,
    "dark_ratio": 0,
    "silty_strength": 0,
    "clean_strength": 0.00169999999999999990528409821166633264510892331600189208984375,
    "image_url": "https://cctv.envautomation.com/cctv/test_path23/de195/ecm2/roi_masked.jpg?t=1789926862",
    "image_file": "/home/envcctv/public_html/cctv/test_path23/de195/ecm2/roi_masked.jpg",
    "width": 1920,
    "height": 1080,
    "analyzed_at": "2026-09-21 01:54:22",
    "db_name": "envcctv_de195",
    "db_table": "de195_image_result",
    "db_saved": true,
    "db_error": "",
    "roi_debug": {
        "pipe_1_zone": {
            "roi": [
                0.26500000000000001332267629550187848508358001708984375,
                0.309999999999999997779553950749686919152736663818359375,
                0.309999999999999997779553950749686919152736663818359375,
                0.465000000000000024424906541753443889319896697998046875
            ],
            "px": [
                508,
                334,
                595,
                502
            ],
            "frame_usable": 5707,
            "frame_blue_ratio": 0.95089999999999996749266983897541649639606475830078125,
            "flow_total": 8909,
            "flow_usable": 8909,
            "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.3449999999999999733546474089962430298328399658203125,
                0.330000000000000015543122344752191565930843353271484375,
                0.40000000000000002220446049250313080847263336181640625,
                0.465000000000000024424906541753443889319896697998046875
            ],
            "px": [
                662,
                356,
                768,
                502
            ],
            "frame_usable": 6044,
            "frame_blue_ratio": 0.97980000000000000426325641456060111522674560546875,
            "flow_total": 9432,
            "flow_usable": 9432,
            "flow_blue_ratio": 0.99899999999999999911182158029987476766109466552734375,
            "flow_nonblue_ratio": 0.001000000000000000020816681711721685132943093776702880859375,
            "flow_white_ratio": 0,
            "flow_brown_ratio": 0,
            "flow_yellow_ratio": 0,
            "flow_graycyan_ratio": 0.001000000000000000020816681711721685132943093776702880859375,
            "flow_dark_ratio": 0,
            "mass_row_ratio": 0.007599999999999999984734433411404097569175064563751220703125,
            "run_ratio": 0.007599999999999999984734433411404097569175064563751220703125,
            "max_row_ratio": 0.125,
            "roi_clean_strength": 0.000800000000000000038337388819087436786503531038761138916015625,
            "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.434999999999999997779553950749686919152736663818359375,
                0.36999999999999999555910790149937383830547332763671875,
                0.5,
                0.54000000000000003552713678800500929355621337890625
            ],
            "px": [
                835,
                399,
                960,
                583
            ],
            "frame_usable": 8890,
            "frame_blue_ratio": 0.96220000000000005524469770534778945147991180419921875,
            "flow_total": 14110,
            "flow_usable": 14110,
            "flow_blue_ratio": 0.9959000000000000074606987254810519516468048095703125,
            "flow_nonblue_ratio": 0.004100000000000000345556916414579973206855356693267822265625,
            "flow_white_ratio": 0,
            "flow_brown_ratio": 0,
            "flow_yellow_ratio": 0,
            "flow_graycyan_ratio": 0.004100000000000000345556916414579973206855356693267822265625,
            "flow_dark_ratio": 0,
            "mass_row_ratio": 0.00600000000000000012490009027033011079765856266021728515625,
            "run_ratio": 0.00600000000000000012490009027033011079765856266021728515625,
            "max_row_ratio": 0.68240000000000000657252030578092671930789947509765625,
            "roi_clean_strength": 0.003299999999999999981958875849841206218115985393524169921875,
            "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
        }
    }
}