Summary of the invention
The embodiment of the invention provides a kind of cross contaminations to determine method and device, at least to solve eating in the related technologyIn product process, artificial visiting others during work hours after slipping away from one's post for policer operation personnel is needed to walk about, therefore can not specifically grasp caused cross contaminationThe problem of risk.
According to one embodiment of present invention, it provides a kind of cross contamination and determines method, comprising: acquire different cleanings etc.The monitor video in grade region;The activity trajectory of the different affiliated personnel in lustration class region is drawn according to the monitor video;According toThe activity trajectory determines the cross contamination situation in different lustration class regions.
Optionally, before the monitor video for acquiring different lustration class regions, further includes: to different lustration class regionsInformation and the information of the different lustration class affiliated personnel in region carry out typing.
Optionally, drawing the activity trajectory of the different affiliated personnel in lustration class region according to the monitor video includes: pairThe different affiliated personnel in lustration class region identify, and draw the activity trajectory of the different affiliated personnel in lustration class region.
Optionally, determine that the cross contamination situation in different lustration class regions includes: according to institute according to the activity trajectoryIt states activity trajectory and judges whether there is low lustration class region and belong to personnel and enter high-cleanness hierarchical region;If it is, determination is depositedIn cross contamination risk, and the low lustration class region for entering high-cleanness hierarchical region is belonged into personal information and is reported.
Optionally, the cross contamination situation in different lustration class regions is determined according to the activity trajectory further include: will be lowLustration class region belongs to personnel and enters the activity trajectory of high-cleanness hierarchical region and the work of the affiliated personnel of high-cleanness hierarchical regionThe crosspoint of dynamic rail mark is set as cross contamination risk point;According to the stay time of each track of the cross contamination risk point,And the frequency that track cross occurs in cross contamination risk point determines intersection risk class.
Optionally, the activity trajectory that different lustration class regions belong to personnel is marked using different colours or label.
According to another embodiment of the invention, a kind of cross contamination determining device is provided, comprising: acquisition module is usedIn the monitor video for acquiring different lustration class regions;Drafting module, for drawing different cleanings etc. according to the monitor videoThe activity trajectory of the grade affiliated personnel in region;Determining module, for determining different lustration class regions according to the activity trajectoryCross contamination situation.
Optionally, which further includes recording module, for different lustration class area informations and different cleanings etc.The information of the grade affiliated personnel in region carries out typing.
Optionally, the drafting module includes: recognition unit, for belonging to different lustration classes region in the videoPersonnel identify, drawing unit, for the activity trajectory according to the affiliated personnel in video rendering difference lustration class region.
Optionally, the determining module includes: judging unit, for judging whether there is low cleaning according to the activity trajectoryHierarchical region belongs to personnel and enters high-cleanness hierarchical region;Reporting unit, the feelings for being yes for the judging result in judging unitIt determines that there are cross contamination risks under condition, and the low lustration class region for entering high-cleanness hierarchical region is belonged into personnel's letterBreath reports.
Optionally, the determining module further include: setup unit enters height for low lustration class region to be belonged to personnelThe crosspoint of the activity trajectory in lustration class region and the activity trajectory of the affiliated personnel of high-cleanness hierarchical region is set as intersecting dirtContaminate risk point;Determination unit, for the stay time and cross contamination risk according to described each track of cross contamination risk pointThe frequency that track cross occurs in point, which determines, intersects risk class.
Optionally, the activity trajectory that different lustration class regions belong to personnel is marked using different colours or label.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage mediumCalculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is describedComputer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-describedStep in embodiment of the method.
In the above embodiment of the invention, can the personnel according to different clean area activity trajectory, to determine notWith the cross contamination situation in lustration class region, the accuracy of cross contamination risk judgement is improved.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflictingIn the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
For the monitoring of the cross contamination of existing food-processing industry, the key link usually intersected according to food,The system on hilllock must not be altered by working out operator.Personnel are divided according to the difference of work area clean degree, specify cleannesPersonnel can only must not alter hilllock in specified regional work.If occurring altering hilllock behavior, personnel can only be from high cleaning region to low cleaningRegion.The execution of system, by artificial regular visit, alters hilllock to personnel mainly by the mode for manually checking and supervising mutuallyThe behavior of cross contamination is caused to exercise supervision.
But it is this fully rely on artificial test mode, the subjective judgement and working attitude of heavy dependence inspection personnel,The job specification of regular visit makes it easily becomes the routine public affairs for becoming a mere formality, performing practically no function as one as time goes byThing, supervision, check it is ineffective.
On the other hand, if food processing place area is larger, environment is complicated, personnel are more, if when manual inspectionIt is difficult to distinguish the lustration class of each personnel, so as to cause low efficiency is checked.Inspection personnel can only have according to hilllock behavior judgement is alteredThe accidentally risk of cross contamination, can not accurately analyze the height of different zones food cross contamination risk.
For food cross contamination high risk zone can not be judged, artificial supervisor alters that hilllock speed is slow, efficiencyThe problem of low, heavy workload, in an embodiment of the present invention, in conjunction with digital video technology, the high wind of intelligent decision cross contaminationDanger zone domain, and identify that personnel alter hilllock behavior.
For this purpose, providing a kind of cross contamination in the present embodiment determines method, Fig. 1 is side according to an embodiment of the present inventionMethod flow chart, as shown in Figure 1, the process includes the following steps:
Step S102 acquires the monitor video in different lustration class regions;
Step S104 draws the activity trajectory of the different affiliated personnel in lustration class region according to the monitor video;
Step S106 determines the cross contamination situation in different lustration class regions according to the activity trajectory.
Before the step S102 of the present embodiment, this method can also include: to different lustration class area informations andThe information of the different affiliated personnel in lustration class region carries out typing.
In the step S104 of the present embodiment, the different affiliated personnel in lustration class region can be identified, and drawn notWith the activity trajectory of the affiliated personnel in lustration class region.
In the step S106 of the present embodiment, low lustration class region can be judged whether there is according to the activity trajectory and is belonged toPersonnel enter high-cleanness hierarchical region;If it is, determining that there are cross contamination risks, and high-cleanness hierarchical region will be enteredThe low lustration class region belongs to personal information and reports.
In the step S106 of the present embodiment, low lustration class region can also be belonged to personnel and enter high-cleanness grade areaThe crosspoint of the activity trajectory of the activity trajectory and affiliated personnel of high-cleanness hierarchical region in domain is set as cross contamination risk point;RootIt is determined according to the frequency that track cross occur in the stay time and cross contamination risk point of described each track of cross contamination risk pointIntersect risk class.
In the present embodiment, different colours or label can be used to mark the activity that different lustration class regions belong to personnelTrack.
For the ease of the understanding to technical solution of the present invention, retouched in detail below by the embodiment of a concrete applicationIt states.
It is true to propose a kind of cross contamination for the monitoring situation of the cross contamination risk in food processing region for the present embodimentDetermine method.As shown in Fig. 2, mainly including the following steps:
Step S202, the monitored picture of the camera of acquisition different food products operating space deployment.
The identification feature information (for example, facial characteristics) of each operating area employee of typing food and affiliated in systems in advanceWorking region lustration class information, and different colours calibration is carried out to each operating area by lustration class requirement.In the present embodimentIn, each operating area is broadly divided into area according to lustration class: contaminated area (e.g., garbage disposal area, food materials destroy area etc.) labelFor red;General clean area (such as: cut distribution area, roughing area, table-ware disinfection area) is demarcated as blue;High-cleanness region is (such asCold food area eats area, decorative cakes area etc. raw) it is demarcated as green.
The color of calibration can be used for drawing personnel activity track.Wherein, lustration class is higher, and corresponding permission is higher,I.e. high-cleanness area people has the permission into low clean area, and low clean area personnel must not enter high-cleanness region.
Video acquisition is carried out according to camera in different food products operating space, and clean according to the operating space that camera is located atGrade is spent, the employee's color that may occur in which in picture area is limited.
Step S204, intelligent recognition difference lustration class area belong to personnel in the activity trajectory of each operating area of food.
The monitored picture acquired by camera, it is clean belonging to identification personnel to personnel's progress human face analysis in pictureThe colouring information in net grade area, draws out the activity trajectory of designated person, and according to each residence time length track draftingResidence time thermodynamic chart on line.Personnel track for not being prestored into system carries out abnormal track calibration.
Step S206, analysis low-risk operating area personnel enter high risk operating area situation, and according to different cleaningsGrade personnel's track cross situation marks cross contamination high risk zone.
The track color according to as defined in picture identifies whether the personnel track color occurred in real time is consistent, if unanimously, sentencingFixed track is normal;If it is inconsistent, and whether the track color permission is lower than in designated color, then determines that the personnel alter hilllock in violation of rules and regulations,Hilllock personal information will be altered and send regulator end.
Also the point of different colours track cross can be demarcated in monitored picture according to the track of different colours, which isCross contamination risk point.It is determined and is handed over according to the frequency that track cross occur in the stay time of each of crosspoint track and crosspointPitch risk class.Residence time is longer, risk is higher;The intersection frequency is more, and risk is higher.
In the above embodiment of the invention, according to the motion track crossing instances intellectual analysis of different clean area personnelCross contamination region, the workload for improving the accuracy of cross contamination region decision, reducing original manual inspection, and can rootCross contamination analytical grade is analyzed according to number of crossings and stay time, improves regulator to management region Food Safety AnalysisGrasping level.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementationThe method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very muchIn the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existingThe part that technology contributes can be embodied in the form of software products, which is stored in a storageIn medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculateMachine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Additionally provide a kind of cross contamination determining device in the present embodiment, the device is for realizing above-described embodiment and excellentEmbodiment is selected, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module "Software and/or hardware combination.Although device described in following embodiment is preferably realized with software, hardware,Or the realization of the combination of software and hardware is also that may and be contemplated.
Fig. 3 is the structural block diagram of cross contamination determining device according to an embodiment of the present invention, as shown in figure 3, the device packetInclude acquisition module 10, drafting module 20 and determining module 30.
Acquisition module 10, for acquiring the monitor video in different lustration class regions.Drafting module 20, for according toMonitor video draws the activity trajectory of the different affiliated personnel in lustration class region.Determining module 30, for according to the active railMark determines the cross contamination situation in different lustration class regions.
Fig. 4 is the structural block diagram of cross contamination determining device according to another embodiment of the present invention, as shown in figure 4, the dressIt sets in addition to including all modules shown in Fig. 3, further includes recording module 40.The recording module 40 is used for different lustration class areasThe information of domain information and the different lustration class affiliated personnel in region carry out typing.
In the present embodiment, drafting module 20 may include: recognition unit 201, for different clean in the videoThe affiliated personnel of hierarchical region identify that drawing unit 202 is used for according to belonging to the video rendering difference lustration class regionThe activity trajectory of personnel.
In the present embodiment, determining module 30 may include: judging unit 301, for being judged according to the activity trajectoryWhether there is low lustration class region to belong to personnel and enters high-cleanness hierarchical region;Reporting unit 302, for sentencing in judging unitResult of breaking is to determine that there are cross contamination risks in the case where being, and will enter the low lustration class of high-cleanness hierarchical regionRegion belongs to personal information and reports.
In the present embodiment, determining module 30 can also include: setup unit 303, for belonging to low lustration class regionEnter the crosspoint of the activity trajectory of high-cleanness hierarchical region and the activity trajectory of the affiliated personnel of high-cleanness hierarchical region in personnelIt is set as cross contamination risk point;Determination unit 304, when for according to the stop of each track of the cross contamination risk pointThe frequency that track cross occurs in long and cross contamination risk point, which determines, intersects risk class.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke YitongFollowing manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with anyCombined form is located in different processors.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, whereinThe computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hardThe various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memoryThere is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the methodSuddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission deviceIt is connected with above-mentioned processor, which connects with above-mentioned processor.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with generalComputing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formedNetwork on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are storedIt is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution hereinOut or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules orStep is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this fieldFor art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc.With replacement, improvement etc., should all be included in the protection scope of the present invention.