CN113392715A - Chef cap wearing detection method - Google Patents

Chef cap wearing detection method Download PDF

Info

Publication number
CN113392715A
CN113392715A CN202110555898.9A CN202110555898A CN113392715A CN 113392715 A CN113392715 A CN 113392715A CN 202110555898 A CN202110555898 A CN 202110555898A CN 113392715 A CN113392715 A CN 113392715A
Authority
CN
China
Prior art keywords
chef
hat
wearing
video data
information
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
Application number
CN202110555898.9A
Other languages
Chinese (zh)
Inventor
陈志�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Keshen Information Technology Co ltd
Original Assignee
Shanghai Keshen Information Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Keshen Information Technology Co ltd filed Critical Shanghai Keshen Information Technology Co ltd
Priority to CN202110555898.9A priority Critical patent/CN113392715A/en
Publication of CN113392715A publication Critical patent/CN113392715A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

本发明涉及图像处理技术领域,具体公开了一种厨师帽佩戴检测方法,通过获取摄像装置拍摄的视频数据;提取视频数据上的人体特征信息;依据人体特征信息提取对应的人体头部区域信息;将人体头部区域信息输入厨师帽检测模型;基于终端设备接收厨师帽检测模型输出的检测结果,以此实现无需人工排查,能够实时检测后厨人员的厨师帽是否佩戴,检查更加及时。

Figure 202110555898

The invention relates to the technical field of image processing, and specifically discloses a method for detecting the wearing of a chef's hat. By acquiring video data captured by a camera device; extracting human body feature information on the video data; and extracting corresponding human head region information according to the human body feature information; Input the information of the head area of the human body into the chef hat detection model; receive the detection results output by the chef hat detection model based on the terminal device, so as to realize the need for manual inspection, and real-time detection of whether the chef hat of the back kitchen staff is worn, and the inspection is more timely.

Figure 202110555898

Description

