day1
Today marks the start of the project, which mainly involved outlining the project's functionalities and receiving the requirements document. I'm expected to complete a QT-based body camera system by August 31st. My task is to design the system architecture and database based on this requirements document.
The system architecture is relatively straightforward. Icategorize everything according to pages. For each page, I can envision the required data structure, and once I know the data structure, I can derive the CRUD(Create,Read,Update,Delete)methods, By integrating these CRUD functionalities, the page can be implemented. Once this is done, I will have completed the software design of the system. Placing this within the MVC (Model-View-Controller) architecture will make it very easy to understand.
Software Design
(Yellow represents pages, normal color represents integrated functionalities, pink represents CRUD methods, and cyan-blue represents data classes.)
Architecture Design
After reading through the entire requirements document, I believe the biggest challenge in the project lies in the need to simultaneously play and save the camera data. The threads for playback and saving are competing for the camera data, which could result in dropped frames in both the saved video and the playback. My initial idea is to set up a queue to regulate orderly access to camera data. I haven't tested this yet, but I'll try it tomorrow.
Top comments (0)