-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_all_features.py
More file actions
executable file
·74 lines (65 loc) · 1.87 KB
/
run_all_features.py
File metadata and controls
executable file
·74 lines (65 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/env python3
"""
Quick launcher for ADAS Complete Ultra with ALL features enabled by default
Skips the feature selection dialog
"""
import wx
import sys
# Import the main application
import adas_complete_ultra
# All features enabled configuration
ALL_FEATURES = {
# Ultra features
'show_optical_flow': True,
'show_scene_info': True,
'classify_vehicles': True,
'show_predictions': True,
'show_behavior_score': True,
'show_heatmap': True,
# AI features
'traffic_signs': True,
'traffic_lights': True,
'driver_monitoring': True,
'weather_detection': True,
'parking_spaces': True,
'night_vision': True,
'emergency_vehicles': True,
'debris_detection': True,
# Multi-camera features
'camera_pedestrian_pose': True,
'camera_license_plates': True,
'camera_optical_flow': True,
'camera_pothole': True,
# Visualization
'show_stats_dashboard': True,
'show_performance_graphs': True,
}
def main():
"""Launch with all features enabled"""
print("\n" + "=" * 70)
print(" ADAS COMPLETE ULTRA - ALL FEATURES MODE")
print("=" * 70)
print(" Launching with ALL 100+ features enabled...")
print(" Expected FPS: 8-15 (depending on hardware)")
print("=" * 70)
# Create application
app = wx.App()
# Set dark theme
if hasattr(wx, 'SystemOptions'):
wx.SystemOptions.SetOption("msw.dark-mode", 2)
# Create frame with all features enabled
frame = adas_complete_ultra.UltraMainFrame(selected_features=ALL_FEATURES)
frame.Show()
frame.Center()
# Start main loop
app.MainLoop()
if __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
print("\n\nShutdown requested...exiting")
except Exception as e:
print(f"\nFatal error: {e}")
import traceback
traceback.print_exc()
sys.exit(1)