(tire)
| 25 | |
| 26 | |
| 27 | def cuculate_level(tire): |
| 28 | motion = int(tire) |
| 29 | if motion == 1: |
| 30 | tire = 0.5 |
| 31 | elif motion == 2: |
| 32 | tire = 2.5 |
| 33 | elif motion == 3: |
| 34 | tire = 10 |
| 35 | elif motion == 4: |
| 36 | tire = 15 |
| 37 | else: |
| 38 | tire = 40 |
| 39 | return tire |
| 40 | |
| 41 | def read_labels_and_videos(folder_path): |
| 42 | labels_folder = os.path.join(folder_path, 'labels') |