| 1234567 |
- with open("/home/admin/dsh/dual_camera_system/config/detection.py") as f:
- c = f.read()
- c = c.replace("'confidence_threshold': 0.4", "'confidence_threshold': 0.35")
- c = c.replace("'person_threshold': 0.4", "'person_threshold': 0.35")
- with open("/home/admin/dsh/dual_camera_system/config/detection.py", "w") as f:
- f.write(c)
- print("DONE")
|