xnorpx / blue-candle

Object detection service for Blue Iris
34 stars 3 forks source link

missing processing time on Blue Iris log #36

Open RodEzIO opened 8 months ago

xnorpx commented 8 months ago

Let me investigate that, can you show screenshot were you check this in blue iris?

The processing time should be returned, but not sure how to verify it and make sure it's correct.

xnorpx commented 8 months ago

I have this in my blueiris log:

3      12/17/2023 11:00:38.543 AM   FD                      MOTION_A
0   12/17/2023 11:00:41.507 AM  FD                      AI: [Objects] person:83% [1928,1614 2545,2158] 611ms
0   12/17/2023 11:00:41.508 AM  FD                      AI: person:83%
0   12/17/2023 11:00:42.997 AM  FD                      Push: OK to iPhone
RodEzIO commented 8 months ago

I have the third line but not the second, but it can be something wrong on my side.

xnorpx commented 8 months ago

make sure to run the latest version of blue-candle 0.4.0. This is also from the .text version of the log, not the one from blue-iris ui

RodEzIO commented 8 months ago

image

xnorpx commented 8 months ago

@RodEzIO what version of Blue Iris are you running?

xnorpx commented 7 months ago

Here is example response:

VisionDetectionResponse {
    success: true,
    message: "",
    error: None,
    predictions: [
        Prediction {
            x_max: 2909,
            x_min: 2656,
            y_max: 2628,
            y_min: 1865,
            confidence: 0.8484209,
            label: "person",
        },
        Prediction {
            x_max: 1649,
            x_min: 1465,
            y_max: 2185,
            y_min: 2046,
            confidence: 0.6196866,
            label: "car",
        },
    ],
    count: 2,
    command: "detect",
    module_id: "Yolo8",
    execution_provider: "GPU",
    can_useGPU: true,
    inference_ms: 97,
    process_ms: 242,
    analysis_round_trip_ms: 255,
}