{
    "success": true,
    "message": "ROI images created",
    "input": "/home/envcctv/public_html/env_cctv/koh/bd201/ai4/latest.jpg",
    "preview": "/home/envcctv/public_html/env_cctv/koh/bd201/ai4/roi_preview.jpg",
    "masked": "/home/envcctv/public_html/env_cctv/koh/bd201/ai4/roi_masked.jpg",
    "input_exists": true,
    "input_size": 190259,
    "input_mtime_before": 1794243003,
    "input_mtime_after": 1794243003,
    "preview_saved": true,
    "masked_saved": true,
    "preview_exists": true,
    "masked_exists": true,
    "preview_size": 347208,
    "masked_size": 41072,
    "preview_mtime": 1794440706,
    "masked_mtime": 1794440706,
    "preview_url": "https://cctv.envautomation.com/env_cctv/koh/bd201/ai4/roi_preview.jpg?t=1794440706",
    "masked_url": "https://cctv.envautomation.com/env_cctv/koh/bd201/ai4/roi_masked.jpg?t=1794440706",
    "width": 1920,
    "height": 1080,
    "roi_debug": {
        "pipe_1": {
            "relative": {
                "left": 0.2600000000000000088817841970012523233890533447265625,
                "top": 0.2049999999999999877875467291232780553400516510009765625,
                "right": 0.36999999999999999555910790149937383830547332763671875,
                "bottom": 0.3649999999999999911182158029987476766109466552734375
            },
            "pixels": {
                "x1": 499,
                "y1": 221,
                "x2": 710,
                "y2": 394,
                "width": 211,
                "height": 173
            }
        },
        "pipe_2": {
            "relative": {
                "left": 0.53500000000000003108624468950438313186168670654296875,
                "top": 0.2200000000000000011102230246251565404236316680908203125,
                "right": 0.58499999999999996447286321199499070644378662109375,
                "bottom": 0.340000000000000024424906541753443889319896697998046875
            },
            "pixels": {
                "x1": 1027,
                "y1": 237,
                "x2": 1123,
                "y2": 367,
                "width": 96,
                "height": 130
            }
        }
    },
    "prepared_at": "2026-11-12 07:45:06"
}