The invention relates to a manufacturing workshop security
situation awareness method based on a virtual-real mixed
data set. The method comprises the following steps: classifying unsafe states of workers in a manufacturing workshop, and constructing a quantitative
evaluation system of a comprehensive safety situation and a safety level dynamic evaluation model; aiming at the problem of scarcity of real data of an unsafe state of a manufacturing workshop, a workshop unsafe state virtual
data set is generated through a Stable
Diffusion model, and after the workshop unsafe state virtual
data set is mixed with a real data set, a target detection network is trained to realize real-time detection of the real workshop; according to the
visual detection result and the multi-source discrete unsafe points, the current safety level is judged in real time in combination with an established comprehensive level judgment model; and the change of the future security situation is predicted through a Markov model, and targeted early warning measures are formulated. According to the invention, the safety level of the workshop can be detected in real time, the change of the future safety situation can be predicted, and early warning and
processing can be carried out when the
safety risk of the workshop is too high.