update ID_cards_detector

This commit is contained in:
Nguyễn Phước Thành
2025-08-06 19:03:17 +07:00
parent 02f0936497
commit 4ee14f17d3
22 changed files with 3145 additions and 724 deletions

View File

@@ -3,8 +3,8 @@
# Paths configuration
paths:
input_dir: "data/IDcards/processed"
output_dir: "out"
input_dir: "data/IDcards/raw/test"
output_dir: "out1"
log_file: "logs/data_augmentation.log"
# Data augmentation parameters - ROTATION and RANDOM CROPPING

View File

@@ -1,40 +0,0 @@
# 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