CN115620209A - Method for generating public health video supervision result and related equipment - Google Patents
Method for generating public health video supervision result and related equipment Download PDFInfo
- Publication number
- CN115620209A CN115620209A CN202211420554.8A CN202211420554A CN115620209A CN 115620209 A CN115620209 A CN 115620209A CN 202211420554 A CN202211420554 A CN 202211420554A CN 115620209 A CN115620209 A CN 115620209A
- Authority
- CN
- China
- Prior art keywords
- public health
- health video
- different
- supervision
- video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/46—Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/77—Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
- G06V10/774—Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Signal Processing (AREA)
- Alarm Systems (AREA)
Abstract
The application provides a method for generating a public health video supervision result and related equipment. The method comprises the following steps: acquiring public health video data; inputting the public health video data into different public health video processing modules corresponding to different preset time periods at different time periods to obtain a first public health video supervision standby result output by the public health video processing modules; and summarizing the first public health video supervision standby result to obtain the public health video supervision result. In this application, the scheduling is different at different time quantums public health video processing module handles same public health video data, has scheduling and cooperative relation between the different public health processing module, need not continuous work, has realized the timesharing supervision to different public health projects, has effectively prevented the wasting of resources, and has effectively reduced the cost of public health video supervision.
Description
Technical Field
The application relates to the technical field of data processing, in particular to a method for generating a public health video supervision result and related equipment.
Background
In the prior art, when a plurality of public health projects are supervised, public health video data are generally acquired through respective independent camera equipment, and then are processed through respective independent public health video processing modules.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method for generating a public health video surveillance result and a related device.
Based on the above purpose, the present application provides a method for generating a public health video surveillance result, including:
acquiring public health video data;
inputting the public health video data into different public health video processing modules corresponding to different preset time periods in different preset time periods to obtain a first public health video supervision standby result output by the public health video processing module;
and summarizing the first public health video supervision standby result to obtain the public health video supervision result.
In one possible implementation, different public health video processing modules correspond to different public health items;
the method further comprises the following steps:
acquiring historical public health video data;
inputting the public health items and the historical public health video data into a pre-constructed time period determination model to obtain time periods corresponding to different public health items output by the time period determination model;
and determining the preset time period corresponding to each public health video processing module according to the time period corresponding to each public health item.
In a possible implementation manner, the inputting, at different preset time periods, the public health video data into different public health video processing modules corresponding to different preset time periods to obtain a first public health video supervision standby result output by the public health video processing module includes:
inputting the public health video data into the public health video processing module corresponding to the time period to which the current time belongs, and intercepting the public health video data according to the preset time period corresponding to the public health video processing module to obtain a public health video data segment;
performing frame extraction on the public health video data segment to obtain a public health picture data set;
and processing the public health picture data set to obtain the first public health video supervision standby result corresponding to the public health picture data set.
In one possible implementation, the method further includes:
acquiring a public health picture data set for training and a real public health video supervision standby result corresponding to the public health picture data set for training;
inputting the public health picture data set for training into a public health video processing module to be trained to obtain a public health video supervision standby result for training;
calculating a loss function value by using a preset loss function based on the real public health video supervision standby result and the training public health video supervision standby result;
and adjusting the parameters of the public health video processing module to be trained by using the loss function values to obtain the public health video processing module.
In one possible implementation, different public health video processing modules correspond to different public health items;
the method further comprises the following steps:
acquiring common characteristics of different public health items;
extracting public health video data corresponding to the common features from the public health video data to obtain processed public health video data;
and inputting the processed public health video data into different public health video processing modules corresponding to different preset time periods in different time periods to obtain a second public health video supervision standby result output by the public health video processing module.
In one possible implementation, the method further includes:
judging whether the first public health result accords with a public health project;
responding to the first public health result not conforming to the public health item, and sending early warning information to preset early warning equipment;
and processing the early warning information according to the feedback information of the early warning equipment.
In one possible implementation manner, the feedback information of the early warning device includes: receiving early warning information and not receiving the early warning information;
wherein, the processing the early warning information according to the feedback information of the early warning device comprises:
in response to the fact that the feedback information of the early warning device is received, canceling the early warning information;
and responding to the condition that the early warning information is not received by the feedback information of the early warning equipment, and sending the early warning information to the early warning equipment again according to a preset time interval.
Based on the same inventive concept, the embodiment of the present application further provides a device for generating a public health video supervision result, including:
an acquisition module configured to acquire public health video data;
the input module is configured to input the public health video data into different public health video processing modules corresponding to different preset time periods in different preset time periods to obtain a first public health video supervision standby result output by the public health video processing module;
a summarizing module configured to summarize the first public health video surveillance backup result to obtain the public health surveillance backup result.
Based on the same inventive concept, the embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the method for generating a public health video surveillance result as described in any one of the above is implemented.
Based on the same inventive concept, the embodiment of the present application further provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute any one of the above methods for generating a public health video surveillance result.
From the above, the method for generating the public health video supervision result and the related device provided by the application can acquire the public health video data; inputting the public health video data into different public health video processing modules corresponding to different preset time periods at different time periods to obtain a first public health video supervision standby result output by the public health video processing module; and summarizing the first public health video supervision standby result to obtain the public health video supervision result. The utility model provides an embodiment is different in the scheduling of different time quantums public health video processing module handles same public health video data, has dispatch and cooperative relation between the different public health processing module, need not continuous work, can realize more corresponding supervision to every public health project to make the final public health video supervision result that obtains also more accurate, in addition, realized the timesharing supervision to different public health projects, effectively prevented the wasting of resources, and effectively reduced the cost of public health video supervision.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the related art, the drawings needed to be used in the description of the embodiments or the related art will be briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart of a method for generating a surveillance result of a public health video according to an embodiment of the present application;
FIG. 2 is a flow chart of a custom algorithm according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a device for generating a public health video surveillance result according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to specific embodiments and the accompanying drawings.
It should be noted that technical terms or scientific terms used in the embodiments of the present application should have a general meaning as understood by those having ordinary skill in the art to which the present application belongs, unless otherwise defined. The use of "first," "second," and similar terms in the embodiments of the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
As described in the background section, in the related art, when a public health video processing module supervises a public health project, continuous work is required to obtain a public health video which almost covers the whole working time, and scheduling and coordination relations do not exist between different public health processing modules, so that redundant data obtained by the public health video processing module in the working process is excessive, resource waste is easily caused, and the cost is high.
In view of the above considerations, the embodiment of the present application provides a method for generating a public health video supervision result, by acquiring public health video data; inputting the public health video data into different public health video processing modules corresponding to different preset time periods at different time periods to obtain a first public health video supervision standby result output by the public health video processing modules; and summarizing the first public health video supervision standby result to obtain the public health video supervision result. Therefore, the plurality of public health video processing modules can work cooperatively, each module can pertinently acquire videos of the public health items corresponding to the modules at the corresponding time, the time for each module to process data is effectively reduced, the waste of resources is avoided, and meanwhile, the finally obtained public health video supervision result is more accurate.
Hereinafter, the technical means of the embodiments of the present application will be described in detail by specific examples.
Referring to fig. 1, the method for generating a public health video surveillance result of the present application includes the following steps:
step S101, public health video data is obtained;
step S102, in different preset time periods, inputting the public health video data into different public health video processing modules corresponding to different preset time periods to obtain a first public health video supervision standby result output by the public health video processing module;
and step S103, summarizing the first public health video supervision standby result to obtain the public health video supervision result.
In the following embodiments of the present application, the device for acquiring the public health video data is taken as an example of a camera, and correspondingly, different public health video processing modules are also all disposed in the camera.
With respect to step S101, in some embodiments, when acquiring public health video data, the manner of acquiring public health video data may be selected according to the application scenario of the present application. If the application scene of this application is the scene that needs real-time supervision, for example the scene is whether to wear the gauze mask for needing in hospital supervision personnel in hospital always, then needs then real-time through camera acquisition public health video data this moment to guarantee personnel's in the hospital safety. If the application scene is a scene which does not need real-time supervision, for example, if the scene needs to periodically check whether the working area in the hospital is a medical worker, at this time, a storage module can be built in the camera, video data of the corresponding working area can be periodically acquired and stored in the storage module, and then the data can be periodically acquired from the storage module, so that off-site supervision of the hospital is realized. It should be noted that, the aforementioned video data is obtained at regular time, and those skilled in the art should understand that it is only one embodiment of the present application, and the video data can also be extracted from the storage module at any time, and the extraction time can be determined according to the application scenario and the requirements of different locations and different tasks.
Further, after the public health video data are obtained, the obtained public health video data are input into different public health video processing modules corresponding to different preset time periods in different preset time periods, and an output first public health video supervision standby result is obtained.
In this embodiment, different public health video processing modules correspond to different public health items, and may be in a one-to-one relationship or a many-to-one relationship. For example, the face recognition module and the medical service recognition module correspond to a public health item whether the person enters a working area or not, and the mask recognition module corresponds to a public health item whether the person in a hospital wears a mask or not. It should be noted that the medical service identification module can identify ordinary doctor and nurse garments, medical protective clothing, radiation protective clothing and the like, and it should be understood that the medical service identification module can be improved according to the medical service type identification requirement in practical application, and can be finally adapted to various different medical service identifications in the field. In addition, the public health video processing module is not limited to the face recognition module, the medical service recognition module and the mask recognition module listed above, the corresponding public health video processing module can be matched according to different public health projects, and various different algorithms can be built in each public health video processing module to adapt to actual video processing requirements.
Further, it is first necessary to determine a preset time period for inputting different public health video processing modules. When the preset time period is determined, time periods corresponding to different public health items output by the time period determination model are obtained by acquiring historical public health video data and inputting the public health items and the historical public health video data into the pre-constructed time period determination model. Further, the preset time period corresponding to each public health video processing module is determined according to the time period corresponding to each public health item.
The method for determining the preset time period may be a statistical machine learning-based method, a deep learning-based method or a machine learning-based method. The method based on statistical machine learning mainly comprises the following steps: hidden markov models (hidden markov models HMMs), maximum Entropy (ME), support Vector Machines (SVMs), conditional Random Fields (CRFs), and the like. The deep learning-based method comprises the following steps: recurrent Neural Networks (RNN), long Short Term Memory (LSTM), and the like. The machine learning method comprises the following steps: supervised learning, semi-supervised learning, and unsupervised learning.
In addition, the preset time period can be set according to actual public health projects, and the staff can determine the preset time period according to historical experience of the project to be supervised. For example, when a working place of a clinic is not allowed to have a live person to enter or exit from eight to eleven am, the working time of the public health video processing module corresponding to the public health item of face recognition needs to be set to be eight to eleven am.
In addition, in this embodiment, refer to fig. 2, which is a flowchart of a custom algorithm in the embodiment of the present application. While a-f in the figures may be methods or entries invoked by the same or different algorithms, in another possible embodiment, custom algorithm flows may be implemented to enable the administration of more complex public health items. For example, the configuration may be custom logically arranged:
“<flow name=”algorithm1”>
THEN(
a,
WHEN(b,THEN(c,d),e).any(true),
f
);
</flow>”
in the above embodiment, the above program may be used to define the execution logic sequence of different algorithms, and program the algorithm execution flows, where ten () defines serial logic; WHEN () defines parallel logic; any identifies whether to output the abnormality information. Other keywords for the process layout will be known to those skilled in the art and will not be described in detail. In addition, in another possible embodiment of the present application, the program can be abstracted into a distribution diagram at a macro level, so that a user who does not write the program can edit the distribution diagram to realize the own algorithm arrangement requirement.
For users, the method supports the user-defined configuration of execution modes, execution logics, execution times and the like of various algorithms in a workflow-like mode, can perform user-defined arrangement on algorithm flows through self-written programs, can also realize self algorithm arrangement requirements according to obtained preset time periods through distribution diagrams provided by the method, can realize the self algorithm arrangement requirements according to the preset time periods in a distribution diagram editing mode for users who do not write programs, and can realize the supervision on public health video projects, and can flexibly arrange algorithms for users who write programs so as to realize the supervision on more complex public health video projects.
It should be understood that the method for determining the preset time period is illustrative and not intended to limit the implementation of the present application, and any method for determining the time period in the prior art can be used in the present embodiment.
Further, when the preset time period is determined, each public health video processing module starts work scheduled. And in the current time period, inputting the public health video data acquired at the moment into a public health video processing module corresponding to the time period to which the current time belongs. Further, according to the preset time period obtained in the above step, the public health video data is intercepted to obtain a public health video data segment. Then, frame extraction is performed on the public health video data segment to obtain a public health picture data set, wherein the frame extraction information may include: frame extraction record ID, camera ID, extraction time, image name, file size and storage path. It should be understood by those skilled in the art that the illustrated framing information is not limited to the above range, and may be expanded according to actual requirements.
The purpose of the above steps is to reduce the data processing pressure of the subsequent public health video processing module, so the video data of the corresponding time period is firstly intercepted, and due to the particularity of the field of acquiring the video data: in a period of time, the acquired video data has less variation within a small interval. Therefore, the frame extraction can be carried out on the public health video data segment, so that the accuracy of the final public health result is ensured, and the data processing pressure of the public health video processing module is effectively reduced.
When the frame extraction is performed on the public health video data segment in the above step, an interval deadline can be set, and the interval can be a fixed interval, that is, the public health video data segment is divided into a plurality of segments according to the fixed interval, and random frame extraction is performed from each segment of the public health video data. In addition, the number of frames for randomly extracting frames from each segment can also be set according to actual requirements, the number of frames for extracting frames with high precision requirement can be set to be larger, and the number of frames for extracting frames with low precision requirement can be set to be smaller.
Further, after the public health picture data set is obtained, the public health picture data set is processed, and a first public health video supervision standby result corresponding to the public health picture data set is obtained.
In this embodiment, the public health video processing module is trained by:
acquiring a public health picture data set for training and a real public health video supervision standby result corresponding to the public health picture data set for training;
inputting the public health picture data set for training into a public health video processing module to be trained to obtain a public health video supervision standby result for training;
calculating a loss function value by using a preset loss function based on the real public health video supervision standby result and the training public health video supervision standby result;
and adjusting parameters of the public health video processing module to be trained by using the loss function value to obtain the public health video processing module.
The training public health picture data set and the corresponding real public health video supervision standby result in the steps can be pertinently obtained on the spot according to the public health video processing module needing training.
In the training process, the loss function of each public health video processing module can be properly selected according to the public health item corresponding to the public health video processing module, of course, the corresponding loss functions can be the same or different, and a person skilled in the art can also correspondingly adjust the loss functions according to needs, so that the accuracy of the finally obtained public health video supervision standby result is maximized.
The method for determining the public health video supervision standby result can be a statistical machine learning-based method, a deep learning-based method or a machine learning-based method. The method based on statistical machine learning mainly comprises the following steps: hidden markov models (hidden markov models HMMs), maximum Entropy (ME), support Vector Machines (SVMs), conditional Random Fields (CRFs), and the like. The deep learning-based method comprises the following steps: recurrent Neural Networks (RNN), long Short Term Memory (LSTM), and the like. The machine learning method comprises the following steps: supervised learning, semi-supervised learning, and unsupervised learning.
It should be understood that the method for determining the backup result of the public health video surveillance is exemplary and not intended to limit the implementation of the present application, and any method for determining the backup result of the public health video surveillance in the prior art can be used in the present embodiment.
In another possible embodiment, likewise, different public health video processing modules correspond to different public health projects. But different public health items are firstly analyzed to obtain the common characteristics of the different public health items. And then extracting public health video data corresponding to the common characteristics from the public health video data to obtain processed public health video data, and further inputting the processed public health video data into different public health video processing modules corresponding to different preset time periods at different time periods to obtain a second public health video supervision standby result output by the public health video processing modules.
In the above steps, all public health items may be analyzed, then common features of all public health items are obtained, and then public health video data corresponding to the common features are extracted from the public health video data according to the common features of all public health items.
Correspondingly, public health items close to or overlapped in time can be analyzed, common characteristics of the corresponding public health items are obtained, and then the public health video data corresponding to the common characteristics are extracted from the public health video data according to the common characteristics.
The purpose of the steps is to reduce the analysis of redundant public health video data, the obtained public health video data is extracted in a targeted manner based on public health items, the workload of a subsequent public health video processing module can be effectively reduced, and the waste of resources is reduced. The subsequent steps are the same as the corresponding parts of the previous embodiment, and are not described again here.
Further, after the public health video supervision standby result is obtained, the public health video supervision standby result can be summarized to obtain the public health video supervision result. In the step, the public health video supervision standby results can be divided into several categories, and the public health video supervision results can be gathered in a targeted manner based on the categories on the upper layer of the public health project when being gathered, so that the subsequent further analysis on the public health video supervision results and the analysis on the macro level are facilitated.
Further, after a final public health video supervision result is obtained, whether the public health video supervision result meets the requirement of a public health project or not needs to be judged, when the public health video supervision result does not meet the public health project, early warning information is sent to preset early warning equipment, and further, the early warning information is processed according to feedback information of the early warning equipment.
In addition, in some embodiments, when the video surveillance result of public health conforms to the public health item, the pass information is sent to a preset early warning device. The above steps can be applied to public health projects needing positive feedback, and in addition, the positive feedback can be used for excitation in some occasions, so that the working enthusiasm of workers is increased.
Further, the feedback information of the early warning device in the above steps includes: receiving early warning information and not receiving the early warning information;
wherein, the processing the early warning information according to the feedback information of the early warning device comprises:
in response to the fact that the feedback information of the early warning device is received, canceling the early warning information;
and responding to the condition that the early warning information is not received by the feedback information of the early warning equipment, and sending the early warning information to the early warning equipment again according to a preset time interval.
In the steps, different processing is performed on the feedback information of the early warning equipment, so that the missing connection of the early warning information is prevented, and the attention degree of people to the early warning information is strengthened.
In another feasible embodiment, if the public health video processing modules are arranged by the self-defined algorithm, the public video supervision standby results can be converged in an intelligent identification mode to finally generate an alarm, in the convergence process, a plurality of standby results can be integrated to carry out targeted alarm, and the finally obtained public video supervision results can be analyzed to give reasonable suggestions.
Wherein, the intelligent identification information may include: the method comprises the following steps of intelligently identifying a record ID, a frame extraction record ID, an AI algorithm ID, an algorithm name, identification time, an identification mode (serial and parallel), a link (required by serial), an identification result, whether the system is abnormal or not, abnormal description and the like. It should be understood by those skilled in the art that the above-mentioned intelligent identification information is only exemplary, and those skilled in the art can make corresponding modifications according to actual needs.
According to the embodiment, the method for generating the public health video supervision result obtains the public health video data; inputting the public health video data into different public health video processing modules corresponding to different preset time periods at different preset time periods to obtain a first public health video supervision standby result output by the public health video processing module; and summarizing the first public health video supervision standby result to obtain the public health video supervision result. Different public health video processing modules can be scheduled to process the same public health video data at different time periods, and more targeted supervision can be realized on each public health item, so that the finally obtained public health video supervision result is more accurate. In addition, scheduling and coordination relations exist among different public health processing modules, continuous work is not needed, time-sharing supervision on different public health projects is achieved, resource waste is effectively prevented, and cost of video supervision of public health is effectively reduced.
It should be noted that the method of the embodiment of the present application may be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene and is completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiment, and the multiple devices interact with each other to complete the method.
It should be noted that the foregoing describes some embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, corresponding to the method of any embodiment, the application also provides a device for generating the supervision result of the public health video.
Referring to fig. 3, the apparatus for generating a public health video surveillance, comprises:
an acquisition module 21 configured to acquire public health video data;
the input module 22 is configured to input the public health video data into different public health video processing modules corresponding to different preset time periods in different preset time periods to obtain a first public health video supervision standby result output by the public health video processing module;
a summarizing module 23 configured to summarize the first public health video surveillance backup result to obtain the public health video surveillance result.
In one possible implementation, different public health video processing modules correspond to different public health projects;
the device, still include:
an acquisition history data module configured to acquire historical public health video data;
the input historical data module is configured to input the public health items and the historical public health video data into a pre-constructed time period determination model to obtain time periods which are output by the time period determination model and correspond to different public health items;
the determining module is configured to determine the preset time period corresponding to each public health video processing module according to the time period corresponding to each public health item.
In one possible implementation, the input module 22 is further configured to:
inputting the public health video data into the public health video processing module corresponding to the time period to which the current time belongs, and intercepting the public health video data according to the preset time period corresponding to the public health video processing module to obtain a public health video data segment;
extracting frames from the public health video data segment to obtain a public health picture data set;
and processing the public health picture data set to obtain a first public health video supervision standby result corresponding to the public health picture data set.
In a possible implementation manner, the apparatus further includes:
the training acquisition module is configured to acquire a training public health picture data set and a real public health video supervision standby result corresponding to the training public health picture data set;
the training input module is configured to input the training public health picture data set into a public health video processing module to be trained to obtain a training public health video supervision standby result;
the training calculation module is configured to calculate a loss function value by using a preset loss function based on the real public health video supervision standby result and the training public health video supervision standby result;
and the training adjusting module is configured to adjust the parameters of the public health video processing module to be trained by using the loss function values to obtain the public health video processing module.
In one possible implementation, different public health video processing modules correspond to different public health projects;
the device, still include:
a common characteristic acquisition module configured to acquire common characteristics of different public health items;
an extraction module configured to extract public health video data corresponding to the common feature from the public health video data to obtain processed public health video data;
and the standby result output module is configured to input the processed public health video data into different public health video processing modules corresponding to different preset time periods at different time periods to obtain a second public health video supervision standby result output by the public health video processing module.
In one possible implementation manner, the apparatus further includes:
a determination module configured to determine whether the first public health video surveillance result complies with a public health project;
a sending module configured to send early warning information to a preset early warning device in response to the first public health video surveillance result not conforming to the public health item;
and the feedback module is configured to process the early warning information according to the feedback information of the early warning equipment.
In one possible implementation manner, the feedback information of the early warning device includes: receiving early warning information and not receiving the early warning information;
the feedback module is further configured to:
in response to the fact that the feedback information of the early warning device is received, canceling the early warning information;
and responding to the condition that the early warning information is not received by the feedback information of the early warning equipment, and sending the early warning information to the early warning equipment again according to a preset time interval.
For convenience of description, the above devices are described as being divided into various modules by functions, which are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware implementations as the present application.
The device of the above embodiment is used for realizing the corresponding public health result generation method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to the method of any embodiment described above, the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the method for generating the public health video surveillance result according to any embodiment described above is implemented.
Fig. 4 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solutions provided by the embodiments of the present specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called by the processor 1010 for execution.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, bluetooth and the like).
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The electronic device of the above embodiment is used to implement the method for generating the corresponding public health video surveillance result in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the method for generating a public health video surveillance result according to any of the above-mentioned embodiments.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The computer instructions stored in the storage medium of the foregoing embodiment are used to enable the computer to execute the method for generating a public health video surveillance result according to any embodiment, and have the beneficial effects of the corresponding method embodiments, which are not described herein again.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the context of the present application, features from the above embodiments or from different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures for simplicity of illustration and discussion, and so as not to obscure the embodiments of the application. Furthermore, devices may be shown in block diagram form in order to avoid obscuring embodiments of the application, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the application are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that the embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures, such as Dynamic RAM (DRAM), may use the discussed embodiments.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present application are intended to be included within the scope of the present application.
Claims (10)
1. A method for generating a public health video supervision result is characterized by comprising the following steps:
acquiring public health video data;
inputting the public health video data into different public health video processing modules corresponding to different preset time periods at different preset time periods to obtain a first public health video supervision standby result output by the public health video processing module;
and summarizing the first public health video supervision standby result to obtain a public health video supervision result.
2. The method of claim 1, wherein different said public health video processing modules correspond to different public health items;
the method further comprises the following steps:
acquiring historical public health video data;
inputting the public health items and the historical public health video data into a pre-constructed time period determination model to obtain time periods corresponding to different public health items output by the time period determination model;
and determining the preset time period corresponding to each public health video processing module according to the time period corresponding to each public health item.
3. The method according to claim 1, wherein the inputting the public health video data into different public health video processing modules corresponding to different preset time periods at different preset time periods to obtain a first public health video supervision backup result output by the public health video processing modules comprises:
inputting the public health video data into the public health video processing module corresponding to the time period to which the current time belongs, and intercepting the public health video data according to the preset time period corresponding to the public health video processing module to obtain a public health video data segment;
extracting frames from the public health video data segment to obtain a public health picture data set;
and processing the public health picture data set to obtain a first public health video supervision standby result corresponding to the public health picture data set.
4. The method of claim 3, further comprising:
acquiring a public health picture data set for training and a real public health video supervision standby result corresponding to the public health picture data set for training;
inputting the public health picture data set for training into a public health video processing module to be trained to obtain a public health video supervision standby result for training;
calculating a loss function value by using a preset loss function based on the real public health video supervision standby result and the training public health video supervision standby result;
and adjusting the parameters of the public health video processing module to be trained by using the loss function values to obtain the public health video processing module.
5. The method of claim 1, wherein different said public health video processing modules correspond to different public health items;
the method further comprises the following steps:
acquiring common characteristics of different public health items;
extracting public health video data corresponding to the common features from the public health video data to obtain processed public health video data;
and inputting the processed public health video data into different public health video processing modules corresponding to different preset time periods in different time periods to obtain a second public health video supervision standby result output by the public health video processing module.
6. The method of claim 1, further comprising:
judging whether the first public health video supervision result meets a public health project or not;
responding to the first public health video supervision result not conforming to the public health project, and sending early warning information to preset early warning equipment;
and processing the early warning information according to the feedback information of the early warning equipment.
7. The method of claim 6, wherein the feedback information of the early warning device comprises: receiving early warning information and not receiving the early warning information;
wherein, the processing the early warning information according to the feedback information of the early warning device comprises:
in response to the fact that the feedback information of the early warning device is received, canceling the early warning information;
and responding to the condition that the early warning information is not received by the feedback information of the early warning equipment, and sending the early warning information to the early warning equipment again according to a preset time interval.
8. An apparatus for generating a supervision result of a public health video, comprising:
an acquisition module configured to acquire public health video data;
the input module is configured to input the public health video data into different public health video processing modules corresponding to different preset time periods in different preset time periods to obtain a first public health video supervision standby result output by the public health video processing module;
and the summarizing module is configured to summarize the first public health video supervision standby result to obtain the public health video supervision result.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the program.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211420554.8A CN115620209A (en) | 2022-11-15 | 2022-11-15 | Method for generating public health video supervision result and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211420554.8A CN115620209A (en) | 2022-11-15 | 2022-11-15 | Method for generating public health video supervision result and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115620209A true CN115620209A (en) | 2023-01-17 |
Family
ID=84879272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211420554.8A Pending CN115620209A (en) | 2022-11-15 | 2022-11-15 | Method for generating public health video supervision result and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115620209A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075883A (en) * | 2011-03-10 | 2011-05-25 | 成都四方信息技术有限公司 | Junk multimedia message monitoring method based on model combination |
CN111523490A (en) * | 2020-04-26 | 2020-08-11 | 深圳前海微众银行股份有限公司 | Mask wearing detection method, device, equipment and readable storage medium |
CN111523380A (en) * | 2020-03-11 | 2020-08-11 | 浙江工业大学 | Mask wearing condition monitoring method based on face and posture recognition |
CN112084975A (en) * | 2020-09-14 | 2020-12-15 | 中国农业科学院蜜蜂研究所 | Insect flower visiting behavior analysis method based on machine learning model |
US20210295015A1 (en) * | 2020-03-23 | 2021-09-23 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Method and apparatus for processing information, device, and medium |
-
2022
- 2022-11-15 CN CN202211420554.8A patent/CN115620209A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075883A (en) * | 2011-03-10 | 2011-05-25 | 成都四方信息技术有限公司 | Junk multimedia message monitoring method based on model combination |
CN111523380A (en) * | 2020-03-11 | 2020-08-11 | 浙江工业大学 | Mask wearing condition monitoring method based on face and posture recognition |
US20210295015A1 (en) * | 2020-03-23 | 2021-09-23 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Method and apparatus for processing information, device, and medium |
CN111523490A (en) * | 2020-04-26 | 2020-08-11 | 深圳前海微众银行股份有限公司 | Mask wearing detection method, device, equipment and readable storage medium |
CN112084975A (en) * | 2020-09-14 | 2020-12-15 | 中国农业科学院蜜蜂研究所 | Insect flower visiting behavior analysis method based on machine learning model |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180253350A1 (en) | Monitoring node usage in a distributed system | |
CN104303156B (en) | Behavior characteristicss in the mobile multi processor platform of monitoring | |
Flatt et al. | A context-aware assistance system for maintenance applications in smart factories based on augmented reality and indoor localization | |
CN108446199A (en) | A kind of detection method and device using interim card | |
CN113704048B (en) | Data dynamic monitoring method, device, computer equipment and storage medium | |
CN113282795B (en) | Data structure diagram generation and updating method and device, electronic equipment and storage medium | |
WO2019215524A1 (en) | Personal protective equipment and safety management system for comparative safety event assessment | |
Wang et al. | A scalable distributed architecture for intelligent vision system | |
CN113568666A (en) | Image processing method and device, storage medium and processor | |
CN112100239A (en) | Portrait generation method and apparatus for vehicle detection device, server and readable storage medium | |
CN114090378A (en) | Custom monitoring and alarming method based on Kapacitor | |
CN112783614A (en) | Object processing method, device, equipment, storage medium and program product | |
US11393091B2 (en) | Video image processing and motion detection | |
US9420237B2 (en) | Insight-driven augmented auto-coordination of multiple video streams for centralized processors | |
CN115620209A (en) | Method for generating public health video supervision result and related equipment | |
CN111443615A (en) | Electric equipment control system, method and equipment | |
CN107704362A (en) | A kind of method and device based on Ambari monitoring big data components | |
Delabrida et al. | Towards a wearable device for monitoring ecological environments | |
CN116205624A (en) | Equipment operation management method based on digital twin and related products | |
CN116136801B (en) | Cloud platform data processing method and device, electronic equipment and storage medium | |
WO2015023952A1 (en) | Mental state analysis using an application programming interface | |
CN112463626B (en) | Memory leakage positioning method and device, computer equipment and storage medium | |
CN110083357B (en) | Interface construction method, device, server and storage medium | |
CN114255502A (en) | Face image generation method and device, face recognition method, face recognition equipment and medium | |
CN111475687A (en) | Flow data visualization method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |