Inspection method based on inspection image, medium and equipment

By using the neural network model to identify inspection images during product inspections, the problems of low inspection efficiency and inaccurate recognition in the existing technology are solved, and accurate judgment and compliance inspection of products and store operating status are achieved, improving Improve inspection efficiency and accuracy.

CN118570525APending Publication Date: 2024-08-30FUJIAN JIABAINONG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410629590.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing product inspection personnel have problems of low efficiency and inaccurate identification during inspections, and cannot immediately identify whether merchants are operating products in compliance with regulations.

Method used

Using a method based on inspection images, the product inspection images are obtained through the image acquisition unit, and input into the trained neural network model for identification, to obtain product information and store information, determine their compliance, and recognize face information , product license information and other generated abnormal information are uploaded to the server.

Benefits of technology

It improves the accuracy and efficiency of product inspections, ensures the compliance of store operations, and reduces health risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570525A
    Figure CN118570525A
Patent Text Reader

Abstract

The invention relates to a routing inspection method based on a routing inspection image, a medium and equipment, and the method comprises the steps: obtaining a first commodity routing inspection image, inputting the first commodity routing inspection image into a trained neural network model, and obtaining an output result of the neural network model, the output result comprising first commodity information of the current first commodity routing inspection image; acquiring second commodity information of a current polled shop; and judging whether the first commodity type is the same as the second commodity type or not, if not, acquiring first identification information of the current polling shop, and mapping and storing the first identification information and the first commodity information to generate first abnormal information and uploading the first abnormal information to the server. The commodity inspection image is identified through the neural network model, the accuracy of commodity identification in the commodity inspection image can be improved, the first commodity information is accurately acquired, and whether the first commodity information is the same as the second commodity information is judged, so that the operation state of an inspection shop is checked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of commodity inspection, and in particular to an inspection method, medium and equipment based on inspection images. Background Art

[0002] Commodity inspection can ensure the legal operation and product quality of the commodity market to protect the rights and interests of consumers and the health of the public. In addition, commodity inspection can ensure that commodity operators comply with relevant laws, regulations and provisions, hold valid commodity licenses, and follow the legal procedures and requirements for commodity sales. At the same time, commodity inspection can help investigate and prevent the entry of counterfeit and shoddy products into the market, protect consumers from purchasing low-quality or illegally manufactured products, ensure that commodities meet relevant quality and safety standards, and reduce health risks caused by commodity product quality problems.

[0003] Existing commodity operations may require commodity licenses, and the sale of some commodities requires payment of relevant fees, etc.; there is currently a problem of merchants privately operating unauthorized commodity types in order to save costs, and commodity inspectors are unable to immediately identify whether the commodities operated by merchants are compliant during inspections. Summary of the invention

[0004] In view of the above problems, the present invention provides an inspection method, medium and equipment based on inspection images, which solves the problems of low inspection efficiency and inaccurate identification of existing commodity inspectors during inspection.

[0005] To achieve the above object, in a first aspect, the present invention provides an inspection method based on inspection images, comprising:

[0006] Acquire a first commodity inspection image, where the first commodity inspection image is acquired by an image acquisition unit;

[0007] Inputting the first commodity inspection image into the trained neural network model, and obtaining an output result of the neural network model, where the output result includes first commodity information of the current first commodity inspection image, where the first commodity information includes at least one first commodity type;

[0008] Acquire second commodity information of the store currently inspected, where the second commodity information includes at least one second commodity type;

[0009] Determine whether the first product type is the same as the second product type. If not, obtain the first identification information of the store currently inspected, the first identification information including the ID number and store address information of the current store, and map and store the first identification information and the first product information to generate the first exception information and upload it to the server.

[0010] In some embodiments, the method further comprises:

[0011] Identify first facial information in the first commodity inspection image, and map and store the first facial information with first acquisition location information of the current first commodity inspection image;

