A work ticket review system based on image recognition technology

By using straight line detection and OCR recognition algorithms in the work ticket review system, the problem of invalid recognition caused by work ticket folding or occlusion is solved, the image recognition efficiency of work tickets is improved, and the safety and efficiency of the construction site are ensured.

CN116704529BActive Publication Date: 2024-09-13SHENZHEN COMTOP INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310693708.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-12
Publication Date
2024-09-13
Estimated Expiration
2043-06-12

AI Technical Summary

Technical Problem

In the existing technology, when the work ticket is folded or blocked, the image recognition process is ineffective, which affects the efficiency of determining whether to allow workers to enter the construction site.

Method used

A work ticket review system based on image recognition technology is adopted. The first camera module obtains the work ticket image, the second camera module obtains the facial image, the calculation module performs recognition, and determines whether the work ticket image meets the settings through straight line detection and OCR recognition algorithms. If the constraints are not met, the image will be retaken to avoid invalid recognition.

Benefits of technology

It improves the efficiency of image recognition when work tickets are folded or blocked, ensures accurate judgment of whether workers have access rights, and improves the efficiency of construction site entry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116704529B
    Figure CN116704529B
Patent Text Reader

Abstract

The present invention belongs to the audit field, and discloses a work ticket audit system based on image recognition technology, including a first camera module, a second camera module, a computing module and a terminal module; the first camera module is used to obtain an image of the work ticket; the second camera module is used to obtain a facial image of a staff member; the computing module is used to identify the image of the work ticket and the facial image of the staff member, obtain a recognition result, and to audit whether the staff member has access authority based on the recognition result, and obtain an audit result; the terminal module is used to output the audit result. The image of the work ticket is firstly subjected to straight line detection to obtain a detection result, and then it is judged whether it meets the first constraint condition according to the detection result, if not, the image of the work ticket is re-acquired, if it meets, it continues to judge whether it meets the second constraint condition, thereby completing the preliminary judgment of the image of the work ticket, thereby avoiding affecting the efficiency of judging whether to allow the staff to enter the construction site.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of auditing, and in particular to a work ticket auditing system based on image recognition technology. Background Art

[0002] A work ticket is a written order that allows work on electrical equipment and system software, and is also a written basis for implementing technical measures to ensure safety. After a worker receives a work ticket, before entering the construction site, the worker needs to be identified and the work ticket reviewed to prevent non-workers from entering the construction site. The prior art generally identifies the work ticket, obtains the content in the work ticket, obtains the facial image of the worker, performs face recognition, obtains the name of the worker in the facial image, and determines whether the worker is allowed to enter the construction site based on the content in the work ticket and the name of the worker. Among them, the content in the work ticket includes the construction location, construction time, etc.

[0003] In the process of image recognition of work tickets in the prior art, the obtained image is generally sent directly to the recognition device for recognition. However, if the work ticket is folded or blocked during the process of obtaining the image of the work ticket, a complete image recognition is required to obtain the recognition result. The recognition result is that the content of the work ticket cannot be correctly obtained and needs to be re-photographed. After the above situation occurs, the entire process of image recognition of the work ticket is invalid. This affects the efficiency of determining whether to allow workers to enter the construction site. Summary of the invention

[0004] The purpose of the present invention is to disclose a work ticket review system based on image recognition technology to solve the problem that when the work ticket is folded or blocked, the image of the work ticket needs to be fully recognized, and the recognition process is invalid, which affects the efficiency of judging whether to allow workers to enter the construction site.

[0005] In order to achieve the above object, the present invention adopts the following technical solution:

[0006] A work ticket review system based on image recognition technology, comprising a first camera module, a second camera module, a calculation module and a terminal module;

[0007] The first camera module is used to obtain an image of the work ticket;

[0008] The second camera module is used to obtain the facial image of the staff member;

[0009] The computing module is used to recognize the image of the work ticket and the facial image of the staff member to obtain a recognition result, and to verify whether the staff member has access authority based on the recognition result to obtain a verification result;

[0010] The terminal module is used to output the audit results.

[0011] Wherein, obtaining the image of the work ticket includes:

[0012] The first step is to take a photo of the work ticket to obtain an image of the work ticket;