Chef cap wearing detection method
Technical Field
The invention relates to the technical field of image processing, in particular to a chef cap wearing detection method.
Background
In recent years, the sanitary problem of the kitchen in the catering industry is more and more emphasized by the countries and the society, and the kitchen in the better catering industry is basically transparent, so that customers can directly observe the working state of the kitchen, but sometimes the kitchen cannot be modified due to the space relationship, and how to ensure the sanitary problem of the kitchen for the customers is achieved.
Whether the chef cap is worn or not is one of important conditions for guaranteeing kitchen sanitation, and the chef cap of a person who cooks is usually checked to be worn or not by manpower at present, but the manual check is not timely.
Disclosure of Invention
The invention aims to provide a chef cap wearing detection method, and aims to solve the technical problem that whether a chef cap of a person in the kitchen is worn and not checked timely by a person in the prior art.
In order to achieve the purpose, the chef cap wearing detection method adopted by the invention comprises the following steps:
acquiring video data shot by a camera device;
extracting human body characteristic information on the video data;
extracting corresponding human head region information according to the human body characteristic information;
inputting the human head area information into a chef cap detection model;
receiving a detection result output by the chef cap detection model based on terminal equipment;
if the situation that the kitchen staff do not wear the chef cap is detected, sending image data corresponding to the situation that the kitchen staff do not wear the chef cap to a manager;
and if the situation that all the kitchen staff wear the chef cap is detected, the image data is not sent to the manager.
Wherein, the video data that the video camera shooting device shoots of acquireing includes:
mounting the camera device to a corresponding corner of a kitchen;
carrying out shooting debugging on the shooting device;
and after debugging is finished, starting the camera device to acquire the shot video data.
The video data is an image video or a photo.
Wherein, extracting the human body feature information on the video data comprises:
decoding the video data according to an artificial intelligence algorithm to obtain decoded data;
and performing characteristic analysis on the decoded data according to the corresponding frame rate to obtain the human body characteristic information.
The human body characteristic information comprises personnel identity identification information, personnel post identification information and personnel gender identification information.
Wherein, the human head area information is the head area image of the corresponding kitchen staff.
Wherein before the step of inputting the human head region information into a chef cap detection model, the method further comprises:
training is carried out according to the original scene data set of the chef cap to obtain the chef cap detection model.
Wherein, in receiving the testing result of chef cap detection model output based on terminal equipment, if detect after the personnel of kitchen do not wear the chef cap, carry out result verification by oneself, specifically do:
receiving a real-time distance signal between a chef cap and a first obstacle on the ground, wherein the real-time distance signal is transmitted by the chef cap within a first preset time;
calculating the absolute value of the difference between the real-time distance signal and the height of the worker;
and judging whether the absolute value in the second preset time is changed or not, judging that the absolute value is within a preset threshold range, if the absolute value in the second preset time is changed and is within the preset threshold range, verifying that the detection result is wrong, and if the absolute value in a period of time is not changed or is not within the preset threshold range, verifying that the detection result is correct, and generating the detection result to the terminal equipment.
According to the chef cap wearing detection method, video data shot by the camera device are obtained;
extracting human body characteristic information on the video data; extracting corresponding human head region information according to the human body characteristic information; inputting the human head area information into a chef cap detection model; receiving a detection result output by the chef cap detection model based on terminal equipment; if the situation that the kitchen staff do not wear the chef cap is detected, sending image data corresponding to the situation that the kitchen staff do not wear the chef cap to a manager; if the kitchen staff is detected to wear the chef cap, the image data is not sent to the manager, so that manual investigation is not needed, whether the chef cap of the kitchen staff is worn or not can be detected in real time, and the inspection is more timely.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of the steps of the chef hat donning detection method of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
In the description of the present invention, it is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships illustrated in the drawings, and are used merely for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention. Further, in the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Referring to fig. 1, the present invention provides a chef hat wearing detection method, which includes the following steps:
s1: acquiring video data shot by a camera device;
s2: extracting human body characteristic information on the video data;
s3: extracting corresponding human head region information according to the human body characteristic information;
s4: inputting the human head area information into a chef cap detection model;
s5: receiving a detection result output by the chef cap detection model based on terminal equipment; if the situation that the kitchen staff do not wear the chef cap is detected, sending image data corresponding to the situation that the kitchen staff do not wear the chef cap to a manager; and if the situation that all the kitchen staff wear the chef cap is detected, the image data is not sent to the manager.
In the present embodiment, the imaging device is mounted to a corresponding corner of the kitchen; carrying out shooting debugging on the shooting device; and after debugging is finished, starting the camera device to acquire the shot video data. The video data is image video or photos. In addition, after the debugging is finished, the camera device is started, and the step of acquiring the shot video data is as follows: after the debugging is finished and the camera device is started, the camera device is trained based on libSVM, the human head is directly positioned, and all the human heads and positions in the image are detected.
The extracting the human body feature information on the video data comprises the following steps: decoding the video data according to an artificial intelligence algorithm to obtain decoded data; and performing characteristic analysis on the decoded data according to a corresponding frame rate to obtain the human body characteristic information, wherein the human body characteristic information comprises personnel identity identification information, personnel post identification information and personnel gender identification information.
Then extracting corresponding human head region information according to the human body characteristic information;
the human head area information is a head area image of a corresponding kitchen worker.
Inputting the human head area information into a chef cap detection model;
before the step of inputting the human head area information into the chef cap detection model, the method further comprises the following steps: training is carried out according to the original scene data set of the chef cap to obtain the chef cap detection model.
In the step of training according to an original chef hat wearing scene data set to obtain the chef hat detection model:
acquiring an original chef cap wearing scene data set, and performing enhancement processing on the original chef cap wearing scene data set;
training an original chef cap wearing scene data set and an enhanced chef cap wearing scene data set by utilizing neural networks of different feature extraction networks to obtain a plurality of first models;
acquiring an original chef cap unworn scene data set, and performing enhancement processing on the original chef cap unworn scene data set;
training the enhanced chef cap-free scene data set by taking a first model as a pre-training model to obtain a second model;
performing non-maximum suppression processing without distinguishing between a plurality of first models and a plurality of second models;
and fusing the plurality of first models and the second models after the non-maximum value inhibition processing to obtain a chef cap detection model, and carrying out chef cap wearing detection through the chef cap detection model.
After the plurality of first models and the plurality of second models which are subjected to the non-maximum suppression processing are fused, the fused second models are input into a YOLOv3 network for repeated training, and a chef cap detection model is obtained. Receiving a detection result output by the chef cap detection model based on terminal equipment; if the situation that the kitchen staff do not wear the chef cap is detected, sending image data corresponding to the situation that the kitchen staff do not wear the chef cap to a manager; and if the situation that all the kitchen staff wear the chef cap is detected, the image data is not sent to the manager. Wherein the terminal equipment is a computer;
in receiving the detection result output by the chef cap detection model based on the terminal equipment, if the situation that a cook person does not wear the chef cap is detected, the result verification is automatically carried out, and the method specifically comprises the following steps: receiving a real-time distance signal between a chef cap and a first obstacle on the ground, wherein the real-time distance signal is transmitted by the chef cap within a first preset time; calculating the absolute value of the difference between the real-time distance signal and the height of the worker; and judging whether the absolute value in the second preset time is changed or not, judging that the absolute value is within the preset threshold range, if the absolute value in the second preset time is changed and is within the preset threshold range, verifying that the detection result is wrong, and if the absolute value in a period of time is not changed or is not within the preset threshold range, verifying that the detection result is correct, and sending the detection result to the terminal equipment.
The chef cap wearing detection method provided by the invention comprises the steps of acquiring video data shot by a camera device; extracting human body characteristic information on the video data; extracting corresponding human head region information according to the human body characteristic information; inputting the human head area information into a chef cap detection model; receiving a detection result output by the chef cap detection model based on terminal equipment; if the situation that the kitchen staff do not wear the chef cap is detected, sending image data corresponding to the situation that the kitchen staff do not wear the chef cap to a manager; if the kitchen staff is detected to wear the chef cap, the image data is not sent to the manager, so that manual investigation is not needed, whether the chef cap of the kitchen staff is worn or not can be detected in real time, and the inspection is more timely.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1.一种厨师帽佩戴检测方法,其特征在于,包括如下步骤:1. a chef hat wearing detection method, is characterized in that, comprises the steps: 获取摄像装置拍摄的视频数据;Obtain the video data captured by the camera device; 提取所述视频数据上的人体特征信息;extracting human body feature information on the video data; 依据所述人体特征信息提取对应的人体头部区域信息;extracting corresponding human head region information according to the human body feature information; 将所述人体头部区域信息输入厨师帽检测模型;Input the information of the human head region into the chef hat detection model; 基于终端设备接收所述厨师帽检测模型输出的检测结果;Receive the detection result output by the chef hat detection model based on the terminal device; 若检测到后厨人员未佩戴厨师帽,则向管理人员发送对应后厨人员未佩戴厨师帽的图像数据;If it is detected that the back kitchen staff does not wear the chef hat, send the image data corresponding to the back kitchen staff not wearing the chef hat to the management personnel; 若检测到后厨人员均佩戴厨师帽,则不向管理人员发送图像数据。If it is detected that the kitchen staff are wearing chef hats, the image data will not be sent to the management staff. 2.如权利要求1所述的厨师帽佩戴检测方法,其特征在于,获取摄像装置拍摄的视频数据包括:2. The method for detecting the wearing of a chef's hat as claimed in claim 1, wherein acquiring the video data shot by the camera device comprises: 安装所述摄像装置至后厨的相应角落;Install the camera device to the corresponding corner of the kitchen; 对所述摄像装置进行摄像调试;Perform camera debugging on the camera device; 待调试完成后,开启所述摄像装置,获取拍摄的视频数据。After the debugging is completed, the camera device is turned on to obtain the captured video data. 3.如权利要求2所述的厨师帽佩戴检测方法,其特征在于,3. chef's hat wearing detection method as claimed in claim 2, is characterized in that, 所述视频数据为影像视频或者照片。The video data is an image video or a photo. 4.如权利要求1所述的厨师帽佩戴检测方法,其特征在于,提取所述视频数据上的人体特征信息包括:4. The method for detecting chef hat wearing as claimed in claim 1, wherein extracting the human body feature information on the video data comprises: 依据人工智能算法对视频数据进行解码,得到解码数据;Decode the video data according to the artificial intelligence algorithm to obtain the decoded data; 按照相应帧率对所述解码数据进行特征分析,得到所述人体特征信息。Feature analysis is performed on the decoded data according to the corresponding frame rate to obtain the human body feature information. 5.如权利要求1所述的厨师帽佩戴检测方法,其特征在于,5. chef's hat wearing detection method as claimed in claim 1, is characterized in that, 所述人体特征信息包括人员身份识别信息、人员岗位识别信息和人员性别识别信息。The human body feature information includes personnel identification information, personnel position identification information and personnel gender identification information. 6.如权利要求1所述的厨师帽佩戴检测方法,其特征在于,6. chef's hat wearing detection method as claimed in claim 1, is characterized in that, 所述人体头部区域信息为相应后厨人员的头部区域图像。The human head area information is the head area image of the corresponding kitchen staff. 7.如权利要求1所述的厨师帽佩戴检测方法,其特征在于,在将所述人体头部区域信息输入厨师帽检测模型的步骤前,还包括:7. The method for detecting chef's hat wearing as claimed in claim 1, wherein before the step of inputting the information of the human head region into the chef's hat detection model, the method further comprises: 依据原始的佩戴厨师帽场景数据集进行训练,得到所述厨师帽检测模型。The chef hat detection model is obtained by training according to the original data set of wearing a chef hat scene. 8.如权利要求1所述的厨师帽佩戴检测方法,其特征在于,在基于终端设备接收所述厨师帽检测模型输出的检测结果中,若检测到后厨人员未佩戴厨师帽后,自行进行结果验证,具体为:8. The method for detecting chef's hat wearing as claimed in claim 1, wherein, in receiving the detection result output by the chef's hat detection model based on the terminal device, if it is detected that the kitchen staff does not wear the chef's hat, it is carried out by itself. The results are verified, specifically: 则在第一预设时间内接收厨师帽传输的厨师帽与地面间的第一个障碍物之间的实时距离信号;then receive the real-time distance signal between the chef's hat and the first obstacle between the ground and the chef's hat transmitted by the chef's hat within the first preset time; 根据实时距离信号及工人身高计算二者差值的绝对值;Calculate the absolute value of the difference between the two according to the real-time distance signal and the height of the worker; 判断第二预设时间内的绝对值是否有变化,且判断绝对值在预设阈值范围内,若第二预设时间内的绝对值发生变化,且在预设阈值范围内,则验证检测结果错误,若一段时间内的绝对值未发生变化或不在预设阈值范围内,则验证出检测结果正确,向所述终端设备发生检测结果。Determine whether the absolute value within the second preset time has changed, and determine that the absolute value is within the preset threshold range. If the absolute value within the second preset time changes and is within the preset threshold range, verify the detection result Error, if the absolute value within a period of time does not change or is not within the preset threshold range, it is verified that the detection result is correct, and the detection result is sent to the terminal device.
CN202110555898.9A 2021-05-21 2021-05-21 Chef cap wearing detection method Pending CN113392715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110555898.9A CN113392715A (en) 2021-05-21 2021-05-21 Chef cap wearing detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110555898.9A CN113392715A (en) 2021-05-21 2021-05-21 Chef cap wearing detection method

