* update threshs

* e392

* 40% less

* ref
pull/21942/head
ZwX1616 2021-08-16 12:44:45 -07:00 committed by GitHub
parent 4c69fc121b
commit 00ea7c1c82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 17 deletions

View File

@ -1,2 +1,2 @@
3d4f9cab-ba54-4871-9449-37f440329ca1
2d400e7514d044cd6cfc1fbafb756e04bb161d0a
e3926f53-2a15-4a85-8143-dd120f19c050
9208a645dc8f6b251d6fd5899b592243f71d815b

BIN
models/dmonitoring_model.onnx (Stored with Git LFS)

Binary file not shown.

BIN
models/dmonitoring_model_q.dlc (Stored with Git LFS)

Binary file not shown.

View File

@ -26,20 +26,20 @@ class DRIVER_MONITOR_SETTINGS():
self._DISTRACTED_PROMPT_TIME_TILL_TERMINAL = 6.
self._FACE_THRESHOLD = 0.5
self._PARTIAL_FACE_THRESHOLD = 0.75 if TICI else 0.5
self._EYE_THRESHOLD = 0.5
self._SG_THRESHOLD = 0.5
self._BLINK_THRESHOLD = 0.88 if TICI else 0.6
self._BLINK_THRESHOLD_SLACK = 0.98 if TICI else 0.78
self._BLINK_THRESHOLD_STRICT = 0.88 if TICI else 0.6
self._PARTIAL_FACE_THRESHOLD = 0.765 if TICI else 0.455
self._EYE_THRESHOLD = 0.25 if TICI else 0.57
self._SG_THRESHOLD = 0.83
self._BLINK_THRESHOLD = 0.46 if TICI else 0.68
self._BLINK_THRESHOLD_SLACK = 0.6 if TICI else 0.88
self._BLINK_THRESHOLD_STRICT = 0.46 if TICI else 0.68
self._PITCH_WEIGHT = 1.175 if TICI else 1.35 # pitch matters a lot more
self._POSESTD_THRESHOLD = 0.318 if TICI else 0.14
self._POSESTD_THRESHOLD = 0.2 if TICI else 0.175
self._E2E_POSE_THRESHOLD = 0.95 if TICI else 0.9
self._E2E_EYES_THRESHOLD = 0.75
self._METRIC_THRESHOLD = 0.5 if TICI else 0.4
self._METRIC_THRESHOLD_SLACK = 0.6875 if TICI else 0.55
self._METRIC_THRESHOLD_STRICT = 0.5 if TICI else 0.4
self._METRIC_THRESHOLD = 0.55 if TICI else 0.48
self._METRIC_THRESHOLD_SLACK = 0.75 if TICI else 0.66
self._METRIC_THRESHOLD_STRICT = 0.55 if TICI else 0.48
self._PITCH_POS_ALLOWANCE = 0.12 # rad, to not be too sensitive on positive pitch
self._PITCH_NATURAL_OFFSET = 0.02 # people don't seem to look straight when they drive relaxed, rather a bit up
self._YAW_NATURAL_OFFSET = 0.08 # people don't seem to look straight when they drive relaxed, rather a bit to the right (center of car)

View File

@ -1 +1 @@
dfa788ebfb5a87a2c76c921cb0b54eaf39175071
d2523043434c35575f452be55783879058a49ae7