[0013] The second step is to perform straight line detection on the image of the work ticket to obtain the detection result;

[0014] The third step is to determine whether the image of the work ticket meets the first constraint condition according to the detection result. If yes, proceed to the fifth step; if no, proceed to the fourth step.

[0015] Step 4: Send a preset reminder message to the person in charge of shooting and proceed to step 1;

[0016] The fifth step is to determine whether the image of the work ticket meets the set second constraint condition based on the detection result. If so, the image of the work ticket is transmitted to the calculation module. If not, proceed to the fourth step.

[0017] Optionally, the first camera module includes a shooting unit, a judging unit and a prompting unit;

[0018] The shooting unit is used to shoot the work ticket to obtain an image of the work ticket;

[0019] The judging unit is used to perform straight line detection on the image of the work ticket to obtain a first detection result, and is used to judge whether the image of the work ticket meets the first constraint condition according to the detection result, and is used to judge whether the image of the work ticket meets the set second constraint condition according to the detection result when the image of the work ticket meets the first constraint condition;

[0020] The prompt unit is used to send a preset prompt message to the person responsible for shooting when the image of the work ticket does not meet the first constraint condition or does not meet the second constraint condition;

[0021] The photographing unit is also used to re-photograph the work ticket to obtain the image of the work ticket when the image of the work ticket does not meet the first constraint condition or does not meet the second constraint condition.

[0022] Optionally, performing straight line detection on the image of the work ticket to obtain a detection result includes:

[0023] Performing tilt correction on the image of the work ticket to obtain a tilt-corrected image;

[0024] A straight line detection algorithm is used to perform straight line detection on the tilt-corrected image to obtain a detection result.

[0025] Optionally, the detection result includes straight line segments contained in the image of the work ticket.

[0026] Optionally, judging whether the image of the work ticket meets the first constraint condition according to the detection result includes:

[0027] Calculate whether the number of straight line segments is greater than a set number threshold. If so, it means that the image of the work ticket meets the first constraint condition. If not, it means that the image of the work ticket does not meet the first constraint condition.

[0028] Optionally, judging whether the image of the work ticket meets the set second constraint condition according to the detection result includes:

[0029] Get the first straight line segment strlinxfir and the last straight line segment strlinxlst in the horizontal direction in the image of the work ticket;

[0030] Get the first straight line segment strlinyfir and the last straight line segment strlinylst in the vertical direction in the image of the work ticket;

[0031] Calculate the first distance disfir between strlinxfir and strlinxlst;

[0032] Calculate the second distance dissed between strlinyfir and strlinylst;

[0033] Calculate the distance ratio disrat:

[0034] If the distance ratio disrat does not belong to the interval [midist, madist], it means that the image of the work ticket does not meet the set second constraint condition. If the distance ratio disrat belongs to the interval [midist, madist], it means that the image of the work ticket meets the set second constraint condition. midist and madist represent the lower limit and upper limit of the distance ratio disrat respectively.

[0035] Optionally, the identifying the image of the work ticket and the facial image of the staff member to obtain the identification result includes:

[0036] The OCR recognition algorithm is used to recognize the image of the work ticket to obtain the information contained in the image of the work ticket. The information contained in the image of the work ticket includes the name of the person in charge, working hours and working location;

[0037] Recognize the facial image and obtain the image features of the facial image;

[0038] The information contained in the image of the work ticket and the image features of the facial image are used as the recognition result.

[0039] Optionally, the review of whether the staff member has access authority based on the identification result to obtain the review result includes:

[0040] Obtain the name of the person corresponding to the facial image according to the image features;

[0041] Determine whether the name of the person in charge in the image of the work ticket is consistent with the name of the person corresponding to the facial image. If not, the audit result is that the staff member does not have access authority. If so, determine whether the working hours and work location meet the requirements;

[0042] If the working hours and work location meet the requirements, the audit result will be that the staff member has access authority.

[0043] In the process of reviewing the work ticket, the present invention first performs straight line detection on the image of the work ticket to obtain the detection result, and then determines whether it meets the first constraint condition based on the detection result. If it does not meet the first constraint condition, the image of the work ticket is re-acquired. If it meets the second constraint condition, it continues to determine whether it meets the second constraint condition, thereby completing the preliminary judgment of the image of the work ticket in the acquisition stage, thereby avoiding the image of the work ticket that does not meet the constraint condition from entering the calculation module for calculation, which affects the efficiency of judging whether to allow staff to enter the construction site. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.

