Add video playback functionality to MainWindow and update app configuration
This commit is contained in:
@@ -20,19 +20,32 @@
|
||||
}
|
||||
},
|
||||
"detection": {
|
||||
"model_path": "models/best.pt",
|
||||
"model_path": "models/best_v1.pt",
|
||||
"confidence_threshold": 0.25,
|
||||
"mode": "best",
|
||||
"frame_stride": 5,
|
||||
"frame_stride": 30,
|
||||
"image_size": 640,
|
||||
"device": "cpu"
|
||||
},
|
||||
"ocr": {
|
||||
"enabled": true,
|
||||
"engine": "paddle",
|
||||
"language": "eng",
|
||||
"tesseract_cmd": null,
|
||||
"psm": 6,
|
||||
"margin": 0,
|
||||
"threshold": true,
|
||||
"scale": 2.0
|
||||
"paddle_threshold": false,
|
||||
"scale": 2.0,
|
||||
"config": "",
|
||||
"use_angle_cls": true,
|
||||
"paddle": {
|
||||
"enable_mkldnn": false,
|
||||
"lang": "en",
|
||||
"use_doc_orientation_classify": false,
|
||||
"use_doc_unwarping": false,
|
||||
"use_textline_orientation": false
|
||||
}
|
||||
},
|
||||
"capture": {
|
||||
"photos_dir": "captures/photos",
|
||||
@@ -45,13 +58,33 @@
|
||||
"show_fps": true
|
||||
},
|
||||
"label_data": {
|
||||
"model_min_score": 0.72,
|
||||
"color_min_score": 0.72,
|
||||
"models": [
|
||||
"Regius",
|
||||
"Duvell"
|
||||
"Regius 6",
|
||||
"Regius 7",
|
||||
"Duvell 6",
|
||||
"Duvell 7",
|
||||
"Duvell Elite 6",
|
||||
"Duvell Elite 7"
|
||||
],
|
||||
"colors": [
|
||||
"T-NF-BLK-OUT-BST-G",
|
||||
"T-BLK-G"
|
||||
"T-BLK-G",
|
||||
"T-BLK-S",
|
||||
"T-BLK-M",
|
||||
"M-BLK-G",
|
||||
"M-BLK-S",
|
||||
"M-BLK-M",
|
||||
"T-CST-G",
|
||||
"T-CST-S",
|
||||
"T-CST-M",
|
||||
"T-ANTIQUE-G",
|
||||
"T-ANTIQUE-S",
|
||||
"T-ANTIQUE-M",
|
||||
"T-NAT-G",
|
||||
"T-NAT-S",
|
||||
"T-NAT-M"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user