Files
IDcardsGenerator/config/roboflow_config.yaml
Nguyễn Phước Thành a4e7573dca YOLO crop model
2025-08-05 20:21:47 +07:00

40 lines
933 B
YAML

# Roboflow ID Card Detection Configuration
# API Configuration
api:
key: "Pkz4puRA0Cy3xMOuNoNr" # Your Roboflow API key
model_id: "french-card-id-detect"
version: 3
confidence: 0.5
timeout: 30 # seconds
# Processing Configuration
processing:
input_dir: "data/IDcards"
output_dir: "output/roboflow_detections"
save_annotated: true
delay_between_requests: 1.0 # seconds
padding: 10 # pixels around detected cards
# Supported image formats
supported_formats:
- ".jpg"
- ".jpeg"
- ".png"
- ".bmp"
- ".tiff"
# Logging configuration
logging:
level: "INFO" # DEBUG, INFO, WARNING, ERROR
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
handlers:
- type: "file"
filename: "logs/roboflow_detector.log"
- type: "console"
# Performance settings
performance:
batch_size: 1 # Process one image at a time due to API limits
max_retries: 3
retry_delay: 2.0 # seconds