[0012] Acquire a second commodity inspection image, where the second commodity inspection image is acquired by an image acquisition unit, identify second facial information in the second commodity inspection image, and map and store the second facial information with second acquisition location information of the current second commodity inspection image;

[0013] Determining whether the first collection location information is the same as the second collection location information;

[0014] If not, matching the first face information with the second face information;

[0015] Determine whether the first face information is the same as the second face information;

[0016] If so, second abnormal information is generated according to the first face information, the first collection location information, and the second collection location information, and uploaded to the server.

[0017] In some embodiments, obtaining the second commodity information of the store currently inspected includes:

[0018] Obtain the product license image of the store currently being inspected, and perform OCR recognition on the product license image to obtain the recognition text. The recognition text includes the product license number and the product business scope. The product business scope includes the types of products that can be operated.

[0019] The second product information is generated according to the recognized text.

[0020] In some embodiments, the method further comprises:

[0021] Obtain the product license backup information of the store currently being inspected, and obtain the backup product license number and backup product business scope of the store currently being inspected based on the product license backup information;

[0022] Determine whether the backup product license number is the same as the product license number;

[0023] If so, the backup commodity business scope is matched with the commodity business scope to determine whether the backup commodity business scope is consistent with the commodity business scope. If the backup commodity business scope is consistent with the commodity business scope, the second commodity information is generated according to the identification text. If the backup commodity business scope is inconsistent with the commodity business scope, the commodity license is mapped and stored with the first identification information to generate third abnormal information and upload it to the server.

[0024] If not, the product license is mapped and stored with the first identification information to generate fourth abnormal information and upload it to the server.

[0025] In some embodiments, the recognized text further includes store address information, and the method further includes:

[0026] Acquire a third commodity inspection image, where the third commodity inspection image is acquired by an image acquisition unit, and the third commodity inspection image includes the house number information of the current store;

[0027] It is determined whether the house number information is consistent with the store address information. If not, the third commodity inspection image is mapped and stored with the first identification information to generate fifth abnormal information and upload it to the server.

[0028] In some embodiments, the neural network model is trained by:

[0029] Constructing a neural network model, the input parameters of which are sample images and commodity types in a sample database, and the output result is commodity information corresponding to the sample images, wherein the sample images include inspection images containing at least one commodity;

[0030] The sample images and product types in the sample database are read to repeatedly train the neural network model to improve the accuracy of the neural network model and obtain a trained neural network model.

[0031] In a second aspect, the present invention further provides a computer-readable storage medium storing computer program instructions, which implement the method described in the first aspect when executed by a processor.

[0032] In a third aspect, the present invention also provides an inspection device based on inspection images, including an image acquisition unit, a logic operation unit and a communication unit, the image acquisition unit being used to acquire a first commodity inspection image; the logic operation unit being used to input the first commodity inspection image into a trained neural network model, and obtaining an output result of the neural network model, the output result including first commodity information of the current first commodity inspection image, the first commodity information including at least one first commodity type, and obtaining second commodity information of a store currently inspected, the second commodity information including at least one second commodity type, and determining whether the first commodity type is the same as the second commodity type, if not, obtaining first identification information of the store currently inspected, the first identification information including the certificate number and store address information of the current store, and mapping and storing the first identification information and the first commodity information to generate first exception information; the communication unit being used to upload the first exception information.

[0033] In some embodiments, the image acquisition unit is integrated on the law enforcement instrument; the inspection equipment also includes a control unit, the logic operation unit and the communication unit are integrated on the control unit, and the control unit is communicatively connected with the law enforcement instrument.

[0034] In some embodiments, the control unit is connected to the law enforcement instrument via Bluetooth or WIFI.

