{
    "success": true,
    "message": "DE195 ECM 2 ROI images created",
    "project": "DE195",
    "ecm": 2,
    "note": "ECM 2 has 1 discharge pipe only",
    "input": "/home/envcctv/public_html/cctv/test_path23/de195/ecm2/latest.jpg",
    "preview": "/home/envcctv/public_html/cctv/test_path23/de195/ecm2/roi_preview.jpg",
    "masked": "/home/envcctv/public_html/cctv/test_path23/de195/ecm2/roi_masked.jpg",
    "input_exists": true,
    "input_size": 338711,
    "input_mtime_before": 1782803404,
    "input_mtime_after": 1782803404,
    "preview_saved": true,
    "masked_saved": true,
    "preview_exists": true,
    "masked_exists": true,
    "preview_size": 619083,
    "masked_size": 41147,
    "preview_mtime": 1782803688,
    "masked_mtime": 1782803688,
    "preview_url": "https://cctv.envautomation.com/cctv/test_path23/de195/ecm2/roi_preview.jpg?t=1782803688",
    "masked_url": "https://cctv.envautomation.com/cctv/test_path23/de195/ecm2/roi_masked.jpg?t=1782803688",
    "width": 1920,
    "height": 1080,
    "roi_debug": {
        "pipe_1_zone": {
            "relative": {
                "left": 0.5300000000000000266453525910037569701671600341796875,
                "top": 0.1600000000000000033306690738754696212708950042724609375,
                "right": 0.58999999999999996891375531049561686813831329345703125,
                "bottom": 0.289999999999999980015985556747182272374629974365234375
            },
            "pixels": {
                "x1": 1017,
                "y1": 172,
                "x2": 1132,
                "y2": 313,
                "width": 115,
                "height": 141
            }
        }
    },
    "prepared_at": "2026-06-30 15:14:48"
}