| With the informationization and networking develop at top speed,more and more industries have popularized intelligent management,which has improved management efficiency while reducing management costs.For the chaotic situation of gun management inside the public security system,it is particularly important to design an intelligent firearms management system to improve the safety and standardization of gun management.In response to this problem,this paper designed and implemented the intelligent firearms management system in accordance with the "Regulations on the Administration of Public Administration Organs with Guns." The intelligent firearms management system provides a convenient human-computer interactive interface,integrating gun access,personal information management,firearms information management and video surveillance,it realizes the real-time monitoring of firearms by the Public Security Bureau,improves the standardization and safety of firearms management and high efficiency.The intelligent firearms management system is mainly implemented in the Python language.The face recognition algorithm is added in the police officer login process,the expression recognition algorithm is added in the process of taking the gun,and the dynamic target detection algorithm is added when the system is in standby,which improves the safety of the firearm management.The main work of the thesis is as follows:(1)Design the overall solution of the intelligent firearms management system.It includes the intelligent gun management system architecture design,system module function design and database design;(2)Police officers use dual authentication for face recognition and fingerprint recognition when logging in.The paper research implements an efficient face recognition algorithm and compares it with other algorithms.Face recognition and face detection are used to achieve face recognition anti-spoofing,which further enhances the security of system login;(3)Innovatively add expression recognition algorithms when police officers take guns.The thesis studies and implements the expression recognition algorithm based on Gabor feature extraction and BP network classification.It analyzes the police officers' facial expressions when the police officers take the guns,and prevents police officers from taking guns in the event of abnormal mental state,causing social harm;(4)The dynamic target detection algorithm is innovatively added when the system is in standby mode.The paper studies and implements the inter-frame differential dynamic target detection algorithm.When the system is in standby,the server detects the environment around the gun cabinet in real time through video surveillance.Once an object with long-term movement in the environment is detected,an alarm is issued to improve the safety of firearm management;(5)Implement intelligent gun management system,including the construction of Socket server,custom data packet protocol,police client function implementation and administrator client function implementation. |