[0045] Figure 1 This is a diagram showing an embodiment of a work ticket review system based on image recognition technology of the present invention.

[0046] Figure 2 This is a diagram showing an embodiment of obtaining an image of a work ticket according to the present invention. DETAILED DESCRIPTION

[0047] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0048] like Figure 1 In one embodiment shown, the present invention provides a work ticket review system based on image recognition technology, comprising a first camera module, a second camera module, a calculation module and a terminal module;

[0049] The first camera module is used to obtain an image of the work ticket;

[0050] The second camera module is used to obtain the facial image of the staff member;

[0051] The computing module is used to recognize the image of the work ticket and the facial image of the staff member to obtain a recognition result, and to verify whether the staff member has access authority based on the recognition result to obtain a verification result;

[0052] The terminal module is used to output the audit results.

[0053] Among them, Figure 2 As shown, obtaining an image of a work ticket includes:

[0054] The first step is to take a photo of the work ticket to obtain an image of the work ticket;

[0055] The second step is to perform straight line detection on the image of the work ticket to obtain the detection result;

[0056] The third step is to determine whether the image of the work ticket meets the first constraint condition according to the detection result. If yes, proceed to the fifth step; if no, proceed to the fourth step.

[0057] Step 4: Send a preset reminder message to the person in charge of shooting and proceed to step 1;

[0058] The fifth step is to determine whether the image of the work ticket meets the set second constraint condition based on the detection result. If so, the image of the work ticket is transmitted to the calculation module. If not, proceed to the fourth step.

[0059] In the process of reviewing the work ticket, the present invention first performs straight line detection on the image of the work ticket to obtain the detection result, and then determines whether it meets the first constraint condition based on the detection result. If it does not meet the first constraint condition, the image of the work ticket is re-acquired. If it meets the second constraint condition, it continues to determine whether it meets the second constraint condition, thereby completing the preliminary judgment of the image of the work ticket in the acquisition stage, thereby avoiding the image of the work ticket that does not meet the constraint condition from entering the calculation module for calculation, which affects the efficiency of judging whether to allow staff to enter the construction site.

[0060] Optionally, the first camera module includes a shooting unit, a judging unit and a prompting unit;

[0061] The shooting unit is used to shoot the work ticket to obtain an image of the work ticket;

[0062] The judging unit is used to perform straight line detection on the image of the work ticket to obtain a first detection result, and is used to judge whether the image of the work ticket meets the first constraint condition according to the detection result, and is used to judge whether the image of the work ticket meets the set second constraint condition according to the detection result when the image of the work ticket meets the first constraint condition;

[0063] The prompt unit is used to send a preset prompt message to the person responsible for shooting when the image of the work ticket does not meet the first constraint condition or does not meet the second constraint condition;

[0064] The photographing unit is also used to re-photograph the work ticket to obtain the image of the work ticket when the image of the work ticket does not meet the first constraint condition or does not meet the second constraint condition.

[0065] Specifically, after the prompt unit sends a preset prompt message to the person responsible for photographing, the photographing unit can adaptively set a waiting time, and reacquire the image of the work ticket after the waiting time is over.

[0066] The shooting unit may also be manually controlled by a person in charge of shooting to shoot.

[0067] Specifically, the prompt information is used to prompt the person in charge of shooting that the work ticket is folded or blocked. For example, the prompt information may be "Please confirm whether the work ticket is folded or blocked."

[0068] Optionally, the prompt message may be sent to the person responsible for shooting in the form of voice or in the form of text.

[0069] Optionally, performing straight line detection on the image of the work ticket to obtain a detection result includes:

[0070] Performing tilt correction on the image of the work ticket to obtain a tilt-corrected image;

[0071] A straight line detection algorithm is used to perform straight line detection on the tilt-corrected image to obtain a detection result.

[0072] In the process of photographing the work ticket, the photograph may not be taken perpendicularly to the plane where the work ticket is located. Therefore, before performing straight line detection, the image of the work ticket needs to be tilted and corrected to obtain a correct judgment result.