[0035] Different from the prior art, in the above technical solution, a first commodity inspection image is obtained, the first commodity inspection image is input into a trained neural network model, and an output result of the neural network model is obtained, the output result includes the first commodity information of the current first commodity inspection image, the first commodity information includes at least one first commodity type; the second commodity information of the store currently inspected is obtained, the second commodity information includes at least one second commodity type; it is determined whether the first commodity type is the same as the second commodity type, if not, the first identification information of the store currently inspected is obtained, the first identification information includes the certificate number and store address information of the current store, and the first identification information and the first commodity information are mapped and stored to generate first exception information and upload it to the server. This technical solution uses a neural network model to identify commodity inspection images, which can improve the accuracy of commodity identification in commodity inspection images, accurately obtain the first commodity information, and synchronously obtain the second commodity information of the current inspected store, and determine whether the first commodity information is the same as the second commodity information, so as to check the operating status of the inspected store. When the first commodity information is different from the second commodity information, the first identification information of the current inspected store is mapped with the first commodity information and stored and uploaded to the server to complete the store inspection and improve the efficiency of the inspection.

[0036] The above-mentioned records related to the content of the invention are only an overview of the technical solution of the present invention. In order to enable ordinary technicians in the field to more clearly understand the technical solution of the present invention, and then implement it according to the text of the specification and the contents recorded in the drawings, and in order to make the above-mentioned purpose and other purposes, features and advantages of the present invention easier to understand, the following is a description in combination with the specific implementation mode of the present invention and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The drawings are only used to illustrate the principles, implementations, applications, features and effects of the specific embodiments of the present invention and other related contents, and shall not be considered as limiting the present invention.

[0038] In the drawings of the specification:

[0039] Figure 1 This is a diagram of the first step of the inspection method described in a specific embodiment of the present invention;

[0040] Figure 2 It is a diagram of the second step of the inspection method described in a specific embodiment of the present invention;

[0041] Figure 3 It is a diagram of the third step of the inspection method described in a specific embodiment of the present invention;

[0042] Figure 4 It is a schematic diagram of the inspection equipment described in a specific embodiment of the present invention.

[0043] The reference numerals in the above drawings are described as follows:

[0044] 100. Control unit;

[0045] 101. Logic operation unit;

[0046] 102. Communication unit;

[0047] 200. Law enforcement equipment;

[0048] 201. Image acquisition unit. DETAILED DESCRIPTION

[0049] In order to explain in detail the possible application scenarios, technical principles, specific schemes that can be implemented, and the purposes and effects of the present invention, the following is a detailed description in combination with the specific embodiments listed and the accompanying drawings. The embodiments described herein are only used to more clearly illustrate the technical solutions of the present invention, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present invention.

[0050] Reference to "embodiment" herein means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The word "embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or association with other embodiments. In principle, in the present invention, as long as there is no technical contradiction or conflict, the various technical features mentioned in each embodiment can be combined in any way to form a corresponding implementable technical solution.

[0051] Unless otherwise defined, the technical terms used herein have the same meanings as those generally understood by those skilled in the art to which the present invention belongs; the use of relevant terms herein is only for describing specific embodiments and is not intended to limit the present invention.

[0052] In the description of the present invention, the term "and / or" is an expression used to describe the logical relationship between objects, indicating that three relationships may exist, for example, A and / or B, which means: A exists, B exists, and A and B exist at the same time. In addition, the character " / " in this article generally indicates that the objects before and after are in a logical relationship of "or".

[0053] In the present invention, terms such as "first" and "second" are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship of quantity, priority or sequence between these entities or operations.

[0054] Without further restrictions, in the present invention, the words "include", "comprises", "has" or other similar open-ended expressions used in sentences are intended to cover non-exclusive inclusion. These expressions do not exclude the presence of additional elements in the process, method or product including the elements, so that the process, method or product including a series of elements may include not only those limited elements, but also other elements not explicitly listed, or also include elements inherent to such process, method or product.

