On loading, it looks for camera index "selected_camera=" from prefs.ini. If that camera doesn't exist it just exits with no message.
To Reproduce
Steps to reproduce the behavior:
1- plug in two webcams.
B. Run aitrack and select the second camera.
Exit out to desktop.
Unplug the second camera.
E. Launch again, observe crash.
Expected behavior
Should gracefully handle a missing camera. If the selected one is not found, do something like reset index to 0 and use a messagebox to inform user of the situation.
Environment (please complete the following information):
On loading, it looks for camera index "selected_camera=" from prefs.ini. If that camera doesn't exist it just exits with no message.
To Reproduce Steps to reproduce the behavior: 1- plug in two webcams. B. Run aitrack and select the second camera.
Expected behavior Should gracefully handle a missing camera. If the selected one is not found, do something like reset index to 0 and use a messagebox to inform user of the situation.
Environment (please complete the following information):