[0073] The straight line detection algorithm may adopt Hough_line straight line detection algorithm, LSD straight line detection algorithm, FLD straight line detection algorithm and the like.

[0074] Optionally, the detection result includes straight line segments contained in the image of the work ticket.

[0075] Optionally, judging whether the image of the work ticket meets the first constraint condition according to the detection result includes:

[0076] Calculate whether the number of straight line segments is greater than a set number threshold. If so, it means that the image of the work ticket meets the first constraint condition. If not, it means that the image of the work ticket does not meet the first constraint condition.

[0077] In the present invention, the process of judging the image of the work ticket is carried out step by step. In the first constraint condition, the number of straight line segments is mainly constrained, because in the work ticket, straight line segments such as fill-in lines and table lines are included. Therefore, a preliminary judgment can be made by judging the number of straight line segments. In addition, in the present invention, it is not required that the number of straight line segments included in the image of the work ticket after filling in the content is consistent with that when the content is not filled in, and redundant space is reserved to avoid the first constraint condition being too harsh and causing the images of some work tickets that originally meet the requirements to be discarded by mistake. Because when the work ticket is photographed obliquely, even if the tilt correction is performed, there may still be a small amount of line segments that cannot be correctly corrected to straight line segments.

[0078] Optionally, judging whether the image of the work ticket meets the set second constraint condition according to the detection result includes:

[0079] Get the first straight line segment strlinxfir and the last straight line segment strlinxlst in the horizontal direction in the image of the work ticket;

[0080] Get the first straight line segment strlinyfir and the last straight line segment strlinylst in the vertical direction in the image of the work ticket;

[0081] Calculate the first distance disfir between strlinxfir and strlinxlst;

[0082] Calculate the second distance dissed between strlinyfir and strlinylst;

[0083] Calculate the distance ratio disrat:

[0084] If the distance ratio disrat does not belong to the interval [midist, madist], it means that the image of the work ticket does not meet the set second constraint condition. If the distance ratio disrat belongs to the interval [midist, madist], it means that the image of the work ticket meets the set second constraint condition. midist and madist represent the lower limit and upper limit of the distance ratio disrat respectively.

[0085] In the present invention, the second constraint condition is mainly to calculate the first distance and the second distance by respectively obtaining two specific line segments in the horizontal direction and the vertical direction in the work ticket, and then calculate the distance ratio, and then judge whether it meets the set constraint condition according to the distance ratio. Because even if the distance of shooting against the work ticket is different, if the work ticket is not blocked, folded, etc., the distance ratio should float within the allowable error range, so that it can accurately judge whether the work ticket is blocked or folded.

[0086] The judgment process of the first constraint is extremely simple, but also very effective. If there is folding or occlusion, the number of straight line segments will change significantly. By setting simple judgment conditions to judge the image of the work ticket first, the judgment efficiency can be improved, because the judgment process of the first constraint is extremely simple, and a fast judgment process can be achieved. If it does not meet the requirements, it can be directly retrieved. If the second constraint is directly used, the complexity of the calculation of the second constraint is higher than that of the judgment process of the first constraint, which will affect the overall judgment efficiency.

[0087] Optionally, the identifying the image of the work ticket and the facial image of the staff member to obtain the identification result includes:

[0088] The OCR recognition algorithm is used to recognize the image of the work ticket to obtain the information contained in the image of the work ticket. The information contained in the image of the work ticket includes the name of the person in charge, working hours and working location;

[0089] Recognize the facial image and obtain the image features of the facial image;

[0090] The information contained in the image of the work ticket and the image features of the facial image are used as the recognition result.

[0091] Optionally, the review of whether the staff member has access authority based on the identification result to obtain the review result includes:

[0092] Obtain the name of the person corresponding to the facial image according to the image features;

[0093] Determine whether the name of the person in charge in the image of the work ticket is consistent with the name of the person corresponding to the facial image. If not, the audit result is that the staff member does not have access authority. If so, determine whether the working hours and work location meet the requirements;

[0094] If the working hours and work location meet the requirements, the audit result will be that the staff member has access authority.

