# ============================================================================ # Gst-nvinferserver (gRPC) TEMPLATE — DETECTION (custom-lib 파싱) # 렌더링 변수: {{MODEL_NAME}}, {{UNIQUE_ID}} (app/inference_profiles.render_cfg) # DeepStream 9.1 — parses raw dets/labels in-process, attaches obj_meta directly # # custom_lib path is image-owned: /opt/contextra/lib/libcontextra_nvinferserver_rfdetr.so # ============================================================================ infer_config { unique_id: {{UNIQUE_ID}} gpu_ids: [0] max_batch_size: 1 backend { triton { model_name: "{{MODEL_NAME}}" version: -1 grpc { url: "localhost:8001" enable_cuda_buffer_sharing: {{CUDA_BUFFER_SHARING}} } } inputs: [{ name: "input" }] outputs: [ {name: "dets"}, {name: "labels"} ] output_mem_type: MEMORY_TYPE_CPU } {{PREPROCESS_BLOCK}} postprocess { labelfile_path: "" other { } } # Custom lib that parses RF-DETR raw outputs and attaches NvDsObjectMeta custom_lib { path: "/opt/contextra/lib/libcontextra_nvinferserver_rfdetr.so" } extra { copy_input_to_host_buffers: false output_buffer_pool_size: 2 custom_process_funcion: "CreateContextraRfDetrProcessor" } } input_control { process_mode: PROCESS_MODE_FULL_FRAME operate_on_gie_id: -1 interval: 0 } output_control { output_tensor_meta: false }