infer_config {
  unique_id: 3
  gpu_ids: [0]
  max_batch_size: 1
  backend {
    triton {
      model_name: "face_recognition"
      version: -1
      grpc{
        url: "localhost:8071"
      }
    }
  }

  preprocess {
    # network_format: IMAGE_FORMAT_RGB
    network_format: IMAGE_FORMAT_BGR
    tensor_order: TENSOR_ORDER_LINEAR
    maintain_aspect_ratio: 1
    symmetric_padding: 1
    normalize {
        scale_factor: 0.0078431372549  # 1 / 127.5
        channel_offsets: [127.5, 127.5, 127.5]
    }
  }

  postprocess {
    other {}
  }

  extra {
    copy_input_to_host_buffers: false
    output_buffer_pool_size: 4
  }

  custom_lib {
    path: ""
  }
}

input_control {
  process_mode: PROCESS_MODE_CLIP_OBJECTS
  operate_on_gie_id: 2        # must match face_meta.unique_component_id
  operate_on_class_ids: 1
  interval: 0
  object_control {
    bbox_filter {
      min_width: 20
      min_height: 20
    }
  }

}

output_control {
  output_tensor_meta: true
}
