FaceRecognition/data/inferserver/face_detector_config.txt
2025-08-09 12:19:42 +00:00

57 lines
938 B
Plaintext

infer_config {
unique_id: 3
gpu_ids: [0]
max_batch_size: 16
backend {
triton {
model_name: "face_recognition"
version: -1
grpc{
url: "localhost:9001"
}
}
}
preprocess {
network_format: IMAGE_FORMAT_RGB
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
}