Publications (1)

Publication Number Publication Date
CN113392715A true CN113392715A (en) 2021-09-14

Family

ID=77618816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110555898.9A Pending CN113392715A (en) 2021-05-21 2021-05-21 Chef cap wearing detection method

Country Status (1)

Country Link
CN (1) CN113392715A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114227720A (en) * 2022-01-10 2022-03-25 中山市火炬科学技术学校 Kitchen epidemic prevention visual recognition cruise monitoring robot
CN114821476A (en) * 2022-05-05 2022-07-29 北京容联易通信息技术有限公司 Bright kitchen range intelligent monitoring method and system based on deep learning detection

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112487963A (en) * 2020-11-27 2021-03-12 新疆爱华盈通信息技术有限公司 Wearing detection method and system for safety helmet

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112487963A (en) * 2020-11-27 2021-03-12 新疆爱华盈通信息技术有限公司 Wearing detection method and system for safety helmet

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114227720A (en) * 2022-01-10 2022-03-25 中山市火炬科学技术学校 Kitchen epidemic prevention visual recognition cruise monitoring robot
CN114821476A (en) * 2022-05-05 2022-07-29 北京容联易通信息技术有限公司 Bright kitchen range intelligent monitoring method and system based on deep learning detection
CN114821476B (en) * 2022-05-05 2022-11-22 北京容联易通信息技术有限公司 Intelligent open kitchen bright stove monitoring method and system based on deep learning detection