[0095] Specifically, the working time recorded in the work ticket and the shooting time when the work ticket was shot can be compared to determine whether the working time meets the requirements. Generally, the working time includes the start time and the end time. If the start time is after the shooting time and the time difference between the start time and the shooting time is less than the set time difference threshold, or the shooting time is between the start time and the end time, it means that the working time meets the requirements.

[0096] The determination of the work location is to determine whether the distance between the shooting location of the work ticket image and the work location recorded on the work ticket is less than a set distance threshold. If so, it means that the work location meets the requirements.

[0097] Optionally, the calculation module stores data such as the name of each staff member and facial image features in advance. In the process of obtaining the name of the person corresponding to the facial image according to the image features, it is only necessary to match the image features with the facial image features stored in the calculation module one by one to obtain the name of the corresponding person.

[0098] Optionally, the step of identifying the facial image and obtaining image features of the facial image includes:

[0099] Gray-scale the facial image to obtain a processed image;

[0100] Use the edge detection algorithm to calculate the processed image and obtain the set of edge pixel points edgcol in the processed image;

[0101] Get the boundary image according to the set edgcol;

[0102] The non-boundary image is formed by the pixel points in the processed image that do not belong to the boundary image;

[0103] Using a wavelet denoising algorithm to denoise the boundary image to obtain a first denoised image;

[0104] Using a Gaussian filter algorithm to reduce noise on the non-boundary image to obtain a second reduced noise image;

[0105] Merging the first denoised image and the second denoised image to obtain an image to be extracted;

[0106] Use feature extraction algorithm to obtain image features contained in the image to be extracted.

[0107] Specifically, before obtaining the image features, noise reduction processing is required to reduce the impact of noise on the obtained image features. In the prior art, the same noise reduction method is often used to directly perform noise reduction processing on all pixels, but such a noise reduction processing method does not take into account the balance between the efficiency and effect of noise reduction. If a noise reduction algorithm with a short processing time is used, the noise reduction effect may be difficult to achieve the expected effect, especially for edge noise reduction. It is easy to mistakenly treat the edge as noise for processing, thereby reducing the edge details and affecting the accuracy of the obtained image features. If a noise reduction algorithm with a long processing time is used, although a better noise reduction effect can be achieved, due to the long processing time, it is not conducive to the timely output of the review results of the work ticket, which affects the efficiency of judging whether to allow staff to enter the construction site.

[0108] Therefore, the present invention obtains boundary images and non-boundary images, and then adopts different noise reduction methods to perform noise reduction on the boundary images. For the boundary images, the present invention adopts a wavelet noise reduction algorithm that has better edge preservation but is more time-consuming. For the non-boundary images, the present invention adopts a Gaussian filtering algorithm that is less time-consuming and has a general noise reduction effect, thereby achieving a good balance between the noise reduction effect and the noise reduction efficiency.

[0109] Optionally, obtaining a boundary image according to the set edgcol includes:

[0110] Store the pixel points in the set edgcol into the pixel point set edgimgcol of the boundary image;

[0111] For the pixel point edgpix in the set edgcol, an adaptive rule is used to expand edgpix:

[0112] S1, use edgpix as dynamic pixel point;

[0113] S2, calculate the expansion coefficient of dynamic pixels;

[0114] S3, determining the relationship between the expansion coefficient and the set expansion coefficient threshold:

[0115] If the expansion coefficient is less than the set expansion coefficient threshold, the expansion processing of the dynamic pixel point is terminated and the dynamic pixel point is stored in the set edgimgcol; if the expansion coefficient is greater than or equal to the set expansion coefficient threshold, the set nondic of the pixel points that do not belong to the set edgimgcol in the neighborhood of the specified size of the dynamic pixel point is obtained;

[0116] S4, respectively calculate the expansion coefficient of each pixel in the set nondic, take the pixel corresponding to the largest expansion coefficient as the new dynamic pixel, and enter S3.

[0117] Different from the existing method of performing noise reduction processing on only a detected single noise pixel or edge pixel, the present invention adopts a method of performing expansion processing on the pixels in the set edgcol to obtain a boundary image, and then performs noise reduction processing on the boundary image. The present invention can improve the accuracy of the noise reduction result. Because edge detection is performed before noise reduction, if only the calculated single noise pixel or edge pixel is processed, it is easy to obtain an incorrect noise reduction result. One is that the pixels in a larger range around the noise pixel or edge pixel are missing as noise reduction references, which easily leads to an erroneous noise reduction result. The other is that the noise pixel is also easily identified as an edge pixel during edge detection. Therefore, it is necessary to expand the range of the edge pixel to a larger extent, so as to provide more reference pixels for noise pixel noise reduction.

