INNER CODE UNIT · Python

health

mikel-brostrom/boxmot · boxmot/engine/service/app.py:66

    async def health() -> dict[str, str]:
        return {"status": "ok"}

    @application.get("/readyz", response_model=ReadinessResponse)
    async def readiness() -> ReadinessResponse:
        capacity = await manager.stats()
        return ReadinessResponse(
            status="ready",
            profile=resolved_settings.profile,
            tracker=resolved_settings.tracker_type,
            device=resolved_settings.device,
            requires_image=resolved_settings.requires_image,
            **capacity,
        )

    @application.post(
        "/v1/streams/{stream_id}/sessions/{session_id}/frames",
        response_model=FrameResponse,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…