[0055] Similar to the understanding in the Examination Guidelines, in the present invention, expressions such as "greater than", "less than", "exceed" and the like are understood to exclude the number itself; expressions such as "above", "below", "within" and the like are understood to include the number itself. In addition, in the description of the embodiments of the present invention, the meaning of "multiple" is more than two (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups", "multiple times", etc., unless otherwise clearly and specifically limited.

[0056] See also Figure 1 In a first aspect, this embodiment provides an inspection method based on inspection images, comprising:

[0057] S11, obtaining a first commodity inspection image, where the first commodity inspection image is acquired by an image acquisition unit;

[0058] S12, inputting the first commodity inspection image into the trained neural network model, and obtaining an output result of the neural network model, where the output result includes first commodity information of the current first commodity inspection image, where the first commodity information includes at least one first commodity type;

[0059] S13, obtaining second commodity information of the store currently inspected, where the second commodity information includes at least one second commodity type;

[0060] S14, determining whether the first commodity type is the same as the second commodity type;

[0061] S15. If not, obtain the first identification information of the store currently inspected, the first identification information including the certificate number and store address information of the current store, and map and store the first identification information and the first product information to generate the first abnormal information and upload it to the server.

[0062] In the present embodiment, it should be noted that the commodity can be understood as a certain category, for example, it can be clothing, tobacco, or tea, etc. The inspection of the commodity in the following text can be understood as the inspection in a certain specific category. For example, when the specific category is Zhengshan Xiaozhong, the tea belonging to the same field of Zhengshan Xiaozhong includes products of multiple tea factories, and the inspection can be used to obtain whether the current merchant has the authority to operate Zhengshan Xiaozhong of one or several factories; similarly, when the specific category refers to tea, it is distinguished by tea, and the tea field includes Zhengshan Xiaozhong, Narcissus, Cinnamon, Tieguanyin and other tea products, then the inspection process described in the following text can also be understood as the inspection of tea; for another example, when the specific category is health care products, the commodity may also involve commodity licenses and related filing information, etc., then the inspection method can also be understood as the inspection method in the field of health care products, and so on. The specific specific category can be adjusted according to actual needs. It can be understood that different specific categories can be applicable to the inspection method shown in this embodiment.

[0063] The first commodity inspection image can be understood as the commodity inspection image taken by the inspection personnel when inspecting the current store. It should be noted that the commodity inspection image here can be understood as an image containing commodities, or it can be understood as the image content that the inspection personnel determine needs to be photographed during the inspection process, that is, it may not contain the image of commodities, and it can be adjusted according to actual needs; and the commodity inspection image can also be obtained by intercepting the inspection video taken by the inspection personnel. In this embodiment, the image acquisition unit can be a camera, a still camera, or a device with image acquisition function such as a mobile phone, a notebook, or a tablet.

[0064] In this embodiment, the first commodity inspection image is input into a trained neural network model, and an output result of the neural network model is obtained, where the output result includes the first commodity information of the current first commodity inspection image.

[0065] In some embodiments, the neural network model is trained by:

[0066] Constructing a neural network model, the input parameters of which are sample images and commodity types in a sample database, and the output result is commodity information corresponding to the sample images, wherein the sample images include inspection images containing at least one commodity;

[0067] The sample images and product types in the sample database are read to repeatedly train the neural network model to improve the accuracy of the neural network model and obtain a trained neural network model.

[0068] Here, the first commodity information can be understood as follows: the first commodity information can be understood as the relevant information of the commodity that has appeared in the first commodity inspection image, such as the first commodity type, that is, the type of commodity. Optionally, it can also include information associated with the first commodity type and the store that is allowed to operate the first commodity type, so as to match it with the currently inspected store to further determine whether the currently inspected store is qualified to sell the first commodity type. It can be understood that the commodity type in the first commodity inspection image is not limited to a single one, and it can be that there are multiple different types of commodities that appear in the first commodity inspection image at the same time, and the identified first commodity information can include multiple first commodity types.

[0069] In this embodiment, after obtaining the first product information, the second product information of the currently inspected store is simultaneously obtained. The second product information can be understood as the second product type allowed to be sold in the current store. Similarly, the second product information can include multiple second product types.

[0070] Determine whether the first commodity type is the same as the second commodity type. Specifically, it can be understood as follows: the first commodity type needs to be matched with the second commodity type one by one. If the first commodity type is different from the second commodity type, it means that the shop currently inspected is operating the first commodity type in violation of regulations. Then obtain the first identification information of the shop currently inspected, where the first identification information can be understood as the unique identification information of the shop currently inspected, specifically including the certificate number of the current shop, such as the business license number, social credit code, etc. The store address information can be understood as all store address information associated with the current shop, and the first identification information and the first commodity information are mapped and stored to generate the first abnormal information and upload it to the server.

[0071] By recognizing commodity inspection images through a neural network model, the accuracy of commodity recognition in commodity inspection images can be improved, and the first commodity information can be accurately obtained. By synchronously obtaining the second commodity information of the current inspected store and judging whether the first commodity information is the same as the second commodity information, the operating status of the inspected store can be checked. When the first commodity information is different from the second commodity information, the first identification information of the current inspected store is mapped with the first commodity information and stored and uploaded to the server to complete the store inspection and improve the efficiency of the inspection.

[0072] See also Figure 2 In some embodiments, the method further comprises:

[0073] S21, identifying first facial information in a first commodity inspection image, and mapping and storing the first facial information with first collection location information of the current first commodity inspection image;

[0074] S22, obtaining a second commodity inspection image, where the second commodity inspection image is acquired by an image acquisition unit, identifying second facial information in the second commodity inspection image, and mapping and storing the second facial information with second acquisition location information of the current second commodity inspection image;

[0075] S23, determining whether the first collection location information is the same as the second collection location information;

[0076] S24, if not, matching the first face information with the second face information;

[0077] S25, determining whether the first face information is the same as the second face information;

[0078] S26. If yes, generate second abnormal information according to the first face information, the first collection location information and the second collection location information, and upload it to the server.

[0079] In this embodiment, the first product inspection image also includes the facial information of the business personnel of the current inspection store. Similarly, the second product inspection image also includes the facial information of the business personnel of the current inspection store. The first facial information is obtained by performing facial recognition on the first product inspection image. The number of the first facial information can be multiple. The first facial information is mapped and stored with the first acquisition location information of the current acquisition of the first product inspection image. The second facial information is obtained by performing facial recognition on the second product inspection image. The number of the second facial information can be multiple. The second facial information is mapped and stored with the second acquisition location information of the current acquisition of the second product inspection image.

[0080] In this embodiment, the first collection location information and the second collection location information are matched first to determine whether the first collection location information and the second collection location information are the same. If so, it means that the current first commodity inspection image and the second commodity inspection image are collected at the same location, and the first face information and the second face information will not be judged. If the first collection location information and the second collection location information are not the same, it means that the current first collection location information and the second collection location information belong to different stores. On this basis, the first face information and the second face information are compared. When there are multiple first face information and multiple second face information, it is necessary to compare the first face information and the second face information one by one to determine whether the first face information and the second face information are the same. If so, it means that the same person currently appears in different inspection stores, and there is an abnormal problem that store employees are inspected in different stores. Therefore, it is necessary to record the first face information and the first collection location information and the second collection location information and generate the second abnormal information and upload it to the server.

[0081] This embodiment recognizes facial information in different commodity inspection images to help inspection personnel check the status of employees in the inspected stores, improve inspection efficiency, and ensure the legal operation of commodity operators.

[0082] In some embodiments, obtaining the second commodity information of the store currently inspected includes:

[0083] Obtain the product license image of the store currently being inspected, and perform OCR recognition on the product license image to obtain the recognition text. The recognition text includes the product license number and the product business scope. The product business scope includes the types of products that can be operated.

[0084] The second product information is generated according to the recognized text.

[0085] In this embodiment, during the commodity inspection, it is also necessary to check the commodity license of the store currently inspected. By capturing an image of the commodity license of the store currently inspected, an image of the commodity license is obtained, and then the text information recorded on the commodity license is obtained through an OCR text recognition algorithm, that is, the recognition text. The recognition text includes the commodity license number and the commodity business scope. The commodity business scope includes the types of commodities that can be operated. The types of commodities that can be operated here can be understood as the types of commodities that the store currently inspected is allowed to operate, including commodities, and then the second commodity information is generated based on the recognition text.

[0086] This embodiment realizes the function of quickly acquiring the second commodity information by performing OCR recognition on the text of the commodity license, and combines the acquisition of the second commodity information with the inspection process for reasonable use.

[0087] See also Figure 3 In some embodiments, the method further comprises:

[0088] S31, obtaining the product license backup information of the shop currently inspected, and obtaining the backup product license number and the backup product business scope of the shop currently inspected according to the product license backup information;

[0089] S32, determining whether the backup product license number is the same as the product license number;

[0090] S33. If yes, match the backup commodity business scope with the commodity business scope;

[0091] S34, determining whether the backup commodity business scope is consistent with the commodity business scope;

[0092] S341. If the backup commodity business scope is consistent with the commodity business scope, generating second commodity information according to the recognition text;

[0093] S342: If the backup commodity business scope is inconsistent with the commodity business scope, the commodity license is mapped and stored with the first identification information to generate third abnormal information and upload it to the server;

[0094] S35. If not, the product license is mapped and stored with the first identification information to generate fourth abnormal information and upload it to the server.

[0095] In this embodiment, the commodity license backup information can be connected to the database to obtain the real commodity license information filed by the store in the database. For the convenience of distinction, this commodity license information is recorded as the commodity license backup information, and the commodity license information in the commodity license image collected at the store site is recorded as the commodity license information. The backup commodity license number and the backup commodity business scope of the current inspected store are obtained according to the commodity license backup information.

[0096] The backup product license number is judged to match the product license number to determine whether they are the same, so as to verify the authenticity of the product license information in the current inspection store. If the product license information in the current inspection store is false, the fourth abnormal information is directly generated, and the fourth abnormal information includes the image information of the current product license and the first identification information of the current inspection store.

[0097] If the product license information in the current inspected store is true, the product business scope is further compared with the backup product business scope to determine whether the two are consistent. The product business scope can be understood as the types of products that are allowed to be operated, including the types of products. If the product business scope is consistent with the backup product business scope, it means that the current product license is true, and there is no problem of malicious alteration, modification, or fabrication by the store; if the product business scope is inconsistent with the backup product business scope, it means that the current product license is false, and the current inspected store has product business anomalies. This product license image is mapped and stored with the first identification information to generate third abnormal information and upload it to the server.

[0098] This embodiment realizes online approval of commodity licenses through identification and judgment of commodity licenses, improves the compliance of store operations, and improves the accuracy of inspections.

[0099] In some embodiments, the recognized text further includes store address information, and the method further includes:

[0100] Acquire a third commodity inspection image, where the third commodity inspection image is acquired by an image acquisition unit, and the third commodity inspection image includes the house number information of the current store;

[0101] It is determined whether the house number information is consistent with the store address information. If not, the third commodity inspection image is mapped and stored with the first identification information to generate fifth abnormal information and upload it to the server.

[0102] In this embodiment, the store address information is also recorded in the product license. Here, the third product inspection image can be understood as follows: the third product inspection image is an image containing the store's house number information collected by the inspector during the inspection. The house number information of the current store is identified in the third product inspection image, and the store's house number information is matched with the store address information to determine whether the two are consistent. If they are inconsistent, it means that the address recorded in the current product license does not match the actual address, and the current store has an abnormal operation. The third product inspection image is mapped and stored with the first identification information to generate the fifth abnormal information.

[0103] This embodiment completes the verification of the actual address of the store and the address on the commodity license by checking the house number information in the third commodity inspection image, thereby improving the inspection efficiency.

[0104] In a second aspect, this embodiment further provides a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method described in the first aspect is implemented.

[0105] See also Figure 4 In a third aspect, the present embodiment further provides an inspection device based on inspection images, including an image acquisition unit 201, a logic operation unit 101 and a communication unit 102, wherein the image acquisition unit 201 is used to acquire a first commodity inspection image; the logic operation unit 101 is used to input the first commodity inspection image into a trained neural network model, and obtain an output result of the neural network model, the output result including first commodity information of the current first commodity inspection image, the first commodity information including at least one first commodity type, and obtaining second commodity information of a store currently inspected, the second commodity information including at least one second commodity type, and determining whether the first commodity type is the same as the second commodity type, if not, obtaining first identification information of the store currently inspected, the first identification information including the certificate number and store address information of the current store, and mapping and storing the first identification information and the first commodity information to generate first abnormal information; the communication unit 102 is used to upload the first abnormal information.

[0106] See also Figure 4 In some embodiments, the image acquisition unit 201 is integrated on the law enforcement instrument 200; the inspection device also includes a control unit 100, a logic operation unit 101 and a communication unit 102 are integrated on the control unit 100, and the control unit 100 is communicatively connected with the law enforcement instrument 200.

[0107] Preferably, an application program that records the above-mentioned inspection method can also be developed, and by applying this application program on the law enforcement instrument 200, information interaction between the image acquisition unit 201 and the logic operation unit 101 can be realized.

[0108] In some embodiments, the control unit 100 is connected to the law enforcement instrument 200 via Bluetooth or WIFI.

[0109] In the above technical solution, a first commodity inspection image is obtained, the first commodity inspection image is input into a trained neural network model, and an output result of the neural network model is obtained, the output result includes the first commodity information of the current first commodity inspection image, the first commodity information includes at least one first commodity type; the second commodity information of the store currently inspected is obtained, the second commodity information includes at least one second commodity type; it is determined whether the first commodity type is the same as the second commodity type, if not, the first identification information of the store currently inspected is obtained, the first identification information includes the certificate number and store address information of the current store, and the first identification information and the first commodity information are mapped and stored to generate first exception information and upload it to the server. This technical solution uses a neural network model to identify commodity inspection images, which can improve the accuracy of commodity identification in commodity inspection images, accurately obtain the first commodity information, and synchronously obtain the second commodity information of the current inspected store, and determine whether the first commodity information is the same as the second commodity information, so as to check the operating status of the inspected store. When the first commodity information is different from the second commodity information, the first identification information of the current inspected store is mapped with the first commodity information and stored and uploaded to the server to complete the store inspection and improve the efficiency of the inspection.

[0110] Finally, it should be noted that although the above embodiments have been described in the specification and drawings of the present invention, the patent protection scope of the present invention cannot be limited thereby. All technical solutions generated by replacing or modifying equivalent structures or equivalent processes based on the essential concept of the present invention and using the contents recorded in the specification and drawings of the present invention, as well as directly or indirectly implementing the technical solutions of the above embodiments in other related technical fields, are included in the patent protection scope of the present invention.

Claims

1. An inspection method based on inspection images, It is characterized in that include: Acquire a first commodity inspection image, where the first commodity inspection image is acquired by an image acquisition unit; Inputting the first commodity inspection image into a trained neural network model, and obtaining an output result of the neural network model, wherein the output result includes first commodity information of the current first commodity inspection image, and the first commodity information includes at least one first commodity type; Acquire second commodity information of the store currently inspected, where the second commodity information includes at least one second commodity type; Determine whether the first product type is the same as the second product type. If not, obtain the first identification information of the store currently inspected, the first identification information including the ID number and store address information of the current store, and map and store the first identification information and the first product information to generate first exception information and upload it to the server.

2. The inspection method based on inspection images according to claim 1, It is characterized in that The method further comprises: Identify first facial information in the first commodity inspection image, and map and store the first facial information with first acquisition location information of the current first commodity inspection image; Acquire a second commodity inspection image, where the second commodity inspection image is acquired by an image acquisition unit, identify second facial information in the second commodity inspection image, and map and store the second facial information with second acquisition location information of the current second commodity inspection image; Determining whether the first collection location information is the same as the second collection location information; If not, matching the first face information with the second face information; Determining whether the first facial information is the same as the second facial information; If so, second abnormal information is generated according to the first face information, the first collection location information, and the second collection location information, and uploaded to the server.

3. The inspection method based on inspection images according to claim 1, It is characterized in that The second product information of the currently inspected store is obtained including: Obtain the product license image of the shop currently inspected, and perform OCR recognition on the product license image to obtain recognition text, wherein the recognition text includes the product license number and the product business scope, and the product business scope includes the types of products that can be operated; The second product information is generated according to the recognized text.

4. The inspection method based on inspection images according to claim 3, It is characterized in that The method further comprises: Obtain the product license backup information of the store currently being inspected, and obtain the backup product license number and backup product business scope of the store currently being inspected based on the product license backup information; Determining whether the backup product license number is the same as the product license number; If so, the backup commodity business scope is matched with the commodity business scope to determine whether the backup commodity business scope is consistent with the commodity business scope; if the backup commodity business scope is consistent with the commodity business scope, the second commodity information is generated according to the identification text; if the backup commodity business scope is inconsistent with the commodity business scope, the commodity license is mapped and stored with the first identification information to generate third abnormal information and upload it to the server; If not, the commodity license and the first identification information are mapped and stored to generate fourth abnormal information and upload it to the server.

5. The inspection method based on inspection images according to claim 3, It is characterized in that The recognition text also includes store address information, and the method further includes: Acquire a third commodity inspection image, where the third commodity inspection image is acquired by an image acquisition unit, and the third commodity inspection image includes the house number information of the current store; Determine whether the house number information is consistent with the store address information. If not, map and store the third commodity inspection image with the first identification information to generate fifth abnormal information and upload it to the server.

6. The inspection method based on inspection images according to claim 1, It is characterized in that The neural network model is trained in the following way: Constructing a neural network model, the input parameters of which are sample images and commodity types in a sample database, and the output result is commodity information corresponding to the sample images, wherein the sample images include inspection images containing at least one commodity; The sample images and product types in the sample database are read to repeatedly train the neural network model to improve the accuracy of the neural network model and obtain a trained neural network model.

7. A computer-readable storage medium having computer program instructions stored thereon, It is characterized in that The computer program instructions implement the method according to any one of claims 1 to 6 when executed by a processor.

8. An inspection device based on inspection images, It is characterized in that include: An image acquisition unit, used for acquiring an inspection image of the first commodity; a logic operation unit, configured to input the first commodity inspection image into a trained neural network model, and obtain an output result of the neural network model, wherein the output result includes first commodity information of the current first commodity inspection image, wherein the first commodity information includes at least one first commodity type, and obtain second commodity information of a store currently inspected, wherein the second commodity information includes at least one second commodity type, and determine whether the first commodity type is the same as the second commodity type. If not, obtain first identification information of the store currently inspected, wherein the first identification information includes a certificate number and store address information of the current store, and map and store the first identification information and the first commodity information to generate first abnormality information; A communication unit is used to upload the first abnormality information.

9. The inspection device based on inspection images according to claim 8, It is characterized in that The image acquisition unit is integrated on the law enforcement instrument; The inspection equipment also includes: A control unit, wherein the logic operation unit and the communication unit are integrated on the control unit, and the control unit is communicatively connected with the law enforcement instrument.

10. The inspection device based on inspection images according to claim 9, It is characterized in that The control unit is connected to the law enforcement instrument via Bluetooth or WIFI.