[0118] As for the pixel points near the edge of the image that are not obtained by the edge detection algorithm, the present invention adopts the method of using the expansion coefficient to expand to further detect and obtain, which can improve the accuracy of the detection result. The noise pixel points around the edge are generally the noise pixel points that are more difficult to process correctly, because they are close to the edge. If the noise reduction effect is not good enough, the wrong edge will be identified, affecting the accuracy of the obtained image features. Therefore, through expansion, the present invention can add this type of pixel points to the boundary image and use the wavelet noise reduction algorithm with better edge preservation effect to perform noise reduction processing.

[0119] Optionally, the expansion factor calculation function is:

[0120]

[0121] In the above calculation function, exfac dyn represents the expansion coefficient of the pixel dyn, λ represents the scale parameter, λ∈(0,1), nlrgnei dyn Indicates the number of pixels with grayscale values ​​less than the pixel dyn in the neighborhood of the specified size of the pixel dyn, nall dyn Represents the total number of pixels in the neighborhood of the specified size of the pixel point dyn, dynpixset represents the set of pixels in the neighborhood of the specified size of the pixel point dyn, and pixgrad i It represents the horizontal gradient value of pixel i in dynpixset, and stdgrad represents the set gradient value variance contrast value.

[0122] Specifically, the neighborhood of the specified size may be a square area with a side length of K and centered at dyn.

[0123] In the process of expansion, the present invention uses the expansion coefficient to judge whether to continue the expansion. The larger the expansion coefficient, the greater the probability of continuing the expansion, thereby increasing the probability of obtaining noise pixels around the edge. The expansion coefficient is mainly based on the size relationship between the pixel point and the pixel points in the neighborhood of the specified size and the gradient value. The greater the difference in pixel value between the pixel point and the pixel points in the neighborhood of the specified size, the greater the variance of the gradient value, and the greater the probability that the pixel point belongs to the noise pixel point, thereby achieving the use of expansion to obtain more noise pixels.

[0124] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A work ticket review system based on image recognition technology, characterized in that: It includes a first camera module, a second camera module, a computing module and a terminal module; The first camera module is used to obtain an image of the work ticket; The second camera module is used to obtain the facial image of the staff member; The computing module is used to recognize the image of the work ticket and the facial image of the staff member to obtain a recognition result, and to verify whether the staff member has access authority based on the recognition result to obtain a verification result; The terminal module is used to output the audit results. Wherein, obtaining the image of the work ticket includes: The first step is to take a photo of the work ticket to obtain an image of the work ticket; The second step is to perform straight line detection on the image of the work ticket to obtain the detection result; The third step is to determine whether the image of the work ticket meets the first constraint condition according to the detection result. If yes, proceed to the fifth step; if no, proceed to the fourth step. Step 4: Send a preset reminder message to the person in charge of shooting and proceed to step 1; Step 5: determine whether the image of the work ticket meets the set second constraint condition according to the detection result. If yes, transmit the image of the work ticket to the calculation module. If no, proceed to step 4. The step of identifying the image of the work ticket and the facial image of the staff member to obtain the identification result includes: The OCR recognition algorithm is used to recognize the image of the work ticket to obtain the information contained in the image of the work ticket, which includes the name of the person in charge, working hours and working location; Recognize the facial image and obtain the image features of the facial image; The information contained in the image of the work ticket and the image features of the facial image are used as the recognition result; The step of identifying the facial image and obtaining the image features of the facial image includes: Gray-scale the facial image to obtain a processed image; Use the edge detection algorithm to calculate the processed image and obtain the set of edge pixel points edgcol in the processed image; Get the boundary image according to the set edgcol; The non-boundary image is formed by the pixel points in the processed image that do not belong to the boundary image; Using a wavelet denoising algorithm to denoise the boundary image to obtain a first denoised image; Using a Gaussian filtering algorithm to reduce noise on the non-boundary image to obtain a second reduced noise image; Merging the first denoised image and the second denoised image to obtain an image to be extracted; Use a feature extraction algorithm to obtain image features contained in the image to be extracted; The step of obtaining a boundary image according to the set edgcol includes: Store the pixel points in the set edgcol into the pixel point set edgimgcol of the boundary image; For the pixel point edgpix in the set edgcol, an adaptive rule is used to expand edgpix: S1, use edgpix as dynamic pixel point; S2, calculate the expansion coefficient of dynamic pixels; S3, determining the relationship between the expansion coefficient and the set expansion coefficient threshold: If the expansion coefficient is less than the set expansion coefficient threshold, the expansion processing of the dynamic pixel point is terminated and the dynamic pixel point is stored in the set edgimgcol; if the expansion coefficient is greater than or equal to the set expansion coefficient threshold, the set nondic of the pixel points that do not belong to the set edgimgcol in the neighborhood of the specified size of the dynamic pixel point is obtained; S4, respectively calculate the expansion coefficient of each pixel in the set nondic, take the pixel corresponding to the largest expansion coefficient as the new dynamic pixel, and enter S3.