Similar Documents

Publication Publication Date Title
CN105518711B (en) Biopsy method, In vivo detection system and computer program product
CN106897658B (en) Method and device for identifying living body of human face
CN108470169A (en) Face identification system and method
WO2020125319A1 (en) Glaucoma image recognition method and device and screening system
WO2016169282A1 (en) Security inspection image discrimination system and image discrimination method comprising video analysis
CN104036236B (en) A kind of face gender identification method based on multiparameter exponential weighting
CN109446981A (en) A kind of face's In vivo detection, identity identifying method and device
JP2014530730A (en) System and method for identifying eye symptoms
CN106022209A (en) Distance estimation and processing method based on face detection and device based on face detection
CN110390229B (en) Face picture screening method and device, electronic equipment and storage medium
CN113392715A (en) Chef cap wearing detection method
CN103714648A (en) Monitoring and early warning method and device
CN106859595B (en) Tongue picture acquisition method, device and system
WO2016203698A1 (en) Face detection device, face detection system, and face detection method
CN107958572B (en) Baby monitoring system
CN102914286B (en) Method for automatically detecting user sitting posture based on handheld equipment
EP3776583A1 (en) Guidance method and system for teledentistry imaging
CN208351494U (en) Face identification system
CN114894337B (en) Temperature measurement method and device for outdoor face recognition
WO2019061659A1 (en) Method and device for removing eyeglasses from facial image, and storage medium
KR20080018642A (en) Remote emergency monitoring system and method
JP6969878B2 (en) Discriminator learning device and discriminator learning method
CN109636956A (en) A kind of access control system control method, device and electronic equipment
CN111144169A (en) Face recognition method and device and electronic equipment
CN109242868B (en) Image processing method, device, electronic device and 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