Settings menu
Settings menu
So far, we have been manually setting the camera-display pairs in the code. We had to create a settings menu to make this system more user-friendly and allow the user to set up the pairs on the compiled version of the code. We modified/expanded the existing solution to include the additional settings that our application would use.
To make the settings less clustered, we removed most of the unused settings and only included 4 camera-monitor pairs settings. We’ve added 4 labels for each display with the drop-down next to it (going from 1 to 4). This way, the user can assign the camera index to each display, and the settings will be loaded to the MotionInput app using the config file.
We decided to take this further and include some debug/fun settings. We can toggle the landmarks and the triangle outline to help the user visualise how the application tracks the hand. We have also provided the option to show the angle of the user’s hand to the camera as it changes.
Adding this MFC also meant we were ready to move to the compiling stage. At this point, the back-end code is fully finished and documented. The building process raised no issues, and we successfully integrated the settings menu into the application.
We got help from Chaitu Nookala during the development of the settings menu and the compiling process.