2. According to the work ticket review system based on image recognition technology in claim 1, it is characterized in that: The first camera module includes a shooting unit, a judging unit and a prompting unit; The shooting unit is used to shoot the work ticket to obtain an image of the work ticket; The judging unit is used to perform straight line detection on the image of the work ticket to obtain a first detection result, and is used to judge whether the image of the work ticket meets the first constraint condition according to the detection result, and is used to judge whether the image of the work ticket meets the set second constraint condition according to the detection result when the image of the work ticket meets the first constraint condition; The prompt unit is used to send a preset prompt message to the person responsible for shooting when the image of the work ticket does not meet the first constraint condition or does not meet the second constraint condition; The photographing unit is also used to re-photograph the work ticket to obtain the image of the work ticket when the image of the work ticket does not meet the first constraint condition or does not meet the second constraint condition.

3. According to the work ticket review system based on image recognition technology in claim 1, it is characterized in that: The performing straight line detection on the image of the work ticket to obtain the detection result includes: Performing tilt correction on the image of the work ticket to obtain a tilt-corrected image; A straight line detection algorithm is used to perform straight line detection on the tilt-corrected image to obtain a detection result.

4. A work ticket review system based on image recognition technology according to claim 3, characterized in that: The detection result includes straight line segments contained in the image of the work ticket.

5. A work ticket review system based on image recognition technology according to claim 4, characterized in that: The step of judging whether the image of the work ticket meets the first constraint condition according to the detection result includes: Calculate whether the number of straight line segments is greater than a set number threshold. If so, it means that the image of the work ticket meets the first constraint condition. If not, it means that the image of the work ticket does not meet the first constraint condition.

6. A work ticket review system based on image recognition technology according to claim 5, characterized in that: The step of judging whether the image of the work ticket meets the set second constraint condition according to the detection result includes: Get the first straight line segment strlinxfir and the last straight line segment strlinxlst in the horizontal direction in the image of the work ticket; Get the first straight line segment strlinyfir and the last straight line segment strlinylst in the vertical direction in the image of the work ticket; Calculate the first distance disfir between strlinxfir and strlinxlst; Calculate the second distance dissed between strlinyfir and strlinylst; Calculate the distance ratio disrat: If the distance ratio disrat does not belong to the interval [midist, madist], it means that the image of the work ticket does not meet the set second constraint condition. If the distance ratio disrat belongs to the interval [midist, madist], it means that the image of the work ticket meets the set second constraint condition. midist and madist represent the lower limit and upper limit of the distance ratio disrat respectively.

7. The work ticket review system based on image recognition technology according to claim 1 is characterized in that: The review of whether the staff member has access authority based on the identification result and obtaining the review result include: Obtain the name of the person corresponding to the facial image according to the image features; Determine whether the name of the person in charge in the image of the work ticket is consistent with the name of the person corresponding to the facial image. If not, the audit result is that the staff member does not have access authority. If so, determine whether the working hours and work location meet the requirements; If the working hours and work location meet the requirements, the audit result will be that the staff member has access authority.