File size: 692 Bytes
8e49ebb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
device: "cuda" # "cuda" or "cpu"
frame_skip: 3 # detect every N frames
debug: false # overlay boxes if true
face_detector:
type: "yolov8_standard" # options: yolov8_standard, yolov8, opencv
model_path: "weights/yolov8n-face.pt"
conf_threshold: 0.35
text_detector:
ocr_languages: ["en"]
ocr_conf_threshold: 0.45
preprocess:
use_clahe: true
sharpen: true
denoise: true
blur:
method: "gaussian" # gaussian | mosaic
gaussian_min_kernel: 15
gaussian_max_kernel: 121
mosaic_block_size_min: 6
text_blur:
padding_x_ratio: 0.10
padding_y_ratio: 0.15
sentiment_threshold: -0.3
|