{
    "success": true,
    "message": "ROI images created",
    "input": "/home/envcctv/public_html/env_cctv/koh/bd201/ai1/latest.jpg",
    "preview": "/home/envcctv/public_html/env_cctv/koh/bd201/ai1/roi_preview.jpg",
    "masked": "/home/envcctv/public_html/env_cctv/koh/bd201/ai1/roi_masked.jpg",
    "input_exists": true,
    "input_size": 9174,
    "input_mtime_before": 1793420112,
    "input_mtime_after": 1793420112,
    "preview_saved": true,
    "masked_saved": true,
    "preview_exists": true,
    "masked_exists": true,
    "preview_size": 10241,
    "masked_size": 4433,
    "preview_mtime": 1794440388,
    "masked_mtime": 1794440388,
    "preview_url": "https://cctv.envautomation.com/env_cctv/koh/bd201/ai1/roi_preview.jpg?t=1794440388",
    "masked_url": "https://cctv.envautomation.com/env_cctv/koh/bd201/ai1/roi_masked.jpg?t=1794440388",
    "width": 528,
    "height": 368,
    "roi_debug": {
        "pipe_1": {
            "relative": {
                "left": 0.2600000000000000088817841970012523233890533447265625,
                "top": 0.2049999999999999877875467291232780553400516510009765625,
                "right": 0.36999999999999999555910790149937383830547332763671875,
                "bottom": 0.3649999999999999911182158029987476766109466552734375
            },
            "pixels": {
                "x1": 137,
                "y1": 75,
                "x2": 195,
                "y2": 134,
                "width": 58,
                "height": 59
            }
        },
        "pipe_2": {
            "relative": {
                "left": 0.520000000000000017763568394002504646778106689453125,
                "top": 0.284999999999999975575093458246556110680103302001953125,
                "right": 0.5749999999999999555910790149937383830547332763671875,
                "bottom": 0.395000000000000017763568394002504646778106689453125
            },
            "pixels": {
                "x1": 274,
                "y1": 104,
                "x2": 303,
                "y2": 145,
                "width": 29,
                "height": 41
            }
        }
    },
    "prepared_at": "2026-11-12 07:39:48"
}