WO2023279785A1 - Method and apparatus for detecting whether staff member is compatible with post, computer device, and storage medium - Google Patents
Method and apparatus for detecting whether staff member is compatible with post, computer device, and storage medium Download PDFInfo
- Publication number
- WO2023279785A1 WO2023279785A1 PCT/CN2022/083921 CN2022083921W WO2023279785A1 WO 2023279785 A1 WO2023279785 A1 WO 2023279785A1 CN 2022083921 W CN2022083921 W CN 2022083921W WO 2023279785 A1 WO2023279785 A1 WO 2023279785A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- action
- production
- matching
- post
- target
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 230000009471 action Effects 0.000 claims abstract description 544
- 238000004519 manufacturing process Methods 0.000 claims description 237
- 238000001514 detection method Methods 0.000 claims description 42
- 238000004590 computer program Methods 0.000 claims description 20
- 230000004044 response Effects 0.000 claims description 10
- 101000637771 Homo sapiens Solute carrier family 35 member G1 Proteins 0.000 claims description 4
- 102000053339 human SLC35G1 Human genes 0.000 claims description 4
- 239000002994 raw material Substances 0.000 description 13
- 238000012545 processing Methods 0.000 description 12
- 238000012216 screening Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000004140 cleaning Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 235000013305 food Nutrition 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 238000009776 industrial production Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 235000013599 spices Nutrition 0.000 description 1
- 235000013311 vegetables Nutrition 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Definitions
- Embodiments of the present disclosure at least provide a person-post matching detection method, device, computer equipment, and storage medium.
- the identities of the staff in each target position can be known, so as to know whether the staff and positions match, so as to achieve the purpose of personnel-post matching detection .
- the position information includes personnel identity information corresponding to the target position in the target time period; based on the association relationship and the position information corresponding to the target position, the determination of the Whether the staff and the target post match, including: when the post information includes the personal identity information, in response to the face recognition result matching the personal identity information, obtain the staff and the target Job matching.
- the matching of the recognition action sequence and the reference action sequence to obtain the production normative matching result includes: dividing the recognition action sequence into multiple actions Subsequence: matching the reference action sequence with each action subsequence; obtaining the production normative matching result based on the matching results of the reference action sequence and each action subsequence.
- the matching of the action recognition result with the reference action sequence includes: matching of work efficiency; the determination module is further configured to: determine the staff member based on the action recognition result The total duration and/or interval duration of performing production actions; based on the total duration and/or interval duration of the execution of production actions by the staff, as well as the reference action duration, determine the work efficiency of the staff; based on the work of the staff The efficiency and the preset work efficiency determine the matching result of the work efficiency.
- an optional implementation manner of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the above-mentioned first aspect, or any one of the first aspects in the first aspect, may be executed. Steps in one possible implementation.
- FIG. 4 shows a schematic diagram of a time axis corresponding to a production cycle provided by an embodiment of the present disclosure
- a pre-trained deep neural network may be used to identify workers in video frame images.
- Video frame image when the motion recognition is performed on the video to be processed, the motion recognition of the staff member can also be performed for the video frame image locked in the video to be processed and corresponding to the staff member corresponding to the target position. In this way, the obtained face recognition results and action recognition results are more targeted, and the accuracy is also higher when using the face recognition results and action recognition results to determine whether the staff matches the target post.
- the obtained sketch is used as the action recognition result; or, the basic action shown in (b) in Figure 2 can also be used to match multiple reference actions to obtain the action recognition result.
- the obtained action recognition result can be specific to specific Action classification results, such as "walking action", "pickup action”, etc.
- FIG. 3 which is a schematic diagram of multiple reference actions provided by an embodiment of the present disclosure, the reference actions shown in FIG. 3 are shown in the form of simplified diagrams and corresponding to action identifiers.
- the action recognition result "walking action” can be obtained.
- the position information includes a reference action sequence corresponding to the target position.
- the action recognition result is matched with the reference action sequence, including at least one of the following: matching of working hours, matching of production norms, and matching of production efficiency.
- FIG. 4 is a schematic diagram of a production cycle corresponding to a time axis provided by an embodiment of the present disclosure.
- different production periods are marked on the time axis, for example, the illustrated production period T1 and the production period T2 (the time axis also includes unillustrated parts, such as the production period T3, etc.).
- the start time and end time corresponding to the production actions corresponding to the three reference actions p1-p3 are also marked on the time axis.
- the time axis is the corresponding time axis when the workers actually perform production actions.
- the sub-actions performed by him include the production sub-actions respectively corresponding to the reference actions p1-p3 under the normal workflow.
- the time required to complete the production sub-action can be reasonably determined based on pre-test or empirical judgment. For example, referring to the production sub-action corresponding to the reference action p1, it can be determined that the time required to normally complete the production sub-action is 20 minutes, that is, the reference action duration of the reference action p1 is 20 minutes.
- the recognition action sequence includes, for example, walking action, standing action, and picking action, which are the specific sequence of the worker S1 during actual operation, for example, first perform the walking action, then perform the standing action, and finally perform the picking action;
- the corresponding sub-actions may include specific actions of walking action, standing action, and picking action.
- FIG. 5 it is a schematic diagram of a person-post matching detection device provided by an embodiment of the present disclosure.
- the device includes: an acquisition module 51, an identification module 52, an association module 53, and a determination module 54; wherein,
- the action duration of the worker performing the production action includes at least one of the following: the total duration of the worker performing the production action; the interval time between the worker performing adjacent production actions ; The sub-duration of the worker executing the production sub-action; the interval between the worker's execution of adjacent production sub-actions.
- the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- the video to be processed in the target time period is obtained by shooting the staff at the target position; the video to be processed is identified by using the image recognition technology in the field of image processing technology, and the identification result of the staff is obtained , such as face recognition results and action recognition results; according to the characteristics of the recognition results and the position information corresponding to the target position, determine whether the staff matches the target position, so as to achieve the purpose of person-position matching detection.
- the solution of the present application can avoid the detection of person-post matching from relying on manual management, and improve the accuracy and detection efficiency of person-post matching detection.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Mathematical Physics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Factory Administration (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
相关技术的交叉引用Cross References to Related Art
本公开要求于2021年7月6日提交的申请号为202110763737.9的中国专利申请的优先权,该中国专利申请公开的全部内容以引用的方式并入本文中。This disclosure claims the priority of Chinese patent application No. 202110763737.9 filed on July 6, 2021, the entire content of which is incorporated herein by reference.
本公开涉及图像处理技术领域,尤其涉及一种人岗匹配检测方法、装置、计算机设备及存储介质。The present disclosure relates to the technical field of image processing, and in particular to a human-post matching detection method, device, computer equipment, and storage medium.
在工业生产过程中,考察人员是否与岗位匹配主要是通过人为管理的方式,这种方式不仅耗费人力物力,且得到的人岗是否匹配的数据过于依赖管理人员的主观意识。In the process of industrial production, it is mainly through human management to check whether the personnel match the post. This method not only consumes manpower and material resources, but also depends too much on the subjective consciousness of the managers to obtain the data on whether the personnel match the post.
发明内容Contents of the invention
本公开实施例至少提供一种人岗匹配检测方法、装置、计算机设备及存储介质。Embodiments of the present disclosure at least provide a person-post matching detection method, device, computer equipment, and storage medium.
第一方面,本公开实施例提供了一种人岗匹配检测方法,包括:获取对目标岗位的工作人员进行拍摄得到的目标时段的待处理视频;对所述待处理视频进行人脸识别和动作识别,得到所述工作人员的人脸识别结果以及动作识别结果;关联所述人脸识别结果与所述动作识别结果,得到关联关系;基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配。In the first aspect, an embodiment of the present disclosure provides a method for detecting person-post matching, including: acquiring a video to be processed at a target time period obtained by shooting a staff member at a target position; performing face recognition and action on the video to be processed Recognizing, obtaining the face recognition result and action recognition result of the staff member; associating the face recognition result with the action recognition result to obtain an association relationship; based on the association relationship and the position information corresponding to the target position, A determination is made as to whether the worker is a match for the target position.
这样,通过检测目标岗位的工作人员与目标岗位之间是否匹配,可以获知处于各目标岗位的工作人员的身份,从而得知各工作人员与岗位之间是否匹配,以实现人岗匹配检测的目的。In this way, by detecting whether the staff in the target positions match the target positions, the identities of the staff in each target position can be known, so as to know whether the staff and positions match, so as to achieve the purpose of personnel-post matching detection .
一种可选的实施方式中,所述岗位信息包括在所述目标时段与所述目标岗位对应的人员身份信息;所述基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配,包括:在所述岗位信息包括所述人员身份信息时,响应于所述人脸识别结果与所述人员身份信息匹配,得到所述工作人员与所述目标岗位匹配。In an optional implementation manner, the position information includes personnel identity information corresponding to the target position in the target time period; based on the association relationship and the position information corresponding to the target position, the determination of the Whether the staff and the target post match, including: when the post information includes the personal identity information, in response to the face recognition result matching the personal identity information, obtain the staff and the target Job matching.
这样,由于利用人脸识别结果进行匹配的方式较为简单,因此基于人员身份信息,可以较为容易且快速的确定工作人员与目标岗位是否匹配。In this way, since the method of using the face recognition result for matching is relatively simple, based on the personnel identity information, it is relatively easy and fast to determine whether the staff matches the target position.
一种可选的实施方式中,所述岗位信息包括与所述目标岗位对应的参考动作序列;所述基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配,包括:在所述岗位信息包括所述参考动作序列时,响应于所述动作识别结果与所述参考动作序列匹配,得到所述工作人员与所述目标岗位匹配。In an optional implementation manner, the post information includes a reference action sequence corresponding to the target post; based on the association relationship and the post information corresponding to the target post, it is determined that the staff member is related to the target post. Whether the target position matches includes: when the position information includes the reference action sequence, in response to the match between the action recognition result and the reference action sequence, it is obtained that the staff member matches the target position.
这样,基于参考动作序列,可以更准确的确定工作人员是否按照工作要求相应的完成生产动作,在可以准确的确定工作人员与所述目标岗位是否匹配的同时,可以进一步保证工作人员在生产中的安全性。In this way, based on the reference action sequence, it can be more accurately determined whether the staff completes the production action according to the work requirements, and while it can be accurately determined whether the staff matches the target position, it can further ensure that the staff is in production. safety.
一种可选的实施方式中,所述动作识别结果与所述参考动作序列匹配,包括下述至少一种:工作时长的匹配、生产规范性的匹配、生产效率的匹配。In an optional implementation manner, the matching of the action recognition result with the reference action sequence includes at least one of the following: matching of working hours, matching of production norms, and matching of production efficiency.
这样,采用不同维度下的匹配方式,可以在不同方面保证产品高质量、且高效率的生产出。In this way, using matching methods in different dimensions can ensure high-quality and high-efficiency production of products in different aspects.
一种可选的实施方式中,所述动作识别结果与所述参考动作序列匹配,包括:工作时长的匹配;所述方法还包括:基于所述动作识别结果,确定所述工作人员执行生产动作的动作时长;基于所述动作时长、以及与所述参考动作序列对应的参考动作时长,确定工作时长的匹配结果。In an optional implementation manner, the matching of the action recognition result with the reference action sequence includes: matching of working hours; the method further includes: based on the action recognition result, determining that the worker performs a production action The action duration; based on the action duration and the reference action duration corresponding to the reference action sequence, determine the matching result of the working duration.
这样,通过工作时长的匹配,可以保证产品以较快的速度生产出。In this way, through the matching of working hours, products can be produced at a faster speed.
一种可选的实施方式中,所述工作人员执行生产动作的动作时长,包括下述至少一种:所述工作人员执行生产动作的总时长;所述工作人员执行相邻生产动作的间隔时长;所述工作人员执行生产子动作的子时长;所述工作人员执行相邻生产子动作的间隔时长。In an optional implementation manner, the action duration of the worker performing the production action includes at least one of the following: the total duration of the worker performing the production action; the interval time between the worker performing adjacent production actions ; The sub-duration of the worker executing the production sub-action; the interval between the worker's execution of adjacent production sub-actions.
这样,通过对不同的时长的控制,可以保证工作人员在执行相关生产动作时,能够高效有序的进行。In this way, through the control of different time lengths, it can be ensured that the staff can carry out the relevant production actions efficiently and orderly.
一种可选的实施方式中,所述动作识别结果包括:识别动作序列;所述识别动作序列包括:多个子动作;所述动作识别结果与所述参考动作序列匹配,包括:生产规范性的匹配;所述方法还包括:将所述识别动作序列和所述参考动作序列进行匹配,得到所述生产规范性的匹配结果。In an optional implementation manner, the action recognition result includes: a recognition action sequence; the recognition action sequence includes: multiple sub-actions; the action recognition result matches the reference action sequence, including: producing normative Matching; the method further includes: matching the recognition action sequence with the reference action sequence to obtain the production normative matching result.
这样,通过动作序列的匹配,可以进一步保证在生产时按照一定的顺序要求进行,在保证产品质量的同时,还可以保障工作人员的安全。In this way, through the matching of action sequences, it can further ensure that the production is carried out in accordance with a certain order, and while ensuring the quality of the product, the safety of the staff can also be guaranteed.
一种可选的实施方式中,所述将所述识别动作序列和所述参考动作序列进行匹配,得到所述生产规范性的匹配结果,包括:将所述识别动作序列切分为多个动作子序列;将所述参考动作序列分别与各个动作子序列进行匹配;基于所述参考动作序列与各个动作子序列的匹配结果,得到所述生产规范性的匹配结果。In an optional implementation manner, the matching of the recognition action sequence and the reference action sequence to obtain the production normative matching result includes: dividing the recognition action sequence into multiple actions Subsequence: matching the reference action sequence with each action subsequence; obtaining the production normative matching result based on the matching results of the reference action sequence and each action subsequence.
一种可选的实施方式中,所述将所述识别动作序列切分为多个动作子序列,包括:从所述识别动作序列中,确定与所述参考动作序列中的目标参考动作匹配的目标子动作;基于所述目标子动作在所述识别动作序列中的位置、以及所述目标参考动作在所述参考动作序列中的位置,将所述识别动作序列切分为至少一个动作子序列。In an optional implementation manner, the dividing the recognition action sequence into multiple action subsequences includes: from the recognition action sequence, determining A target sub-action; dividing the recognition action sequence into at least one action sub-sequence based on the position of the target sub-action in the recognition action sequence and the position of the target reference action in the reference action sequence .
这样,通过利用目标子动作以及目标参考动作对不同的动作序列切分的方式,可以更准确的得到生产规范性的匹配结果。In this way, by using the target sub-action and the target reference action to segment different action sequences, it is possible to obtain a production-standard matching result more accurately.
一种可选的实施方式中,所述生产规范性的匹配结果包括下述至少一种:生产动作内容正确、生产动作内容错误、缺失生产动作、多余生产动作、以及生产动作中各动作顺序错误。In an optional implementation manner, the production normative matching results include at least one of the following: correct content of production actions, wrong content of production actions, missing production actions, redundant production actions, and wrong order of actions in production actions .
一种可选的实施方式中,所述动作识别结果与所述参考动作序列匹配,包括:工作效率的匹配;所述方法还包括:基于所述动作识别结果,确定所述工作人员执行生产动作的总时长和/或间隔时长;基于所述工作人员执行生产动作的总时长和/或间隔时长,以及参考动作时长,确定所述工作人员的工作效率;基于所述工作人员的工作效率与预设工作效率,确定所述工作效率的匹配结果。In an optional implementation manner, the matching of the action recognition result with the reference action sequence includes: matching work efficiency; the method further includes: determining that the worker performs a production action based on the action recognition result The total duration and/or interval duration; based on the total duration and/or interval duration of the staff performing production actions, and the reference action duration, determine the work efficiency of the staff; based on the work efficiency of the staff and the expected Work efficiency is assumed, and a matching result of the work efficiency is determined.
这样,还可以保证生产的效率。In this way, the efficiency of production can also be guaranteed.
一种可选的实施方式中,所述人岗匹配检测方法还包括:基于所述人脸识别结果,确定所述工作人员的上岗时间和离岗时间中的至少一项;基于得到的所述上岗时间和/或所述离岗时间,确定所述工作人员的出勤信息。In an optional implementation manner, the person-post matching detection method further includes: based on the face recognition result, determining at least one of the on-duty time and the off-duty time of the staff member; The on-duty time and/or the off-duty time are used to determine the attendance information of the staff member.
第二方面,本公开实施例还提供一种人岗匹配检测装置,包括:获取模块,被配置为获取对目标岗位的工作人员进行拍摄得到的目标时段的待处理视频;识别模块,被配置为对所述待处理视频进行人脸识别和动作识别,得到所述工作人员的人脸识别结果以 及动作识别结果;关联模块,被配置为关联所述人脸识别结果与所述动作识别结果,得到关联关系;确定模块,被配置为基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配。In the second aspect, the embodiment of the present disclosure also provides a person-post matching detection device, including: an acquisition module configured to acquire a video to be processed at a target time period obtained by shooting a staff member in a target position; an identification module configured to Perform face recognition and action recognition on the video to be processed to obtain the face recognition result and action recognition result of the staff; the association module is configured to associate the face recognition result and the action recognition result to obtain An association relationship; a determination module configured to determine whether the staff member matches the target position based on the association relationship and the position information corresponding to the target position.
一种可选的实施方式中,所述岗位信息包括在所述目标时段与所述目标岗位对应的人员身份信息;所述确定模块在基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配时,被配置为:在所述岗位信息包括所述人员身份信息时,响应于所述人脸识别结果与所述人员身份信息匹配,得到所述工作人员与所述目标岗位匹配。In an optional implementation manner, the position information includes personnel identity information corresponding to the target position in the target time period; the determining module is based on the association relationship and the position information corresponding to the target position, When determining whether the staff member matches the target post, it is configured to: when the post information includes the personal identity information, in response to the face recognition result matching the personal identity information, obtain the Workers are matched to the stated target positions.
一种可选的实施方式中,所述岗位信息包括与所述目标岗位对应的参考动作序列;所述确定模块在基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配时,被配置为:在所述岗位信息包括所述参考动作序列时,响应于所述动作识别结果与所述参考动作序列匹配,得到所述工作人员与所述目标岗位匹配。In an optional implementation manner, the post information includes a reference action sequence corresponding to the target post; the determining module determines the staff member based on the association relationship and the post information corresponding to the target post. When matching with the target position, it is configured to: when the position information includes the reference action sequence, in response to the action recognition result matching the reference action sequence, obtain the staff and the target Job matching.
一种可选的实施方式中,所述动作识别结果与所述参考动作序列匹配,包括下述至少一种:工作时长的匹配、生产规范性的匹配、生产效率的匹配。In an optional implementation manner, the matching of the action recognition result with the reference action sequence includes at least one of the following: matching of working hours, matching of production norms, and matching of production efficiency.
一种可选的实施方式中,所述动作识别结果与所述参考动作序列匹配,包括:工作时长的匹配;所述确定模块还被配置为:基于所述动作识别结果,确定所述工作人员执行生产动作的动作时长;基于所述动作时长、以及与所述参考动作序列对应的参考动作时长,确定工作时长的匹配结果。In an optional implementation manner, the matching of the action recognition result with the reference action sequence includes: matching of working hours; the determination module is further configured to: determine the staff member based on the action recognition result The action duration for executing the production action; based on the action duration and the reference action duration corresponding to the reference action sequence, determine the matching result of the working duration.
一种可选的实施方式中,所述工作人员执行生产动作的动作时长,包括下述至少一种:所述工作人员执行生产动作的总时长;所述工作人员执行相邻生产动作的间隔时长;所述工作人员执行生产子动作的子时长;所述工作人员执行相邻生产子动作的间隔时长。In an optional implementation manner, the action duration of the worker performing the production action includes at least one of the following: the total duration of the worker performing the production action; the interval time between the worker performing adjacent production actions ; The sub-duration of the worker executing the production sub-action; the interval between the worker's execution of adjacent production sub-actions.
一种可选的实施方式中,所述动作识别结果包括:识别动作序列;所述识别动作序列包括:多个子动作;所述动作识别结果与所述参考动作序列匹配,包括:生产规范性的匹配;所述确定模块还被配置为:将所述识别动作序列和所述参考动作序列进行匹配,得到所述生产规范性的匹配结果。In an optional implementation manner, the action recognition result includes: a recognition action sequence; the recognition action sequence includes: multiple sub-actions; the action recognition result matches the reference action sequence, including: producing normative Matching: the determining module is further configured to: match the recognition action sequence with the reference action sequence to obtain the production-standard matching result.
一种可选的实施方式中,所述确定模块在将所述识别动作序列和所述参考动作序列进行匹配,得到所述生产规范性的匹配结果时,被配置为:将所述识别动作序列切分为多个动作子序列;将所述参考动作序列分别与各个动作子序列进行匹配;基于所述参考动作序列与各个动作子序列的匹配结果,得到所述生产规范性的匹配结果。In an optional implementation manner, when the determination module matches the recognition action sequence with the reference action sequence to obtain the production normative matching result, it is configured to: match the recognition action sequence Segmenting into multiple action subsequences; matching the reference action sequence with each action subsequence; obtaining the production normative matching result based on the matching results of the reference action sequence and each action subsequence.
一种可选的实施方式中,所述确定模块在将所述识别动作序列切分为多个动作子序列时,被配置为:从所述识别动作序列中,确定与所述参考动作序列中的目标参考动作匹配的目标子动作;基于所述目标子动作在所述识别动作序列中的位置、以及所述目标参考动作在所述参考动作序列中的位置,将所述识别动作序列切分为至少一个动作子序列。In an optional implementation manner, when the determining module divides the recognition action sequence into a plurality of action subsequences, it is configured to: from the recognition action sequence, determine The target sub-action matched by the target reference action; based on the position of the target sub-action in the recognition action sequence and the position of the target reference action in the reference action sequence, segment the recognition action sequence is at least one action subsequence.
一种可选的实施方式中,所述生产规范性的匹配结果包括下述至少一种:生产动作内容正确、生产动作内容错误、缺失生产动作、多余生产动作、以及生产动作中各动作顺序错误。In an optional implementation manner, the production normative matching results include at least one of the following: correct content of production actions, wrong content of production actions, missing production actions, redundant production actions, and wrong order of actions in production actions .
一种可选的实施方式中,所述动作识别结果与所述参考动作序列匹配,包括:工作效率的匹配;所述确定模块还被配置为:基于所述动作识别结果,确定所述工作人员执行生产动作的总时长和/或间隔时长;基于所述工作人员执行生产动作的总时长和/或间隔时长,以及参考动作时长,确定所述工作人员的工作效率;基于所述工作人员的工作 效率与预设工作效率,确定所述工作效率的匹配结果。In an optional implementation manner, the matching of the action recognition result with the reference action sequence includes: matching of work efficiency; the determination module is further configured to: determine the staff member based on the action recognition result The total duration and/or interval duration of performing production actions; based on the total duration and/or interval duration of the execution of production actions by the staff, as well as the reference action duration, determine the work efficiency of the staff; based on the work of the staff The efficiency and the preset work efficiency determine the matching result of the work efficiency.
一种可选的实施方式中,所述确定模块还被配置为:基于所述人脸识别结果,确定所述工作人员的上岗时间和离岗时间中的至少一项;基于得到的所述上岗时间和/或所述离岗时间,确定所述工作人员的出勤信息。In an optional implementation manner, the determination module is further configured to: determine at least one of the on-duty time and off-duty time of the staff member based on the face recognition result; time and/or the off-duty time, and determine the attendance information of the staff member.
第三方面,本公开可选实现方式还提供一种计算机设备,处理器、存储器,所述存储器存储有所述处理器可执行的机器可读指令,所述处理器用于执行所述存储器中存储的机器可读指令,所述机器可读指令被所述处理器执行时,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a third aspect, an optional implementation manner of the present disclosure further provides a computer device, a processor, and a memory, the memory stores machine-readable instructions executable by the processor, and the processor is used to execute the instructions stored in the memory. machine-readable instructions, when the machine-readable instructions are executed by the processor, when the machine-readable instructions are executed by the processor, the above-mentioned first aspect is executed, or any possible implementation of the first aspect steps in the method.
第四方面,本公开可选实现方式还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被运行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a fourth aspect, an optional implementation manner of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the above-mentioned first aspect, or any one of the first aspects in the first aspect, may be executed. Steps in one possible implementation.
第五方面,本公开可选实现方式还提供一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,该计算机程序被计算机读取并执行时,上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In the fifth aspect, an optional implementation manner of the present disclosure further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, the above-mentioned first An aspect, or a step in any possible implementation of the first aspect.
关于上述人岗匹配检测装置、计算机设备、及计算机可读存储介质的效果描述参见上述人岗匹配检测方法的说明,这里不再赘述。For the effect description of the above-mentioned person-post matching detection device, computer equipment, and computer-readable storage medium, please refer to the description of the above-mentioned person-post matching detection method, which will not be repeated here.
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments will be described in detail below together with the accompanying drawings.
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the embodiments. The accompanying drawings here are incorporated into the specification and constitute a part of the specification. The drawings show the embodiments consistent with the present disclosure, and are used together with the description to explain the technical solution of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. For those skilled in the art, they can also make From these drawings other related drawings are obtained.
图1示出了本公开实施例所提供的一种人岗匹配检测方法的流程图;FIG. 1 shows a flow chart of a method for detecting person-post matching provided by an embodiment of the present disclosure;
图2示出了本公开实施例所提供的一种在对待处理视频进行动作识别时的示意图;Fig. 2 shows a schematic diagram of performing action recognition on a video to be processed provided by an embodiment of the present disclosure;
图3示出了本公开实施例所提供的多个参考动作的示意图;Fig. 3 shows a schematic diagram of multiple reference actions provided by an embodiment of the present disclosure;
图4示出了本公开实施例所提供的一种生产周期对应时间轴的示意图;FIG. 4 shows a schematic diagram of a time axis corresponding to a production cycle provided by an embodiment of the present disclosure;
图5示出了本公开实施例所提供的一种人岗匹配检测装置的示意图;Fig. 5 shows a schematic diagram of a person-post matching detection device provided by an embodiment of the present disclosure;
图6示出了本公开实施例所提供的一种计算机设备的示意图。Fig. 6 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施 例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only It is a part of the embodiments of the present disclosure, but not all of them. The components of the disclosed embodiments generally described and illustrated herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present disclosure.
经研究发现,在工业生产过程中存在大量人员岗位匹配度不够的问题,例如工作人员待岗、窜岗、离岗等,在这些情况下工作人员是无法正常按照工作要求在对应岗位下工作的,这样就容易导致生产出的产品质量无法得到保证。After research, it is found that there are a large number of problems in the industrial production process that the matching degree of personnel positions is not enough, such as staff waiting for posts, changing posts, leaving posts, etc. Under these circumstances, the staff cannot normally work in the corresponding positions according to the job requirements. This will easily lead to the production of product quality can not be guaranteed.
另外,若工作人员在所属岗位上的操作有误,也可能会对工作人员的自身安全造成威胁。In addition, if the staff makes mistakes in their positions, it may also pose a threat to the staff's own safety.
基于上述研究,本公开提供了一种人岗匹配检测方法,通过检测目标岗位的工作人员与目标岗位之间是否匹配,可以获知处于各目标岗位的工作人员的身份,从而得知各工作人员与岗位之间是否匹配,以实现人岗匹配检测的目的。Based on the above research, this disclosure provides a detection method for personnel-post matching. By detecting whether the staff in the target positions match with the target positions, the identities of the staff in each target position can be known, and thus the relationship between each staff and the target position can be known. Whether the positions are matched, in order to achieve the purpose of personnel-post matching detection.
另外,可以根据工作人员是否与目标岗位匹配,帮助工作人员按照正常的工作要求工作,提升工作人员在工作时的安全性。In addition, according to whether the staff matches the target position, it can help the staff to work according to the normal work requirements, and improve the safety of the staff at work.
现有技术所存在的缺陷,是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及本公开针对上述问题所提出的解决方案,都应该是发明人对本公开做出的贡献。The defects in the prior art are the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure for the above-mentioned problems should be the result of the inventor's contribution to the present disclosure. contribution.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
为便于对本实施例进行理解,首先对本公开实施例所公开的一种人岗匹配检测方法进行详细介绍,本公开实施例所提供的人岗匹配检测方法的执行主体一般为具有一定计算能力的计算机设备,该计算机设备例如包括:终端设备或服务器或其它处理设备,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等。在一些可能的实现方式中,该人岗匹配检测方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。In order to facilitate the understanding of this embodiment, a person-post matching detection method disclosed in the embodiments of the present disclosure is first introduced in detail. The person-post matching detection method provided in the embodiments of the present disclosure is generally executed by a computer with certain computing power equipment, the computer equipment includes, for example: terminal equipment or server or other processing equipment, the terminal equipment can be user equipment (User Equipment, UE), mobile equipment, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant) Assistant, PDA), handheld devices, computing devices, vehicle-mounted devices, wearable devices, etc. In some possible implementation manners, the method for detecting person-post matching may be implemented by a processor invoking computer-readable instructions stored in a memory.
下面对本公开实施例提供的人岗匹配检测方法加以说明。The method for detecting person-post matching provided by the embodiments of the present disclosure will be described below.
参见图1所示,为本公开实施例提供的一种人岗匹配检测方法的流程图,所述方法包括步骤S101~S104,其中:Referring to FIG. 1 , it is a flow chart of a method for detecting person-post matching provided by an embodiment of the present disclosure. The method includes steps S101 to S104, wherein:
S101:获取对目标岗位的工作人员进行拍摄得到的目标时段的待处理视频;S101: Obtain the video to be processed in the target time period obtained by shooting the staff at the target position;
S102:对所述待处理视频进行人脸识别和动作识别,得到所述工作人员的人脸识别结果以及动作识别结果;S102: Perform face recognition and action recognition on the video to be processed, and obtain a face recognition result and action recognition result of the staff member;
S103:关联所述人脸识别结果与所述动作识别结果,得到关联关系;S103: Associating the face recognition result with the action recognition result to obtain an association relationship;
S104:基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配。S104: Based on the association relationship and the position information corresponding to the target position, determine whether the worker matches the target position.
本公开实施例提供的人岗匹配检测方法,通过对目标岗位的工作人员在目标时段的待处理视频进行人脸识别和动作识别,确定工作人员的人脸识别结果以及动作识别结果,从而将利用对人脸识别结果与动作识别结果进行关联得到的关联关系与目标岗位对应的岗位信息进行匹配,以确定工作人员与所述目标岗位是否匹配。这样,通过检测目标岗位的工作人员与目标岗位之间是否匹配,可以获知处于各目标岗位的工作人员的身份,从而得知各工作人员与岗位之间是否匹配,以实现人岗匹配检测的目的。The person-post matching detection method provided by the embodiments of the present disclosure performs face recognition and action recognition on the to-be-processed video of the staff at the target position at the target time period, and determines the face recognition results and action recognition results of the staff, thereby using The association relationship obtained by associating the face recognition result with the action recognition result is matched with the position information corresponding to the target position, so as to determine whether the staff matches the target position. In this way, by detecting whether the staff in the target positions match the target positions, the identities of the staff in each target position can be known, so as to know whether the staff and positions match, so as to achieve the purpose of personnel-post matching detection .
该人岗匹配检测方法例如可以应用于流水线生产车间中,或是应用于并行作业的生产车间中。其中,以流水线生产车间为例,生产车间可以包括食品加工生产线、汽车装配生产线、纯净水灌装生产线等。以食品加工生产线为例,按照顺序,该生产线可以包 括下述生产步骤(process):原材料筛选、原材料清洗、混合加工、以及灌装。在不同的生产步骤可配备不同的工作人员(staff),例如在原材料筛选的生产步骤中,可以配备多个对不同原材料分别进行筛选的工作人员,例如对蔬菜进行筛选的工作人员、对水果进行筛选的工作人员、以及对香辛料进行筛选的工作人员。针对不同生产步骤配备的工作人员可以包括一个或者多个。The person-post matching detection method can be applied to, for example, an assembly line production workshop, or a production workshop with parallel operations. Among them, taking the assembly line production workshop as an example, the production workshop can include food processing production lines, automobile assembly production lines, pure water filling production lines, etc. Taking a food processing production line as an example, in order, the production line may include the following production steps (process): raw material screening, raw material cleaning, mixing processing, and filling. Different staffs can be equipped in different production steps. For example, in the production step of raw material screening, multiple staffs can be equipped to screen different raw materials, such as staff for screening vegetables, and staff for fruit screening. Screening staff, and staff screening spices. There may be one or more staff members for different production steps.
另外,不同的生产步骤还可以包括更细化的生产步骤。以混合加工步骤为例,其还可以细化为对不同原材料的切件处理、加热处理、对加热后得到的不同原材料进行混合处理。具体可以根据实际情况确定,在此不再赘述。In addition, different production steps may also include more detailed production steps. Taking the mixing processing step as an example, it can also be refined into cutting processing of different raw materials, heating treatment, and mixing processing of different raw materials obtained after heating. The details may be determined according to the actual situation, and details are not repeated here.
下面,为了简化说明,以生产步骤包括原材料筛选P1、原材料清洗P2、混合加工P3,针对其中原材料筛选P1的生产步骤配备一个工作人员S1为例进行说明。In the following, in order to simplify the description, the production steps include raw material screening P1, raw material cleaning P2, and mixing processing P3, and a worker S1 is assigned for the production step of raw material screening P1 as an example.
工作人员S1需要执行的生产步骤为原材料筛选P1,工作人员S1在正常工作时对应的岗位为原材料筛选P1对应的岗位,也即工作人员S1的目标岗位,例如可以以A1表示。其中,目标岗位A1包括具体的岗位信息,例如可以包括工作人员S1对应的岗位名称,例如筛选员;另外,目标岗位A1也可以包括工作人员S1的具体工作区域,例如传送带前的材料集中仓库。The production step that worker S1 needs to perform is raw material screening P1, and the corresponding position of worker S1 during normal work is the position corresponding to raw material screening P1, that is, the target position of worker S1, which can be represented by A1, for example. Wherein, the target post A1 includes specific post information, for example, it may include the post name corresponding to the worker S1, such as a screener; in addition, the target post A1 may also include the specific work area of the worker S1, such as the material centralized warehouse in front of the conveyor belt.
针对上述S101,在获取待处理视频时,可以先确定进行拍摄的目标时段。具体地,例如可以将预设的工作时间作为目标时段,例如工作日的早上9时至晚上6时。或者,也可以将工作人员容易发生错误操作的时段、生产效率较低的时段或是生产效率较高的时段等作为目标时段,例如工作日的下午2时至4时。Regarding the above S101, when acquiring the video to be processed, the target time period for shooting may be determined first. Specifically, for example, preset working hours may be used as the target time period, such as 9:00 am to 6:00 pm on weekdays. Alternatively, it is also possible to use the time period when the staff is prone to erroneous operations, the time period with low production efficiency, or the time period with high production efficiency, etc., as the target time period, such as 2:00 pm to 4:00 pm on weekdays.
在确定目标时段后,即可以对目标岗位的工作人员进行拍摄。在一种可能的情况下,可以直接在目标岗位所在的区域设置视频采集装置,并在目标时段内对该目标岗位所在的区域进行拍摄;在另一种可能的情况下,若工作人员的工作范围较大时,例如工作人员需要往返不同的区域,设置的视频采集装置还可以实时对目标岗位的工作人员进行定位追踪,以获取待处理视频。After the target time period is determined, the staff at the target post can be photographed. In one possible situation, a video capture device can be directly installed in the area where the target post is located, and the area where the target post is located can be photographed within the target period; in another possible situation, if the staff work When the scope is large, for example, the staff need to go to and from different areas, the video capture device can also locate and track the staff at the target position in real time to obtain the video to be processed.
针对上述S102,在获取待处理视频后,还可以利用该待处理视频对其中的工作人员进行人脸识别(Face Recognition,FR)和动作识别(Action Recognition,AR)。在具体实施中,例如可以采用深度学习的方式进行人脸识别以及动作识别。With respect to the above S102, after the video to be processed is obtained, the video to be processed can also be used to perform face recognition (Face Recognition, FR) and action recognition (Action Recognition, AR) on the staff. In a specific implementation, for example, face recognition and action recognition can be performed by means of deep learning.
示例性的,可以采用预先训练好的深度神经网络对视频帧图像中工作人员进行识别。其中,由于在视频帧图像中显示出的工作人员可能存在多个,因此在对视频帧图像进行人脸识别时,例如可以在待处理视频中确定包含与目标岗位对应的工作人员的人脸的视频帧图像。相应地,在对待处理视频进行动作识别时,也可以针对在待处理视频中锁定的与目标岗位对应的工作人员对应的视频帧图像,对该工作人员进行动作识别。这样,得到的人脸识别结果以及动作识别结果的针对性更强,在后续利用人脸识别结果以及动作识别结果确定工作人员与目标岗位是否匹配时,准确性也更高。Exemplarily, a pre-trained deep neural network may be used to identify workers in video frame images. Among them, since there may be multiple staff members displayed in the video frame image, when performing face recognition on the video frame image, for example, it can be determined in the video to be processed that the face of the staff member corresponding to the target position is included. Video frame image. Correspondingly, when the motion recognition is performed on the video to be processed, the motion recognition of the staff member can also be performed for the video frame image locked in the video to be processed and corresponding to the staff member corresponding to the target position. In this way, the obtained face recognition results and action recognition results are more targeted, and the accuracy is also higher when using the face recognition results and action recognition results to determine whether the staff matches the target post.
另外,在对待处理视频进行人脸识别后,得到的工作人员的人脸识别结果例如可以包括识别到的人脸子图像或匹配的工作人员的相关信息中至少一种。示例性的,在对工作人员S1对应的待处理视频进行人脸识别后,例如可以得到多帧包含工作人员S1人脸的子图像,也可以获得在该待处理视频中匹配到工作人员S1的人脸的识别结果,并可以调取工作人员S1的相关信息,例如岗位名称、工作时间等信息。In addition, after face recognition is performed on the video to be processed, the obtained face recognition result of the staff member may include at least one of the recognized face sub-image or the matched staff related information, for example. Exemplarily, after face recognition is performed on the video to be processed corresponding to the staff S1, for example, multiple frames of sub-images containing the face of the staff S1 can be obtained, and the sub-image matching the staff S1 in the video to be processed can also be obtained. The result of face recognition, and the relevant information of the staff member S1 can be retrieved, such as job title, working hours and other information.
在对待处理视频进行动作识别后,得到的工作人员的动作识别结果例如可以包括识别到的工作人员的动作信息或者与预设的多个参考动作的匹配结果。其中,在进行动作识别时,例如可以在待处理视频包含的视频帧图像中,对工作人员的四肢、躯干、头部等识别,以确定动作识别结果。示例性的,参见图2所示,为本公开实施例提供的一种 在对待处理视频进行动作识别时的示意图。其中,图2中(a)示出了工作人员S1对应的待处理视频中的一帧图像。在对图2中(a)中示出的视频帧图像进行动作识别后,例如可以得到图2中(b)的识别结果,也即标注出工作人员S1的基本肢体动作的简图,并将得到的简图作为动作识别结果;或者,也可以利用图2中(b)示出的基本动作与多个参考动作进行匹配,得到动作识别结果,此处,得到的动作识别结果可以具体到特定的动作分类结果,例如“行走动作”、“拾取动作”等。例如,参见图3所示,为本公开实施例提供的多个参考动作的示意图,图3中示出的参考动作以简图的形式示出,并对应有动作标识。利用图2中(b)得到的结果与图3示出的多个参考动作进行匹配,可以得到动作识别结果“行走动作”。After performing action recognition on the video to be processed, the obtained staff action recognition result may include, for example, the recognized staff action information or matching results with multiple preset reference actions. Wherein, when performing action recognition, for example, the staff's limbs, torso, head, etc. may be identified in the video frame images included in the video to be processed, so as to determine the action recognition result. For example, refer to FIG. 2 , which is a schematic diagram of action recognition for a video to be processed provided by an embodiment of the present disclosure. Among them, (a) in FIG. 2 shows a frame of image in the video to be processed corresponding to worker S1. After performing motion recognition on the video frame image shown in (a) in FIG. 2, for example, the recognition result in (b) in FIG. The obtained sketch is used as the action recognition result; or, the basic action shown in (b) in Figure 2 can also be used to match multiple reference actions to obtain the action recognition result. Here, the obtained action recognition result can be specific to specific Action classification results, such as "walking action", "pickup action", etc. For example, referring to FIG. 3 , which is a schematic diagram of multiple reference actions provided by an embodiment of the present disclosure, the reference actions shown in FIG. 3 are shown in the form of simplified diagrams and corresponding to action identifiers. Using the result obtained in (b) of Figure 2 to match the multiple reference actions shown in Figure 3, the action recognition result "walking action" can be obtained.
此处,仅示出部分示例,具体可以根据实际情况确定,在此并不做出限定。Here, only some examples are shown, and the details may be determined according to actual conditions, and no limitation is made here.
针对上述S103,在根据上述S102确定人脸识别结果与动作识别结果后,可以将其进行匹配,以得到不同工作人员分别对应的关联信息。With regard to the above S103, after the face recognition result and the action recognition result are determined according to the above S102, they can be matched to obtain associated information corresponding to different staff members.
具体地,针对工作人员S1,可以将人脸识别结果中包含工作人员S1的子图像、动作识别结果中确定的“行走动作”、工作人员S1的相关信息中的至少一个作为与工作人员S1对应的匹配信息,并进一步利用匹配信息与工作人员S1进行关联,得到该工作人员S1的关联信息。Specifically, for worker S1, at least one of the sub-image of worker S1 included in the face recognition result, the "walking motion" determined in the motion recognition result, and the relevant information of worker S1 can be regarded as corresponding to worker S1. matching information, and further use the matching information to associate with the worker S1 to obtain the related information of the worker S1.
针对上述S104,针对不同的工作人员,由于每个工作人员都具有特定的目标岗位,并且目标岗位对应的岗位信息固定,因此可以利用上述S103确定的关联关系与目标岗位对应的岗位信息,确定工作人员与目标岗位是否匹配。For the above S104, for different staff members, since each staff member has a specific target position, and the position information corresponding to the target position is fixed, it is possible to determine the job by using the association relationship determined in the above S103 and the position information corresponding to the target position. Whether the personnel match the target position.
下面,针对不同岗位信息,如何确定工作人员与目标岗位是否匹配的方式加以说明。其中,岗位信息包括但不限于下述(A)以及(B):In the following, how to determine whether the staff member matches the target position will be described for different position information. Among them, job information includes but not limited to the following (A) and (B):
(A):岗位信息包括在所述目标时段与所述目标岗位对应的人员身份信息。(A): The position information includes the identity information of the person corresponding to the target position in the target time period.
在该种情况下,在基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配时,例如可以采用下述方式:在所述岗位信息包括所述人员身份信息时,响应于所述人脸识别结果与所述人员身份信息匹配,得到所述工作人员与所述目标岗位匹配。In this case, when determining whether the staff matches the target position based on the association relationship and the position information corresponding to the target position, for example, the following method can be adopted: when the position information includes the When the personal identity information is mentioned, in response to the matching of the face recognition result with the personal identity information, it is obtained that the staff member matches the target position.
在岗位信息包括人员身份信息时,示例性的,人脸识别结果例如可以包括包含工作人员的人脸的子图像,对应的,在目标岗位上工作的工作人员对应的岗位信息例如可以具体包括:该工作人员的人脸图像信息、或人脸特征信息中至少一种。在该种情况下,可以利用包含工作人员的人脸的子图像,与岗位信息中的人脸图像信息或人脸特征信息中至少一种进行匹配,以确定是否是该目标岗位上指定的工作人员到岗工作,而非其他工作人员替岗、代岗工作。另外,岗位信息例如也可以包括目标岗位对应的职务信息等,利用人脸识别结果,可以确定该工作人员对应的职务,通过该工作人员对应的职务与目标岗位对应的职务信息进行匹配,也可以得到所述工作人员与所述目标岗位是否匹配的结果,具体可以根据实际情况选取,在此同样不做出限定。When the post information includes personnel identity information, for example, the face recognition result may include, for example, a sub-image containing the face of the staff, and correspondingly, the post information corresponding to the staff working at the target post may specifically include, for example: At least one of the staff's facial image information or facial feature information. In this case, the sub-image containing the face of the staff can be used to match at least one of the face image information or face feature information in the post information to determine whether it is the job specified on the target post Personnel come to work on the job, rather than other staff to replace the post or work on behalf of the post. In addition, the position information may also include, for example, the position information corresponding to the target position. Using the face recognition results, the position corresponding to the staff member can be determined, and the position corresponding to the staff member can be matched with the position information corresponding to the target position. The result of obtaining whether the staff matches the target post can be selected according to the actual situation, and no limitation is made here.
这样,利用人脸识别结果与人员身份信息进行匹配的方式,能够简单明确的确定工作人员与目标岗位是否匹配。In this way, by using the method of matching the face recognition result with the personnel identity information, it is possible to simply and clearly determine whether the staff matches the target position.
(B):岗位信息包括与所述目标岗位对应的参考动作序列。(B): The position information includes a reference action sequence corresponding to the target position.
在该种情况下,在基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配时,例如可以采用下述方式:在所述岗位信息包括所述参考动作序列时,响应于所述动作识别结果与所述参考动作序列匹配,得到所述工作人员与所述目标岗位匹配。In this case, when determining whether the staff matches the target position based on the association relationship and the position information corresponding to the target position, for example, the following method can be adopted: when the position information includes the When the reference action sequence is used, in response to the action recognition result matching the reference action sequence, it is obtained that the worker matches the target position.
在具体实施中,所述动作识别结果与所述参考动作序列匹配,包括下述至少一种:工作时长的匹配、生产规范性的匹配、生产效率的匹配。In a specific implementation, the action recognition result is matched with the reference action sequence, including at least one of the following: matching of working hours, matching of production norms, and matching of production efficiency.
下面,分别对不同的动作识别结果与所述参考动作序列匹配进行说明,包括下述(B1)~(B3):Next, the matching of different action recognition results with the reference action sequence will be described, including the following (B1)-(B3):
(B1):动作识别结果与所述参考动作序列匹配包括:工作时长的匹配。(B1): The matching of the action recognition result with the reference action sequence includes: matching of working hours.
在该种情况下,例如可以采用下述方式确定工作时长的匹配结果:基于所述动作识别结果,确定所述工作人员执行生产动作的动作时长;基于所述动作时长、以及与所述参考动作序列对应的参考动作时长,确定工作时长的匹配结果。In this case, for example, the following method can be used to determine the matching result of the working time: based on the action recognition result, determine the action time for the worker to perform the production action; based on the action time and the reference action The reference action duration corresponding to the sequence determines the matching result of the working duration.
其中,工作人员执行生产动作的动作时长,例如可以包括下述(b1)~(b4)中至少一种:Wherein, the action duration for the worker to perform the production action may include at least one of the following (b1)-(b4), for example:
(b1):所述工作人员执行生产动作的总时长;(b1): the total time spent by the worker performing production actions;
(b2):所述工作人员执行相邻生产动作的间隔时长;(b2): The length of time between the workers performing adjacent production actions;
(b3):所述工作人员执行生产子动作的子时长;(b3): the sub-duration of the worker performing the production sub-action;
(b4):所述工作人员执行相邻生产子动作的间隔时长。(b4): The time interval between the workers performing adjacent production sub-actions.
下面,为了便于对不同的动作时长进行描述,参见图4所示,为本公开实施例提供的一种生产周期对应时间轴的示意图。其中,该时间轴上标注了不同的生产周期,例如示出的生产周期T1以及生产周期T2(时间轴还包括未示出的部分,比如生产周期T3等)。另外,在时间轴上还标注了三个参考动作p1~p3分别对应的生产动作所对应的起始时间和结束时间。此处,时间轴为工作人员在实际执行生产动作时对应的时间轴。Next, for the convenience of describing different action durations, refer to FIG. 4 , which is a schematic diagram of a production cycle corresponding to a time axis provided by an embodiment of the present disclosure. Wherein, different production periods are marked on the time axis, for example, the illustrated production period T1 and the production period T2 (the time axis also includes unillustrated parts, such as the production period T3, etc.). In addition, the start time and end time corresponding to the production actions corresponding to the three reference actions p1-p3 are also marked on the time axis. Here, the time axis is the corresponding time axis when the workers actually perform production actions.
示例性的,工作人员S1例如可以在一天内完成三个生产周期(分别对应T1~T3)的生产动作,在第一个生产周期T1中,开始执行参考动作p1对应的生产动作时对应的时间为t1_1,结束执行参考动作p3对应的生产动作时对应的时间为t1_6;在第二个生产周期T2中,开始执行参考动作p1对应的生产动作时对应的时间为t2_1,结束执行参考动作p3对应的生产动作时对应的时间为t2_6;以此类推。Exemplarily, the worker S1 can complete the production actions of three production cycles (corresponding to T1-T3 respectively) in one day, and in the first production cycle T1, the corresponding time when the production action corresponding to the reference action p1 is started is t1_1, the corresponding time when the production action corresponding to the reference action p3 is finished is t1_6; in the second production cycle T2, the corresponding time when the production action corresponding to the reference action p1 is started is t2_1, and the execution of the reference action p3 is corresponding to The corresponding time of production action is t2_6; and so on.
针对上述(b1),在工作人员执行生产动作的动作时长包括工作人员执行生产动作的总时长时,例如可以根据参考动作序列对应的参考动作时长中的参考动作总时长确定工作时长的匹配结果。For the above (b1), when the action duration of the worker performing the production action includes the total duration of the worker performing the production action, for example, the matching result of the working duration can be determined according to the total duration of the reference action in the reference action duration corresponding to the reference action sequence.
示例性的,以工作人员S1为例,执行的生产步骤为原材料筛选P1。在该步骤中,例如包括三个参考动作p1~p3,分别对应拆封材料箱对应的行走动作、清点原材料对应的站立动作、筛选劣质品对应的拾取动作。通过预先测试,或者根据经验判断,例如可以合理的确定一个生产周期内执行该三个参考动作p1~p3对应的参考动作总时长。例如,针对三个参考动作p1~p3,可以相应的确定参考动作总时长为1小时;也即,可以确定工作人员S1能够在安全、且保证效率的情况下,在1小时内完成一个生产周期中三个参考动作p1~p3对应的生产子动作。Exemplarily, taking worker S1 as an example, the production step performed is raw material screening P1. In this step, for example, three reference actions p1-p3 are included, which respectively correspond to the walking action corresponding to unpacking material boxes, the standing action corresponding to counting raw materials, and the picking action corresponding to screening inferior products. Through pre-testing or judging based on experience, for example, the total duration of the reference actions corresponding to the three reference actions p1-p3 performed within a production cycle can be reasonably determined. For example, for the three reference actions p1-p3, it can be determined that the total duration of the reference actions is 1 hour; that is, it can be determined that the worker S1 can complete a production cycle within 1 hour under the condition of safety and ensuring efficiency The production sub-actions corresponding to the three reference actions p1~p3.
具体地,利用动作识别结果,可以相应的确定工作人员执行生产动作的总时长。以工作人员S1为例,工作人员S1执行生产动作的总时长例如可以包括在一个周期内完成全部的三个参考动作p1~p3对应的生产动作时需要花费的总时长。比如,可以是图4中在第一个生产周期T1中执行参考动作p1对应的生产子动作时的起始时间t1_1,到执行完毕参考动作p3对应的生产子动作时的结束时间t1_6之间的总时长;也可以是图4中在第二个生产周期T2中执行参考动作p1对应的生产子动作时的起始时间t2_1,到执行完毕参考动作p3对应的生产子动作时的结束时间t2_6之间的总时长。Specifically, by using the action recognition result, the total time for the worker to perform the production action can be determined accordingly. Taking worker S1 as an example, the total duration of production actions performed by worker S1 may include, for example, the total duration required to complete all the production actions corresponding to the three reference actions p1-p3 within one cycle. For example, it can be the time between the start time t1_1 when the production sub-action corresponding to the reference action p1 is executed in the first production cycle T1 in Figure 4, and the end time t1_6 when the production sub-action corresponding to the reference action p3 is completed. The total duration; it can also be between the start time t2_1 when the production sub-action corresponding to the reference action p1 is executed in the second production cycle T2 in Figure 4, and the end time t2_6 when the production sub-action corresponding to the reference action p3 is completed total time between.
或者,工作人员S1执行生产动作的总时长例如也可以包括在不同的执行周期结束后确定的平均花费的总时长,例如工作人员S1在一天内完成了三个生产周期中参考动作p1~p3对应的生产子动作。对应于图4示出的时间轴,在第一个生产周期T1中,工作人员S1执行生产动作的总时长为t1_1至t1_6之间的总时长,例如为1小时;在第二个生产周期T2中,工作人员S1执行生产动作的总时长为t2_1至t2_6之间的总时长,例如为1.5小时;在第三个生产周期T3中(图4未示出),工作人员S1执行生产动作的总时长为t3_1至t3_6之间的总时长,例如为0.5小时。然后,可以对确定的1小时、1.5小时、以及0.5小时求取平均值,也即1小时,然后再将1小时作为工作人员S1执行生产动作的总时长。这样,还可以减少突发事件或者其他情况对确定结果造成的干扰。Alternatively, the total time spent by worker S1 on performing production actions may also include, for example, the total time spent on average determined after different execution cycles have ended. production subaction. Corresponding to the time axis shown in Figure 4, in the first production cycle T1, the total duration of the worker S1 performing production actions is the total duration between t1_1 and t1_6, for example, 1 hour; in the second production cycle T2 , the total duration of worker S1 performing production actions is the total duration between t2_1 and t2_6, for example, 1.5 hours; in the third production cycle T3 (not shown in Figure 4), the total duration of worker S1 performing production actions The duration is the total duration between t3_1 and t3_6, for example, 0.5 hour. Then, an average value can be calculated for the determined 1 hour, 1.5 hour, and 0.5 hour, that is, 1 hour, and then 1 hour is used as the total time for the worker S1 to perform production actions. In this way, the interference to the determination result caused by unexpected events or other situations can also be reduced.
具体地,例如在确定工作人员S1执行生产动作的总时长为50分钟的情况下,由于工作人员S1执行生产动作的总时长小于参考动作序列对应的参考动作时长,则可以认为工作人员S1正常的完成了相应的生产动作,也即工作人员S1的动作识别结果与参考动作序列匹配。Specifically, for example, when it is determined that the total duration of the production actions performed by the worker S1 is 50 minutes, since the total duration of the production actions performed by the worker S1 is less than the reference action duration corresponding to the reference action sequence, it can be considered that the worker S1 is normal. The corresponding production action is completed, that is, the action recognition result of the worker S1 matches the reference action sequence.
在另一种可能的情况下,若工作人员S1执行生产动作的总时长为65分钟,则可以确定工作人员S1执行生产动作的动作时长超过了参考动作时长。在该种情况下,例如可以设置超时允许时间阈值,例如在确定的参考动作时长的基础上,可以允许超出10分钟,也即确定超时允许时间阈值为70分钟,则在工作人员S1执行生产动作的动作时长为65分钟的情况下,也可以认为动作识别结果与参考动作序列匹配。而若工作人员S1执行生产动作的总时长为75分钟,则可以确定工作人员S1未能在规定时间内完成生产动作,因此判定动作识别结果与参考动作序列不匹配。In another possible situation, if the total duration of the production action performed by the worker S1 is 65 minutes, it may be determined that the duration of the production action performed by the worker S1 exceeds the reference duration of the action. In this case, for example, a timeout threshold can be set. For example, based on the determined reference action duration, it can be allowed to exceed 10 minutes, that is, if the timeout threshold is determined to be 70 minutes, then the worker S1 will perform the production action. When the action duration of is 65 minutes, it can also be considered that the action recognition result matches the reference action sequence. On the other hand, if the total time for worker S1 to perform the production action is 75 minutes, it can be determined that worker S1 failed to complete the production action within the specified time, so it is determined that the action recognition result does not match the reference action sequence.
针对上述(b2),在工作人员执行生产动作的动作时长包括工作人员执行相邻生产动作的间隔时长时,可以根据参考动作时长中包含的相邻生产周期之间的间隔时长(也即相邻参考生产动作之间的间隔时长)确定工作时长的匹配结果。For the above (b2), when the duration of the worker’s execution of the production action includes the interval of the worker’s execution of adjacent production actions, it can be based on the interval between adjacent production cycles included in the reference action duration (that is, adjacent Refer to the interval between production actions) to determine the matching result of the working hours.
在确定工作人员S1执行相邻生产动作的间隔时长时,例如可以以该工作人员S1对应的多个生产周期中除第一个生产周期T1外的任一个生产周期Ti(i为大于1的整数)作为基准,确定生产周期Ti中开始执行参考动作p1对应的生产动作时对应的时间ti_1,以及在与生产周期Ti相邻的前一生产周期T(i-1)中结束执行参考动作p3对应的生产动作时对应的时间t(i-1)_6,通过计算由t(i-1)_6至ti_1之间的时间间隔,可以确定工作人员S1执行相邻生产动作的间隔时长。类似的,也可以基于生产周期Ti以及与生产周期Ti相邻的后一生产周期T(i+1),确定ti_6至t(i+1)_1之间的时间间隔。当然,还可以基于相邻的多个生产周期得到累计时间间隔总时长,基于时间间隔数量求平均值,得到一个间隔时长。When determining the interval time between the execution of adjacent production actions by the worker S1, for example, any production cycle Ti (i is an integer greater than 1) in the multiple production cycles corresponding to the worker S1 except the first production cycle T1 ) as a reference, determine the corresponding time ti_1 when the production action corresponding to the reference action p1 starts to be executed in the production cycle Ti, and the time corresponding to the end of the reference action p3 in the previous production cycle T(i-1) adjacent to the production cycle Ti The time t(i-1)_6 corresponding to the production action, by calculating the time interval between t(i-1)_6 and ti_1, can determine the length of time interval between worker S1 performing adjacent production actions. Similarly, the time interval between ti_6 and t(i+1)_1 may also be determined based on the production cycle Ti and the subsequent production cycle T(i+1) adjacent to the production cycle Ti. Of course, it is also possible to obtain the total duration of the cumulative time interval based on multiple adjacent production cycles, and calculate the average value based on the number of time intervals to obtain an interval duration.
在利用工作人员执行生产动作的动作时长和参考动作序列对应的参考动作时长进行匹配时,示例性的,动作时长包含的工作人员S1执行相邻生产动作的间隔时长例如为10分钟,参考动作时长中包含的相邻参考生产动作的间隔时长例如为15分钟,则在该种情况下,可以确定工作人员S1在指定的15分钟时间内开始了下一周期的生产动作的执行,并相应的确定工作人员S1的动作识别结果与所述参考动作序列匹配。When using the action duration of the worker to perform the production action to match the reference action duration corresponding to the reference action sequence, for example, the interval between the execution of adjacent production actions by the worker S1 included in the action duration is, for example, 10 minutes, and the reference action duration The interval between adjacent reference production actions contained in is, for example, 15 minutes. In this case, it can be determined that worker S1 has started the execution of the next cycle of production actions within the specified 15 minutes, and determined accordingly The action recognition result of worker S1 matches the reference action sequence.
在另一种情况下,与上述(b1)相似的,也可以设置超时允许时间阈值,例如可以15分钟为基准,确定相邻生产动作的间隔时长最多不能超过18分钟。若工作人员S1执行相邻生产动作的间隔时长为17分钟,则也可以确定工作人员S1的动作识别结果与所述参考动作序列匹配。但如果工作人员S1执行相邻生产动作的间隔时长超过18分钟,则判定工作人员S1的动作识别结果与所述参考动作序列不匹配。In another case, similar to the above (b1), it is also possible to set a timeout threshold. For example, 15 minutes can be used as a basis to determine that the interval between adjacent production actions cannot exceed 18 minutes at most. If the interval between the execution of adjacent production actions by the worker S1 is 17 minutes, it can also be determined that the action recognition result of the worker S1 matches the reference action sequence. However, if the interval between the execution of adjacent production actions by the worker S1 exceeds 18 minutes, it is determined that the action recognition result of the worker S1 does not match the reference action sequence.
针对上述(b3),在工作人员执行生产动作的动作时长包括工作人员执行生产子动作的子时长时,例如可以根据参考动作时长中包含的与多个参考动作分别对应的参考子 时长确定工作时长的匹配结果。For the above (b3), when the action duration of the worker performing the production action includes the sub-duration of the worker performing the production sub-action, for example, the working duration can be determined according to the reference sub-duration corresponding to multiple reference actions included in the reference action duration matching results.
示例性的,以工作人员S1为例,其在正常工作流程下,执行的子动作包括参考动作p1~p3分别对应的生产子动作。针对任一生产子动作,可以根据预先测试或者经验判断,合理的确定完成该生产子动作所需要的时长。例如,参考动作p1对应的生产子动作,可以确定正常完成该生产子动作所需要的时间为20分钟,也即参考动作p1的参考动作时长为20分钟。Exemplarily, taking the worker S1 as an example, the sub-actions performed by him include the production sub-actions respectively corresponding to the reference actions p1-p3 under the normal workflow. For any production sub-action, the time required to complete the production sub-action can be reasonably determined based on pre-test or empirical judgment. For example, referring to the production sub-action corresponding to the reference action p1, it can be determined that the time required to normally complete the production sub-action is 20 minutes, that is, the reference action duration of the reference action p1 is 20 minutes.
具体地,利用工作人员的动作识别结果,可以确定工作人员执行多个生产子动作的每一生产子动作所花费的时间。以工作人员S1在第一个周期T1中完成参考动作p1对应的生产子动作为例,可以根据t1_1到t1_2的时段,确定工作人员S1执行与参考动作p1对应的生产子动作的子时长,例如为18分钟。在该种情况下,利用动作时长18分钟与参考动作p1的参考动作时长为20分钟进行比较,实际执行时间18分钟小于规定执行时间20分钟,则确定该工作人员S1可以按时完成参考动作p1对应的生产子动作,因此工作人员的动作识别结果与所述参考动作序列匹配。Specifically, using the result of the worker's action recognition, the time spent by the worker to perform each of the multiple production sub-actions can be determined. Taking worker S1 completing the production sub-action corresponding to reference action p1 in the first period T1 as an example, the sub-duration for worker S1 to perform the production sub-action corresponding to reference action p1 can be determined according to the period from t1_1 to t1_2, for example for 18 minutes. In this case, by comparing the action duration of 18 minutes with the reference action duration of the reference action p1 of 20 minutes, and the actual execution time of 18 minutes is less than the specified execution time of 20 minutes, it is determined that the worker S1 can complete the reference action p1 on time. production sub-actions, so the worker's action recognition results match the reference action sequence.
在另一种可能的情况下,也可以为不同的生产子动作确定不同的超时允许时间阈值,具体可以参见上述(b1)的描述,在此不再赘述。其中,超时允许时间阈值可基于生产线需求、动作难易程度等多个维度中的至少一项进行调整。另外,对于与参考动作p1对应的生产子动作不同的其他生产子动作,确定动作识别结果与所述参考动作序列是否匹配的方式,与上述利用参考动作p1对应的生产子动作的子时长与所述参考动作序列进行匹配的方式相似,在此同样不再赘述。In another possible situation, different allowable overtime thresholds may also be determined for different production sub-actions. For details, refer to the description of (b1) above, which will not be repeated here. Wherein, the overtime allowable time threshold can be adjusted based on at least one of multiple dimensions such as production line requirements and difficulty of actions. In addition, for other production sub-actions different from the production sub-action corresponding to the reference action p1, the method of determining whether the action recognition result matches the reference action sequence is the same as the sub-duration of the production sub-action corresponding to the reference action p1 mentioned above. The method of matching the above-mentioned reference action sequence is similar, and will not be repeated here.
针对上述(b4),在工作人员执行生产动作的动作时长包括工作人员执行相邻生产子动作的间隔时长时,例如可以根据在一个周期内参考动作序列中相邻两个参考动作之间预设的间隔时长确定工作时长的匹配结果。示例性的,针对任意相邻的两个生产子动作,可以根据预先测试或者经验判断,合理的确定相邻两个生产子动作之间的间隔时长,例如参考动作p1对应的生产子动作与参考动作p2对应的生产子动作之间的时间间隔,可以设置为8分钟。For the above (b4), when the duration of the worker's execution of the production action includes the interval of the worker's execution of adjacent production sub-actions, for example, it can be based on the preset time between two adjacent reference actions in the reference action sequence within a cycle. The interval length of determines the matching result of the working hours. Exemplarily, for any two adjacent production sub-actions, the interval between two adjacent production sub-actions can be reasonably determined based on pre-test or empirical judgment, for example, the production sub-action corresponding to the reference action p1 and the reference The time interval between the production sub-actions corresponding to action p2 can be set to 8 minutes.
以工作人员S1为例,在第一个周期T1中,可以确定在完成参考动作p1对应的生产子动作时的时间t1_2,以及开始执行参考动作p2对应的生产子动作时的时间t1_3,并根据t1_2以及t1_3确定两个生产子动作之间的间隔时长,例如5分钟。则在该种情况下,可以确定工作人员S1可以按时执行下一参考动作对应的生产子动作,因此工作人员S1的动作识别结果与所述参考动作序列匹配。Taking worker S1 as an example, in the first period T1, the time t1_2 when the production sub-action corresponding to the reference action p1 is completed, and the time t1_3 when the production sub-action corresponding to the reference action p2 is started can be determined, and according to t1_2 and t1_3 determine the interval between two production sub-actions, for example, 5 minutes. In this case, it can be determined that the worker S1 can execute the production sub-action corresponding to the next reference action on time, so the action recognition result of the worker S1 matches the reference action sequence.
在另一种可能的情况下,也可以为不同的生产子动作之间的间隔时长确定不同的超时允许时间阈值,具体可以参见上述(b2)的描述,在此不再赘述。另外,对于其他生产子动作之间的间隔时长,确定动作识别结果与所述参考动作序列之间是否匹配的方式,与上述利用参考动作p1以及p2分别对应的生产子动作之间的时间间隔与所述参考动作序列进行匹配的方式相似,在此同样不再赘述。In another possible situation, different timeout thresholds may also be determined for intervals between different production sub-actions. For details, please refer to the description of (b2) above, which will not be repeated here. In addition, for the interval between other production sub-actions, the way of determining whether the action recognition result matches the reference action sequence is the time interval between the production sub-actions corresponding to the above-mentioned reference actions p1 and p2 and The matching manner of the reference action sequence is similar, and will not be repeated here.
(B2):动作识别结果与所述参考动作序列匹配,包括:生产规范性的匹配。(B2): The action recognition result is matched with the reference action sequence, including: production normative matching.
在一些示例中,所述动作识别结果包括:识别动作序列;所述识别动作序列包括:多个子动作。在该种情况下,例如可以采用下述方式确定生产规范性的匹配结果:将所述识别动作序列和所述参考动作序列进行匹配,得到所述生产规范性的匹配结果。In some examples, the action recognition result includes: a recognition action sequence; the recognition action sequence includes: multiple sub-actions. In this case, for example, the production normative matching result may be determined in the following manner: the recognition action sequence is matched with the reference action sequence to obtain the production normative matching result.
示例性的,以工作人员S1为例,在对其对应的待处理视频进行动作识别时,例如可以得到其对应的识别动作序列。具体地,在识别动作序列中例如包括行走动作、站立动作、以及拾取动作,其为工作人员S1在实操时的具体顺序,例如先执行行走动作,然后执行站立动作,最后执行拾取动作;相对应的子动作可以包括行走动作、站立动作、 以及拾取动作的具体动作。Exemplarily, taking the worker S1 as an example, when performing action recognition on the corresponding video to be processed, for example, its corresponding recognition action sequence can be obtained. Specifically, the recognition action sequence includes, for example, walking action, standing action, and picking action, which are the specific sequence of the worker S1 during actual operation, for example, first perform the walking action, then perform the standing action, and finally perform the picking action; The corresponding sub-actions may include specific actions of walking action, standing action, and picking action.
其中,为便于描述,将包括行走动作、站立动作、以及拾取动作的具体动作的子动作,分别表示为z1、z2以及z3;相应的,利用“→”符号表示动作序列的具体顺序,例如先执行行走动作,然后执行站立动作,最后执行拾取动作,则表示为“z1→z2→z3”。Among them, for the convenience of description, the sub-actions of specific actions including walking action, standing action, and picking action are denoted as z1, z2, and z3 respectively; Perform a walking action, then perform a standing action, and finally perform a picking action, which is expressed as "z1→z2→z3".
具体地,在将所述识别动作序列和所述参考动作序列进行匹配,得到所述生产规范性的匹配结果时,例如可以采用下述方式:将所述识别动作序列切分为多个动作子序列;将所述参考动作序列分别与各个动作子序列进行匹配;基于所述参考动作序列与各个动作子序列的匹配结果,得到所述生产规范性的匹配结果。Specifically, when matching the recognition action sequence with the reference action sequence to obtain the production normative matching result, for example, the following method may be adopted: the recognition action sequence is divided into multiple action sub-sequences sequence; matching the reference action sequence with each action subsequence; and obtaining the production normative matching result based on the matching results of the reference action sequence and each action subsequence.
其中,在将识别动作序列切分为多个动作子序列时,例如可以采用下述方式:从所述识别动作序列中,确定与所述参考动作序列中的目标参考动作匹配的目标子动作;基于所述目标子动作在所述识别动作序列中的位置、以及所述目标参考动作在所述参考动作序列中的位置,将所述识别动作序列切分为至少一个动作子序列。Wherein, when the recognition action sequence is divided into multiple action sub-sequences, for example, the following method may be adopted: from the recognition action sequence, determine a target sub-action that matches the target reference action in the reference action sequence; Based on the position of the target sub-action in the recognition action sequence and the position of the target reference action in the reference action sequence, the recognition action sequence is divided into at least one action sub-sequence.
具体地,可以在参考动作序列中先确定目标参考动作。在选取目标参考动作时,可以根据不同的参考动作彼此间的可区分度确定。例如,相较于行走动作和站立动作,拾取动作更容易区分,因此可以将拾取动作作为目标参考动作。Specifically, the target reference action may be determined first in the reference action sequence. When selecting the target reference action, it may be determined according to the degree of differentiation between different reference actions. For example, picking up is easier to distinguish than walking and standing, so picking up can be used as a target reference action.
另外,目标参考动作也可以是参考动作序列中预设位置的子动作;例如参考动作序列首部、和/或尾部的子动作等;根据目标参考动作,可以将一个工作人员在执行一次生产动作时所需要的子动作从识别动作序列确定出来,从而能够得到工作人员多次执行生产动作分别对应的动作子序列。In addition, the target reference action can also be a sub-action at a preset position in the reference action sequence; for example, a sub-action at the head and/or end of the reference action sequence; The required sub-actions are determined from the recognition action sequence, so that the action sub-sequences corresponding to the production actions performed by the worker multiple times can be obtained.
在确定目标参考动作后,可以根据识别动作序列,较为容易的确定与所述参考动作序列中的目标参考动作匹配的目标子动作。After the target reference action is determined, the target sub-action matching the target reference action in the reference action sequence can be relatively easily determined according to the recognition action sequence.
在确定目标子动作后,即可以确定该目标子动作在识别动作序列中的位置,例如在识别动作序列中的第几个位置。以识别动作序列包括z1→z2→z3→z4→z5→z6→z7→z8→z9→z10→z11→z12为例,其中,z1、z4、z7、以及z10的动作类型为A;参考动作序列包括:A→B→C,将A作为目标参考动作,则可以将识别动作序列切分为:z1→z2→z3,z4→z5→z6,z7→z8→z9,以及z10→z11→z12四个动作子序列。After the target sub-action is determined, the position of the target sub-action in the recognition action sequence can be determined, for example, which position is in the recognition action sequence. Take the recognition action sequence including z1→z2→z3→z4→z5→z6→z7→z8→z9→z10→z11→z12 as an example, where the action type of z1, z4, z7, and z10 is A; refer to the action sequence Including: A→B→C, using A as the target reference action, the recognition action sequence can be divided into: z1→z2→z3, z4→z5→z6, z7→z8→z9, and z10→z11→z12 four action subsequence.
这样,即可以利用目标子动作在所述识别动作序列中的位置、以及所述目标参考动作在所述参考动作序列中的位置,将所述识别动作序列切分为至少一个动作子序列。In this way, the recognition action sequence can be divided into at least one action sub-sequence by using the position of the target sub-action in the recognition action sequence and the position of the target reference action in the reference action sequence.
在确定参考动作序列与动作子序列的情况下,可以基于所述参考动作序列与各个动作子序列的匹配结果,得到所述生产规范性的匹配结果。In the case of determining the reference action sequence and the action subsequence, the production normative matching result can be obtained based on the matching result of the reference action sequence and each action subsequence.
在上述示例中,在得到四个动作子序列后,可以分别将z1→z2→z3,z4→z5→z6,z7→z8→z9,以及z10→z11→z12四个动作子序列与A→B→C进行动作类型的匹配,得到每个动作子序列与参考动作序列的匹配结果。In the above example, after obtaining four action subsequences, the four action subsequences of z1→z2→z3, z4→z5→z6, z7→z8→z9, and z10→z11→z12 can be combined with A→B →C matches the action type, and obtains the matching result between each action subsequence and the reference action sequence.
所述生产规范性的匹配结果包括下述至少一种:生产动作内容正确、生产动作内容错误、缺失生产动作、多余生产动作、以及生产动作中各动作顺序错误。The production normative matching result includes at least one of the following: correct production action content, wrong production action content, missing production action, redundant production action, and wrong order of each action in the production action.
其中,若参考动作序列与各个动作子序列匹配,可以确定生产动作内容正确。在参考动作序列与某个动作子序列不匹配的情况下,若该动作子序列中存在参考动作序列中不存在的动作,则确定多余生产动作;若该动作子序列中缺失了参考动作序列中的某个动作,则确定缺失生产动作;若该动作子序列中包括的子动作与参考动作序列中的参考动作之间的匹配度小于预设的匹配度阈值,则确定生产动作内容错误;若该动作子序列包括的子动作的顺序与参考动作序列中的子动作的顺序不一致,则确定生产动作中各 动作顺序错误。Wherein, if the reference action sequence matches each action subsequence, it can be determined that the content of the production action is correct. In the case that the reference action sequence does not match an action subsequence, if there is an action in the action subsequence that does not exist in the reference action sequence, then determine the redundant production action; if the action subsequence is missing in the reference action sequence If the matching degree between the sub-action included in the action sub-sequence and the reference action in the reference action sequence is less than the preset matching degree threshold, it is determined that the production action content is wrong; if If the order of the sub-actions included in the action sub-sequence is inconsistent with the order of the sub-actions in the reference action sequence, it is determined that the order of the actions in the production action is wrong.
这样,还可以根据生产规范性的不同匹配结果向工作人员发出不同类型的告警信息,以使工作人员能够根据不同类型的告警信息及时纠正动作错误,或者紧急停止操作,以保证自身的工作安全性。In this way, different types of warning information can be sent to the staff according to different matching results of production norms, so that the staff can correct action errors in time according to different types of warning information, or stop the operation urgently to ensure their own work safety .
(B3):动作识别结果与所述参考动作序列匹配,包括:工作效率的匹配。(B3): matching the action recognition result with the reference action sequence, including: matching of work efficiency.
在该种情况下,例如可以采用下述方式确定工作效率的匹配结果:基于所述动作识别结果,确定所述工作人员执行生产动作的总时长和/或间隔时长;基于所述工作人员执行生产动作的总时长和/或间隔时长,以及参考动作时长确定所述工作人员的工作效率;基于所述工作人员的工作效率、与预设工作效率,确定所述工作效率的匹配结果。In this case, for example, the matching result of work efficiency can be determined in the following manner: based on the action recognition result, determine the total duration and/or interval duration for the worker to perform the production action; The total duration and/or interval duration of the action, and the reference action duration determine the work efficiency of the staff; based on the work efficiency of the staff and the preset work efficiency, determine the matching result of the work efficiency.
其中,确定工作人员执行生产动作的总时长、以及间隔时长的方式,可以参见上述(b1)~(b4)的相关说明,在此不再赘述。Wherein, the manner of determining the total duration and the interval duration of the production actions performed by the staff can refer to the relevant descriptions of (b1)-(b4) above, which will not be repeated here.
在确定工作人员执行生产动作的总时长、以及间隔时长后,可以为工作人员确定工作效率。其中,在确定工作效率时,可以先确定合理的参考动作时长,包括参考总时长、以及参考间隔时长,然后再通过工作人员执行生产动作的总时长、以及间隔时长分别计算工作效率。After determining the total time for the staff to perform production actions and the interval time, the work efficiency can be determined for the staff. Among them, when determining the work efficiency, a reasonable reference action duration can be determined first, including the reference total duration and the reference interval duration, and then the work efficiency can be calculated according to the total duration of the staff performing production actions and the interval duration.
示例性的,在工作人员S1执行生产动作的总时长为50分钟,而参考总时长为60分钟的情况下,可以通过参考总时长与工作人员S1执行生产动作的总时长的比值,确定该工作人员S1以120%的效率完成了生产动作,也即工作人员S1对应的工作效率为120%。Exemplarily, in the case that the total duration of production actions performed by worker S1 is 50 minutes, and the reference total duration is 60 minutes, the work can be determined by the ratio of the reference total duration to the total duration of production actions performed by worker S1 Personnel S1 completes the production action with an efficiency of 120%, that is, the corresponding work efficiency of the staff member S1 is 120%.
另外,还可以确定预设工作效率,例如为90%,若工作人员的工作效率大于或者等于该预设工作效率,则确定工作效率匹配。例如上述在工作人员S1对应的工作效率为120%时,可以确定工作效率匹配。若工作人员的工作效率小于该预设工作效率,则确定工作效率不匹配。In addition, a preset working efficiency may also be determined, for example, 90%. If the working efficiency of the staff is greater than or equal to the preset working efficiency, it is determined that the working efficiency matches. For example, when the above-mentioned work efficiency corresponding to the worker S1 is 120%, it may be determined that the work efficiency matches. If the work efficiency of the staff is less than the preset work efficiency, it is determined that the work efficiency does not match.
这样,通过工作效率的匹配,可以更进一步的保证工作人员在规定的时间内完成工作任务,可以在保证产品质量的同时,保证工作的进度。In this way, through the matching of work efficiency, it can further ensure that the staff can complete the work tasks within the specified time, and can ensure the progress of the work while ensuring the quality of the products.
在本公开另一实施例中,还提供了另一种检测方法,包括:基于所述人脸识别结果,确定所述工作人员的上岗时间和离岗时间中的至少一项;基于得到的所述上岗时间和/或所述离岗时间,确定所述工作人员的出勤信息。In another embodiment of the present disclosure, another detection method is provided, including: determining at least one of the on-duty time and off-duty time of the staff based on the face recognition result; The on-duty time and/or the off-duty time are used to determine the attendance information of the staff member.
在该种情况下,例如可以根据人脸识别的结果,确定在目标时段内工作人员在岗的时间,并根据在岗时间确定工作人员是否正常出勤。In this case, for example, based on the results of face recognition, it is possible to determine the on-duty time of the staff within the target period, and determine whether the staff is on duty normally according to the on-duty time.
例如,可以确定在目标时间段内工作人员的上岗时间是否在规定的上岗时间之前,并确定工作人员的离岗时间是否在规定的离岗时间之后,以确定工作人员的出勤信息是否正常。For example, it can be determined whether the on-duty time of the staff is before the prescribed on-duty time within the target time period, and whether the off-duty time of the staff is after the prescribed off-duty time, so as to determine whether the attendance information of the staff is normal.
又例如,可以确定在目标时段内工作人员在岗位上发生变动的时间:例如早上9时,确定工作人员到岗;上午10时,确定工作人员离岗;上午10时30分,确定工作人员返回工作岗位;下午5时,确定工作人员离岗。则对应的,可以确定工作人员的在岗时间为7.5小时。若目标岗位要求该工作人员工作6小时,则可以确定工作人员正常出勤。这样确定出勤信息是否正常更加灵活。As another example, it is possible to determine the time when the staff member changes in the position within the target time period: for example, at 9:00 am, it is determined that the staff member arrives at the post; at 10:00 am, it is determined that the staff member leaves the post; Work position; at 5:00 pm, it is determined that the staff leave the post. Correspondingly, it can be determined that the on-duty time of the staff is 7.5 hours. If the target position requires the staff member to work for 6 hours, it can be determined that the staff member is on duty normally. In this way, it is more flexible to determine whether the attendance information is normal.
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above method of specific implementation, the writing order of each step does not mean a strict execution order and constitutes any limitation on the implementation process. The specific execution order of each step should be based on its function and possible The inner logic is OK.
基于同一发明构思,本公开实施例中还提供了与人岗匹配检测方法对应的人岗匹配检测装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述人岗匹配检测方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present disclosure also provides a person-post matching detection device corresponding to the person-post matching detection method. Since the problem-solving principle of the device in the embodiment of the present disclosure is the same as that of the above-mentioned person-post matching detection method in the embodiment of the present disclosure Similar, therefore, the implementation of the device can refer to the implementation of the method, and repeated descriptions will not be repeated.
参照图5所示,为本公开实施例提供的一种人岗匹配检测装置的示意图,所述装置包括:获取模块51、识别模块52、关联模块53、以及确定模块54;其中,Referring to FIG. 5 , it is a schematic diagram of a person-post matching detection device provided by an embodiment of the present disclosure. The device includes: an acquisition module 51, an identification module 52, an association module 53, and a determination module 54; wherein,
获取模块51,被配置为获取对目标岗位的工作人员进行拍摄得到的目标时段的待处理视频;识别模块52,被配置为对所述待处理视频进行人脸识别和动作识别,得到所述工作人员的人脸识别结果以及动作识别结果;关联模块53,被配置为关联所述人脸识别结果与所述动作识别结果,得到关联关系;确定模块54,被配置为基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配。The acquisition module 51 is configured to acquire the video to be processed in the target time period obtained by shooting the staff at the target position; the recognition module 52 is configured to perform face recognition and action recognition on the video to be processed to obtain the job The face recognition result and the action recognition result of the person; the association module 53 is configured to associate the face recognition result with the action recognition result to obtain an association relationship; the determination module 54 is configured to be based on the association relationship, the The position information corresponding to the target position is determined to determine whether the staff member matches the target position.
一种可选的实施方式中,所述岗位信息包括在所述目标时段与所述目标岗位对应的人员身份信息;所述确定模块54在基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配时,被配置为:在所述岗位信息包括所述人员身份信息时,响应于所述人脸识别结果与所述人员身份信息匹配,得到所述工作人员与所述目标岗位匹配。In an optional implementation manner, the post information includes personnel identity information corresponding to the target post in the target time period; , when determining whether the staff member matches the target post, it is configured to: when the post information includes the personal identity information, in response to the face recognition result matching the personal identity information, obtain the The above-mentioned staff members are matched with the above-mentioned target positions.
一种可选的实施方式中,所述岗位信息包括与所述目标岗位对应的参考动作序列;所述确定模块54在基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配时,被配置为:在所述岗位信息包括所述参考动作序列时,响应于所述动作识别结果与所述参考动作序列匹配,得到所述工作人员与所述目标岗位匹配。In an optional implementation manner, the position information includes a reference action sequence corresponding to the target position; Whether the person matches the target position is configured to: when the position information includes the reference action sequence, in response to the action recognition result matching the reference action sequence, obtain the Target job matching.
一种可选的实施方式中,所述动作识别结果与所述参考动作序列匹配,包括下述至少一种:工作时长的匹配、生产规范性的匹配、生产效率的匹配。In an optional implementation manner, the matching of the action recognition result with the reference action sequence includes at least one of the following: matching of working hours, matching of production norms, and matching of production efficiency.
一种可选的实施方式中,所述动作识别结果与所述参考动作序列匹配,包括:工作时长的匹配;所述确定模块54还被配置为:基于所述动作识别结果,确定所述工作人员执行生产动作的动作时长;基于所述动作时长、以及与所述参考动作序列对应的参考动作时长,确定工作时长的匹配结果。In an optional implementation manner, the matching of the action recognition result with the reference action sequence includes: matching of working hours; the determining module 54 is further configured to: determine the working duration based on the action recognition result. The action duration of the personnel performing the production action; based on the action duration and the reference action duration corresponding to the reference action sequence, the matching result of the working duration is determined.
一种可选的实施方式中,所述工作人员执行生产动作的动作时长,包括下述至少一种:所述工作人员执行生产动作的总时长;所述工作人员执行相邻生产动作的间隔时长;所述工作人员执行生产子动作的子时长;所述工作人员执行相邻生产子动作的间隔时长。In an optional implementation manner, the action duration of the worker performing the production action includes at least one of the following: the total duration of the worker performing the production action; the interval time between the worker performing adjacent production actions ; The sub-duration of the worker executing the production sub-action; the interval between the worker's execution of adjacent production sub-actions.
一种可选的实施方式中,所述动作识别结果包括:识别动作序列;所述识别动作序列包括:多个子动作;所述动作识别结果与所述参考动作序列匹配,包括:生产规范性的匹配;所述确定模块54还被配置为:将所述识别动作序列和所述参考动作序列进行匹配,得到所述生产规范性的匹配结果。In an optional implementation manner, the action recognition result includes: a recognition action sequence; the recognition action sequence includes: multiple sub-actions; the action recognition result matches the reference action sequence, including: producing normative Matching: the determination module 54 is further configured to: match the recognition action sequence with the reference action sequence to obtain the production normative matching result.
一种可选的实施方式中,所述确定模块54在将所述识别动作序列和所述参考动作序列进行匹配,得到所述生产规范性的匹配结果时,被配置为:将所述识别动作序列切分为多个动作子序列;将所述参考动作序列分别与各个动作子序列进行匹配;基于所述参考动作序列与各个动作子序列的匹配结果,得到所述生产规范性的匹配结果。In an optional implementation manner, when the determining module 54 matches the recognition action sequence with the reference action sequence to obtain the production normative matching result, it is configured to: The sequence is divided into multiple action sub-sequences; the reference action sequence is matched with each action sub-sequence; based on the matching results of the reference action sequence and each action sub-sequence, the production normative matching result is obtained.
一种可选的实施方式中,所述确定模块54在将所述识别动作序列切分为多个动作子序列时,被配置为:从所述识别动作序列中,确定与所述参考动作序列中的目标参考动作匹配的目标子动作;基于所述目标子动作在所述识别动作序列中的位置、以及所述目标参考动作在所述参考动作序列中的位置,将所述识别动作序列切分为至少一个动作 子序列。In an optional implementation manner, when the determining module 54 divides the recognition action sequence into a plurality of action subsequences, it is configured to: from the recognition action sequence, determine The target sub-action matched by the target reference action in ; based on the position of the target sub-action in the recognition action sequence and the position of the target reference action in the reference action sequence, cut the recognition action sequence into at least one action subsequence.
一种可选的实施方式中,所述生产规范性的匹配结果包括下述至少一种:生产动作内容正确、生产动作内容错误、缺失生产动作、多余生产动作、以及生产动作中各动作顺序错误。In an optional implementation manner, the production normative matching results include at least one of the following: correct content of production actions, wrong content of production actions, missing production actions, redundant production actions, and wrong order of actions in production actions .
一种可选的实施方式中,所述动作识别结果与所述参考动作序列匹配,包括:工作效率的匹配;所述确定模块54还被配置为:基于所述动作识别结果,确定所述工作人员执行生产动作的总时长和/或间隔时长;基于所述工作人员执行生产动作的总时长和/或间隔时长,以及参考动作时长,确定所述工作人员的工作效率;基于所述工作人员的工作效率与预设工作效率,确定所述工作效率的匹配结果。In an optional implementation manner, the matching of the action recognition result with the reference action sequence includes: matching of work efficiency; the determination module 54 is further configured to: determine the work efficiency based on the action recognition result The total duration and/or interval duration of the staff performing production actions; based on the total duration and/or interval duration of the staff performing production actions, as well as the reference action duration, the work efficiency of the staff is determined; based on the staff's The working efficiency and the preset working efficiency determine the matching result of the working efficiency.
一种可选的实施方式中,所述确定模块54还被配置为:基于所述人脸识别结果,确定所述工作人员的上岗时间和离岗时间中的至少一项;基于得到的所述上岗时间和/或所述离岗时间,确定所述工作人员的出勤信息。In an optional implementation manner, the determining module 54 is further configured to: determine at least one of the on-duty time and off-duty time of the staff member based on the face recognition result; The on-duty time and/or the off-duty time are used to determine the attendance information of the staff member.
关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。For the description of the processing flow of each module in the device and the interaction flow between the modules, reference may be made to the relevant description in the above method embodiment, and details will not be described here.
本公开实施例还提供了一种计算机设备,如图6所示,为本公开实施例提供的计算机设备结构示意图,包括:The embodiment of the present disclosure also provides a computer device, as shown in FIG. 6 , which is a schematic structural diagram of the computer device provided by the embodiment of the present disclosure, including:
处理器10和存储器20;所述存储器20存储有处理器10可执行的机器可读指令,处理器10用于执行存储器20中存储的机器可读指令,所述机器可读指令被处理器10执行时,处理器10执行下述步骤:
获取对目标岗位的工作人员进行拍摄得到的目标时段的待处理视频;对所述待处理视频进行人脸识别和动作识别,得到所述工作人员的人脸识别结果以及动作识别结果;关联所述人脸识别结果与所述动作识别结果,得到关联关系;基于所述关联关系、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配。Obtain the video to be processed in the target time period obtained by shooting the staff at the target post; perform face recognition and action recognition on the video to be processed, and obtain the face recognition result and action recognition result of the staff; associate the An association relationship is obtained between the face recognition result and the action recognition result; based on the association relationship and the position information corresponding to the target position, it is determined whether the staff matches the target position.
上述存储器20包括内存210和外部存储器220;这里的内存210也称内存储器,用于暂时存放处理器10中的运算数据,以及与硬盘等外部存储器220交换的数据,处理器10通过内存210与外部存储器220进行数据交换。Above-mentioned
上述指令的具体执行过程可以参考本公开实施例中所述的人岗匹配检测方法的步骤,此处不再赘述。For the specific execution process of the above instructions, reference may be made to the steps of the method for detecting person-post matching described in the embodiments of the present disclosure, which will not be repeated here.
本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的人岗匹配检测方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。An embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the human-position matching detection method described in the above-mentioned method embodiments are executed. . Wherein, the storage medium may be a volatile or non-volatile computer-readable storage medium.
本公开实施例还提供一种计算机程序产品,该计算机程序产品承载有程序代码,所述程序代码包括的指令可用于执行上述方法实施例中所述的人岗匹配检测方法的步骤,具体可参见上述方法实施例,在此不再赘述。An embodiment of the present disclosure also provides a computer program product, the computer program product carries a program code, and the instructions included in the program code can be used to execute the steps of the person-post matching detection method described in the method embodiment above, for details, see The foregoing method embodiments are not described in detail here.
其中,上述计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。Wherein, the above-mentioned computer program product may be specifically implemented by means of hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. Wait.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它 的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described system and device can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that: the above-mentioned embodiments are only specific implementations of the present disclosure, and are used to illustrate the technical solutions of the present disclosure, rather than limit them, and the protection scope of the present disclosure is not limited thereto, although referring to the aforementioned The embodiments have described the present disclosure in detail, and those skilled in the art should understand that any person familiar with the technical field can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present disclosure Changes can be easily imagined, or equivalent replacements can be made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in this disclosure. within the scope of protection. Therefore, the protection scope of the present disclosure should be defined by the protection scope of the claims.
本申请实施例中,通过对目标岗位的工作人员进行拍摄得到目标时段的待处理视频;利用图像处理技术领域中的图像识别技术对所述待处理视频进行识别,得到所述工作人员的识别结果,诸如人脸识别结果以及动作识别结果;根据所述识别结果的特性、所述目标岗位对应的岗位信息,确定所述工作人员与所述目标岗位是否匹配,以实现人岗匹配检测的目的。本申请的方案能够避免人岗匹配的检测依赖于人工管理,提高了人岗匹配检测的准确度以及检测效率。In the embodiment of the present application, the video to be processed in the target time period is obtained by shooting the staff at the target position; the video to be processed is identified by using the image recognition technology in the field of image processing technology, and the identification result of the staff is obtained , such as face recognition results and action recognition results; according to the characteristics of the recognition results and the position information corresponding to the target position, determine whether the staff matches the target position, so as to achieve the purpose of person-position matching detection. The solution of the present application can avoid the detection of person-post matching from relying on manual management, and improve the accuracy and detection efficiency of person-post matching detection.
Claims (16)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110763737.9A CN113435380A (en) | 2021-07-06 | 2021-07-06 | Method and device for detecting people and sentry matching, computer equipment and storage medium |
CN202110763737.9 | 2021-07-06 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023279785A1 true WO2023279785A1 (en) | 2023-01-12 |
Family
ID=77759216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/083921 WO2023279785A1 (en) | 2021-07-06 | 2022-03-30 | Method and apparatus for detecting whether staff member is compatible with post, computer device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113435380A (en) |
WO (1) | WO2023279785A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113435380A (en) * | 2021-07-06 | 2021-09-24 | 北京市商汤科技开发有限公司 | Method and device for detecting people and sentry matching, computer equipment and storage medium |
CN115424347A (en) * | 2022-09-02 | 2022-12-02 | 重庆邮电大学 | Intelligent identification method for worker work content of barber shop |
CN115953853A (en) * | 2022-12-28 | 2023-04-11 | 华能核能技术研究院有限公司 | Method and device for starting sign-in of emergency organization of nuclear power plant |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160234464A1 (en) * | 2015-02-06 | 2016-08-11 | Xerox Corporation | Computer-vision based process recognition |
CN108470255A (en) * | 2018-04-12 | 2018-08-31 | 上海小蚁科技有限公司 | Workload Account method and device, storage medium, computing device |
CN110110575A (en) * | 2018-02-01 | 2019-08-09 | 广州弘度信息科技有限公司 | A kind of personnel leave post detection method and device |
CN111325069A (en) * | 2018-12-14 | 2020-06-23 | 珠海格力电器股份有限公司 | Production line data processing method and device, computer equipment and storage medium |
CN111860152A (en) * | 2020-06-12 | 2020-10-30 | 浙江大华技术股份有限公司 | Personnel state detection method, system, device and computer device |
CN112699755A (en) * | 2020-12-24 | 2021-04-23 | 北京市商汤科技开发有限公司 | Behavior detection method and device, computer equipment and storage medium |
CN113435380A (en) * | 2021-07-06 | 2021-09-24 | 北京市商汤科技开发有限公司 | Method and device for detecting people and sentry matching, computer equipment and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108197801A (en) * | 2017-12-29 | 2018-06-22 | 安徽博诺思信息科技有限公司 | Site staff's management method and system and method based on visualized presence monitoring system |
CN112016363A (en) * | 2019-05-30 | 2020-12-01 | 富泰华工业(深圳)有限公司 | Personnel monitoring method and device, computer device and readable storage medium |
CN111582110B (en) * | 2020-04-29 | 2023-08-18 | 利智华(北京)智能科技有限公司 | Security check personnel behavior analysis method, device and equipment based on face recognition |
-
2021
- 2021-07-06 CN CN202110763737.9A patent/CN113435380A/en active Pending
-
2022
- 2022-03-30 WO PCT/CN2022/083921 patent/WO2023279785A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160234464A1 (en) * | 2015-02-06 | 2016-08-11 | Xerox Corporation | Computer-vision based process recognition |
CN110110575A (en) * | 2018-02-01 | 2019-08-09 | 广州弘度信息科技有限公司 | A kind of personnel leave post detection method and device |
CN108470255A (en) * | 2018-04-12 | 2018-08-31 | 上海小蚁科技有限公司 | Workload Account method and device, storage medium, computing device |
CN111325069A (en) * | 2018-12-14 | 2020-06-23 | 珠海格力电器股份有限公司 | Production line data processing method and device, computer equipment and storage medium |
CN111860152A (en) * | 2020-06-12 | 2020-10-30 | 浙江大华技术股份有限公司 | Personnel state detection method, system, device and computer device |
CN112699755A (en) * | 2020-12-24 | 2021-04-23 | 北京市商汤科技开发有限公司 | Behavior detection method and device, computer equipment and storage medium |
CN113435380A (en) * | 2021-07-06 | 2021-09-24 | 北京市商汤科技开发有限公司 | Method and device for detecting people and sentry matching, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113435380A (en) | 2021-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023279785A1 (en) | Method and apparatus for detecting whether staff member is compatible with post, computer device, and storage medium | |
CN104463117B (en) | A kind of recognition of face sample collection method and system based on video mode | |
CN105404860B (en) | Method and apparatus for managing personal information of wandering away | |
CN107506684B (en) | Gait recognition method and device | |
WO2021000644A1 (en) | Video processing method and apparatus, computer device and storage medium | |
WO2019083508A1 (en) | Facial recognitions based on contextual information | |
US20170364738A1 (en) | Method and apparatus for detecting glasses in a face image | |
CN112199530B (en) | Multi-dimensional face library picture automatic updating method, system, equipment and medium | |
CN110287889A (en) | A kind of method and device of identification | |
CN110879995A (en) | Target object detection method and device, storage medium and electronic device | |
US10037504B2 (en) | Methods for determining manufacturing waste to optimize productivity and devices thereof | |
CN109195011A (en) | A kind of method for processing video frequency, device, equipment and storage medium | |
CN112633221A (en) | Face direction detection method and related device | |
CN116778550A (en) | Personnel tracking method, device and equipment for construction area and storage medium | |
CN110175553A (en) | The method and device of feature database is established based on Gait Recognition and recognition of face | |
JP6777605B2 (en) | Judgment device, judgment method and judgment program | |
JP2018005638A (en) | Image recognition model learning device, image recognition unit, method and program | |
CN108197608A (en) | Face identification method, device, robot and storage medium | |
CN109598201B (en) | Action detection method and device, electronic equipment and readable storage medium | |
CN111325078A (en) | Face recognition method, face recognition device and storage medium | |
CN109345184A (en) | Nodal information processing method, device, computer equipment and storage medium based on micro- expression | |
JP6693710B2 (en) | Video analysis apparatus and video analysis method | |
CN111627126A (en) | Method and device for checking attendance and preventing cheating, storage medium and terminal | |
CN109101917A (en) | Mask method, training method, the apparatus and system identified again for pedestrian | |
CN114005183B (en) | Action recognition method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22836544 Country of ref document: EP Kind code of ref document: A1 |