Product information checking method and device, electronic equipment and storage medium
Image recognition technology is used to automatically compare the identification data on the pallets in the assembly line production, solving the problem of low manual verification efficiency and realizing efficient product information verification.
Patent Information
- Application Number
- CN202410822585.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-15
AI Technical Summary
In assembly line production, the efficiency of manually checking the product identification information on the pallet with a hand-held code scanner is low. It is necessary to scan the barcode data of each packaging box one by one for comparison, which takes a long time.
By obtaining the image to be identified, image recognition technology is used to automatically identify the identification data on the pallet, determine the target identification data, compare it with the preset data set, mark abnormal data, and improve verification efficiency.
It realizes automated product information verification, reduces the time consumption of manual verification, improves verification efficiency, and avoids the problem of slow manual verification efficiency.
Smart Images

Figure CN118780296A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent manufacturing technology, and specifically to a product information verification method, device, electronic device and storage medium. Background Art
[0002] The products produced on the assembly line are packaged in packaging boxes, and the packaged packaging boxes are affixed with product identification information, which includes multiple barcodes and barcode data corresponding to the barcodes. Each barcode and barcode data can be used to characterize the product type, origin, shipping destination, etc. The packaged products are placed on the pallet according to the preset stacking rules, and the side of the packaging box facing the outside of the pallet has identification data (that is, barcode data). The packaging boxes can be placed on the pallet in one or more layers.
[0003] When identifying and checking the information of goods on the pallet, the operator needs to hold a barcode scanner to scan the target identification data (i.e., target barcode data) in the product identification information on all the packaging boxes placed on the same pallet in turn, and compare the scanned target identification data with the preset identification data to check the relevant information of all the products on the pallet. However, this product information verification method is inefficient. Summary of the invention
[0004] In view of the shortcomings of the related technologies mentioned above, the present application provides a product information verification method, device, electronic device and storage medium to solve the above technical problems.
[0005] A product information verification method provided by this application includes:
[0006] Acquire an image to be identified, the image to be identified comprising a plurality of identification objects and first identification data corresponding to each identification object, the plurality of identification objects are arranged on a pallet according to a first preset rule, and the plurality of identification objects are arranged in at least one layer, and a side of each identification object facing outside the pallet comprises the first identification data;
[0007] Performing image recognition on the image to be recognized to obtain a plurality of first recognition data in the image to be recognized;
[0008] determining target identification data from among the plurality of first identification data;
[0009] Based on the target identification data, determining a target data set from a plurality of data sets, each of the data sets comprising a plurality of preset identification data divided according to a second preset rule, the target data set comprising preset identification data consistent with the target identification data;
[0010] Product information is checked based on the plurality of first identification data and the target data set.
[0011] In one embodiment of the present application, product information verification is performed according to the plurality of first identification data and the target data set, including:
[0012] sequentially determining each of the first identification data as data to be compared, and comparing the data to be compared with preset identification data in the target data set;
[0013] If there is preset identification data consistent with the data to be compared in the target data set, determining that the data to be compared is normal data;
[0014] If there is no preset identification data consistent with the data to be compared in the target data set, it is determined that the data to be compared is abnormal data.
[0015] In one embodiment of the present application, the method further includes:
[0016] Marking the identification object corresponding to the abnormal data in the image to be identified to obtain a result image;
[0017] The resulting image is displayed.
[0018] In one embodiment of the present application, the method further includes:
[0019] Determine the accuracy of data comparison;
[0020] If the data comparison accuracy is less than the preset accuracy, the step of determining the target identification data from the plurality of the first identification data is re-executed, and the target identification data determined each time is different; and the step of checking the product information according to the plurality of the first identification data and the target data set is re-executed;
[0021] If the data comparison accuracy is greater than or equal to a preset accuracy, the identification object corresponding to the abnormal data is marked in the image to be identified to obtain a result image; and the result image is displayed.
[0022] In one embodiment of the present application, obtaining an image to be recognized includes:
[0023] In response to a pallet on which a plurality of identification objects are placed being located at a detection position, obtaining a current pallet height between a highest point of the identification objects and a lowest point of the pallet;
[0024] Based on the current height of the pallet, the height of the image acquisition device is adjusted, and the image acquisition device is located on the side of the pallet and is used to acquire the image to be recognized.
[0025] In one embodiment of the present application, adjusting the height of the image acquisition device based on the current stack height includes:
[0026] In a preset correspondence relationship between pallet height and camera height, determining a camera height corresponding to the current pallet height;
[0027] The height of the image acquisition device is adjusted based on the camera height.
[0028] In one embodiment of the present application, determining target identification data from a plurality of the first identification data includes:
[0029] One of the plurality of first identification data is selected and determined as target identification data.
[0030] To achieve the above objectives and other related objectives, the present application provides a product information verification device, including:
[0031] An image acquisition module is used to acquire an image to be identified, wherein the image to be identified includes a plurality of identification objects and first identification data corresponding to each identification object, wherein the plurality of identification objects are arranged on a pallet according to a first preset rule, and the plurality of identification objects are arranged in at least one layer, and a side of each identification object facing outside the pallet includes the first identification data;
[0032] An image recognition module, used for performing image recognition on the image to be recognized to obtain a plurality of first recognition data in the image to be recognized;
[0033] An identification data determination module, used to determine target identification data from a plurality of the first identification data;
[0034] A data set determination module, configured to determine a target data set from a plurality of data sets based on the target identification data, each of the data sets comprising a plurality of preset identification data divided according to a second preset rule, the target data set comprising preset identification data consistent with the target identification data;
[0035] The product information checking module is used to check the product information according to the plurality of the first identification data and the target data set.
[0036] To achieve the above-mentioned purpose and other related purposes, the present application also provides an electronic device, including a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of one or more of the aforementioned methods.
[0037] To achieve the above-mentioned purpose and other related purposes, the present application also provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of one or more of the aforementioned methods are implemented.
[0038] As described above, the product information verification method, device, electronic device and storage medium provided by the present application have the following beneficial effects:
[0039] A product information verification method in the present application, the method obtains an image to be identified, the image to be identified includes multiple identification objects and multiple first identification data corresponding to the multiple identification objects one by one, the multiple identification objects are arranged on a pallet according to a first preset rule, and the multiple identification objects are arranged in at least one layer, and each identification object includes first identification data on the side facing the outside of the pallet. Image recognition is performed on the image to be identified to obtain multiple first identification data in the image to be identified, target identification data is determined from the multiple first identification data, and based on the target identification data, a target data set is determined from multiple data sets, each data set includes multiple preset identification data divided according to a second preset rule, the target data set includes preset identification data consistent with the target identification data, and product information is verified based on the multiple first identification data and the target data set. In this way, product information can be verified based on the image to be identified, avoiding the problem of slow manual verification efficiency and achieving the effect of improving verification efficiency.
[0040] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0042] Figure 1 It is a schematic diagram of an implementation environment of the product information verification method provided in an embodiment of the present application;
[0043] Figure 2 is a flow chart of a product information verification method shown in an exemplary embodiment of the present application;
[0044] Figure 3 is a schematic diagram showing an exemplary embodiment of the present application in which a plurality of identification objects are arranged on a pallet according to a first preset rule;
[0045] Figure 4 It is a structural block diagram of a product information checking device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0046] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.
[0047] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0048] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.
[0049] Figure 1 It is a schematic diagram of an implementation environment of the product information verification method provided in an embodiment of the present application, and the implementation environment may include a detection device 110 and a terminal 120.
[0050] The detection device 110 can be used to obtain an image to be identified. When a pallet with multiple identification objects is placed at the detection position, the height of the image acquisition device 111 can be adjusted to obtain the image to be identified.
[0051] The terminal 120 may be a mobile phone, a tablet computer, a laptop computer, a smart wearable device, or other terminals. The terminal 120 may be connected to the computer by wire or wireless means ( Figure 1 The terminal 120 is connected to the detection device 110 in a wireless manner. The terminal 120 can obtain the image to be identified from the detection device 110, perform image recognition on the image to be identified to obtain multiple first identification data, and perform product information verification on the first identification data.
[0052] See also Figure 2 , Figure 2 FIG. 1 is a flowchart of a product information verification method shown in an exemplary embodiment of the present application. Figure 2 It can be seen that the product information verification method may include:
[0053] Step S210, obtaining an image to be recognized.
[0054] Among them, the image to be identified includes multiple identification objects and first identification data corresponding to each identification object one by one, the multiple identification objects are arranged on the pallet according to a first preset rule, and the multiple identification objects are arranged in at least one layer, and the side of each identification object facing outside the pallet includes the first identification data.
[0055] In one possible implementation, Figure 1 The image acquisition device 111 shown acquires the image to be identified, and the image to be identified can also be acquired by an operator holding a camera. The image to be identified can be an initial image acquired by a camera, or it can be an image after preprocessing of the initial image. The preprocessing may include denoising, enhancement, scaling, grayscale processing, etc., so as to facilitate subsequent image recognition. The identification object can be arranged in multiple layers on the pallet. When the operator uses a handheld code scanning device to scan one by one, it may be necessary to use other equipment to scan due to factors such as height, which increases the difficulty of the operation. Using the product information verification method provided in the embodiment of the present application, there is no need for the operator to scan one by one with a handheld code scanning device, thereby reducing the difficulty of the operation.
[0056] It should be noted that in the embodiment of the present application, the first identification data may be a serial number (SN), which may also be referred to as an SN code. In actual application, each identification object may also include second identification data on the side facing the outside of the pallet, and the second identification data may be other label data in addition to the SN code. Various identification data may be used to identify the origin, destination, authentication information, etc. of the identification object.
[0057] For example, Figure 3 As shown, it is a schematic diagram of an exemplary embodiment of the present application showing that multiple identification objects are arranged on a pallet according to a first preset rule. Among them, multiple identification objects a are arranged on a pallet b according to the first preset rule, Figure 3 The identification objects are arranged in three layers. Each identification object has a side a1 facing the outside of the pallet, and includes at least first identification data. In specific implementation, images to be identified on four sides of the pallet can be obtained.
[0058] Step S220: performing image recognition on the image to be recognized to obtain a plurality of first recognition data in the image to be recognized.
[0059] In a possible implementation, image recognition can be performed on the image to be identified to obtain multiple first identification data in the image to be identified. When the first identification data is an SN code and the image to be identified also includes second identification data, image recognition can be performed based on the data length of each identification data and the data initial position. For example, the SN code is specified as 15-bit data during production. During image recognition, the length of each identification data can be determined first. Among the identification data with a length of 15 bits, the identification data whose data start position is a preset start position is determined to be the first identification data. The letters and numbers can be arranged according to a preset arrangement to obtain a preset start position, such as "5CG".
[0060] Step S230, determining target recognition data from a plurality of first recognition data.
[0061] In a possible implementation manner, the target identification data may be determined from a plurality of first identification data.
[0062] In an exemplary embodiment, any one of the plurality of first identification data may be selected as the target identification data, or the first identified first identification data may be determined as the target identification data.
[0063] Step S240: determining a target data set from multiple data sets based on the target recognition data.
[0064] Each data set includes a plurality of preset identification data divided according to a second preset rule, and the target data set includes preset identification data consistent with the target identification data.
[0065] In a possible implementation, multiple data sets can be pre-generated based on order information and the number of identification objects placed on each pallet. The number of preset identification data in each data set is equal to the number of identification objects placed on each pallet. The order information may include order quantity, number of units per pallet layer, number of pallet layers, shipping date, model, shipping transportation method, etc. Multiple preset sets can be stored in the IMES system. The IMES system is a basic means to achieve agile workshop production. It establishes a complete production information management process through data collection, tracks, verifies, and manages changes in data information such as personnel, equipment, materials, processes, and environment during the operation process, reduces production activities without added value, and improves factory production efficiency.
[0066] For example, multiple data sets can be generated in advance based on the order quantity, the number of units per layer of the pallet, the number of pallet layers, the shipping date, the model, the shipping transportation method, etc., and a virtual pallet number corresponding to each data set is generated. During production, the order information can be uploaded to the IMES system, the number of pallets can be obtained based on the order quantity in the order information and the number of identification objects placed on the pallet, and multiple SN codes can be generated based on the order information, and the number of SN codes is consistent with the order quantity. The SN codes are divided according to the number of pallets.
[0067] Step S250: verify product information based on the plurality of first identification data and the target data set.
[0068] In a possible implementation, product information may be checked based on a plurality of first identification data and target identification data, so as to detect whether the pallet on which the produced product (identification object) is placed is compliant.
[0069] In an exemplary embodiment, the process of checking product information according to a plurality of first identification data and a target data set in step S250 may include steps S251 to S258.
[0070] Step S251 , sequentially determining each first identification data as data to be compared, and comparing the data to be compared with preset identification data in the target data set.
[0071] In a possible implementation, each first identification data may be determined as the data to be compared in turn, and the data to be compared may be compared with the preset identification data in the target data set, that is, it may be determined in the target data set whether there is preset identification data that is consistent with the data to be compared. After determining the target data set, the multiple preset identification data in the target data set represent the correct identification data of all the detection objects placed on the pallet.
[0072] Step S252: If there is preset identification data in the target data set that is consistent with the data to be compared, then the data to be compared is determined to be normal data.
[0073] In a possible implementation, if there is preset identification data in the target set that is consistent with the data to be compared, it can be determined that the data to be compared is normal data.
[0074] Step S253: If there is no preset identification data consistent with the data to be compared in the target data set, the data to be compared is determined to be abnormal data.
[0075] In one possible implementation, if there is no preset identification data consistent with the data to be compared in the target identification data set, it can be determined that according to the order information, the identification object corresponding to the data to be compared should not be placed on the pallet, which may be a placement error. The operator needs to be prompted to recheck or change the pallet on which the identification object corresponding to the data to be compared is placed.
[0076] Step S254: marking the identification object corresponding to the abnormal data in the image to be identified to obtain a result image.
[0077] In a possible implementation, after comparing all the first recognition data, the recognition objects corresponding to the abnormal data can be marked in the objects to be recognized to obtain a result image. The recognition objects corresponding to the abnormal data can be selected in the image to be recognized with a red box to facilitate the operator to view. In a specific implementation, the number of all the data to be recognized, the number of normal data, the number of abnormal data, the number of images to be recognized corresponding to the pallet, and the serial number of the current image to be recognized corresponding to the pallet can also be marked in the image to be recognized.
[0078] Step S255, display the result image.
[0079] In a possible implementation, the result image can be displayed on the display screen of the terminal so that the operator can know the product information verification result. When all the data to be compared are normal data, the next image to be identified of the pallet can be detected. After the product information is verified according to all the images to be identified corresponding to the pallet, if all the data to be compared are normal data, the product information of the next pallet on which the inspection object is placed can be verified. When the verification result shows that there is at least one abnormal data, an alarm message can be generated to prompt the operator that the inspection object placed on the pallet is placed incorrectly and needs to be verified again, or the inspection object needs to be placed on other corresponding pallets.
[0080] It should be noted that after the product information is checked, the check result can be sent to the IMES system to print the virtual pallet number corresponding to the target data set to complete the packaging.
[0081] In another exemplary embodiment, if there is no preset identification data consistent with the data to be compared in the target data set during step S253, after determining that the data to be compared is abnormal data, steps S256 to S258 may be executed.
[0082] Step S256, determining the data comparison accuracy.
[0083] In a possible implementation, after comparing all first recognition data, the data comparison accuracy can be determined. The data comparison accuracy can be determined based on the amount of normal data and the total amount of normal data and abnormal data, to avoid the problem of low data comparison accuracy due to abnormal target recognition data.
[0084] Step S257, if the data comparison accuracy is less than the preset accuracy, the target identification data is determined in the abnormal data; and the step of verifying the product information based on the plurality of first identification data and the target data set is re-executed.
[0085] In a possible implementation, if the data comparison accuracy is less than the preset accuracy, it can be determined that the target recognition data selection is abnormal, and new target recognition data can be determined from the abnormal data. After the target recognition data is determined, steps S251 to S253 can be performed again.
[0086] Step S258: If the data comparison accuracy is greater than or equal to the preset accuracy, the identification object corresponding to the data to be compared is marked in the image to be identified to obtain a result image; and the result image is displayed.
[0087] In a possible implementation, if the data comparison accuracy is greater than or equal to the preset accuracy, the identification object corresponding to the data to be compared is marked in the image to be identified, and a result image is obtained and displayed. The specific process has been described in the above steps and will not be repeated here.
[0088] In an exemplary embodiment, before executing step S210, the product information checking method may further include steps S310 and S320.
[0089] Step S310 , in response to a pallet on which a plurality of identification objects are placed being located at a detection position, a current pallet height between the highest point of the identification objects and the lowest point of the pallet is obtained.
[0090] In one possible implementation, Figure 1 For example, in response to a pallet on which a plurality of identification objects are placed being located at a detection position, the current pallet height between the highest point of the identification object and the lowest point of the pallet is obtained. A detection device may be installed on the side of the detection device 110 to detect whether a pallet is located at the detection position. When the pallet is located at the detection position, the height of the image acquisition device 111 may be adjusted according to the current pallet height between the highest point of the identification objects placed on the pallet and the lowest point of the pallet.
[0091] In another exemplary embodiment, the current range of the pallet height can be H = pallet height + height of each outer box of the inspection object * number of layers ± 15 * 3%. The unit can be millimeters. The pallet height, the outer box height of each inspection object, and the number of layers can be input by the operator. After the pallet is located at the inspection position, the image acquisition device 111 can also acquire the image to be detected, and identify any first identification data, and obtain the corresponding pallet height, outer box height of each inspection object, and the number of layers from the IMES system based on the first identification data. After determining the current pallet height range, the image acquisition device 111 can be adjusted to the maximum value of the current pallet height range, and the image acquisition device 111 can be controlled to acquire the image to be identified from top to bottom in sequence.
[0092] Step S320: Based on the current height of the pallet, the height of the image acquisition device is adjusted. The image acquisition device is located on the side of the pallet and is used to acquire the image to be recognized.
[0093] In a possible implementation, since the detection object can be placed in one or more layers on the pallet, the height of the image acquisition device can be adjusted based on the current height of the pallet to obtain a complete and clear image to be identified.
[0094] It should be noted that the use of Figure 1 When the detection device 110 shown acquires an image to be recognized, the image acquisition device 111 may be adjusted to the highest point of the detection device 110 after each acquisition of the image to be recognized.
[0095] In an exemplary embodiment, the camera height corresponding to the current pallet height can be determined in a preset correspondence relationship between the height of the object to be identified and the camera height, and the height of the image acquisition device can be adjusted based on the camera height.
[0096] In summary, the scheme of the embodiment of the present application is to obtain an image to be identified, the image to be identified includes multiple identification objects and multiple first identification data corresponding to the multiple identification objects one by one, the multiple identification objects are arranged on the pallet according to the first preset rule, and the multiple identification objects are arranged in at least one layer, and the side of each identification object facing the outside of the pallet includes the first identification data. Image recognition is performed on the image to be identified to obtain multiple first identification data in the image to be identified, target identification data is determined in the multiple first identification data, and based on the target identification data, a target data set is determined in multiple data sets, each data set includes multiple preset identification data divided according to the second preset rule, the target data set includes preset identification data consistent with the target identification data, and product information is checked according to the multiple first identification data and the target data set. In this way, product information can be checked according to the image to be identified, avoiding the problem of slow manual checking efficiency and achieving the effect of improving checking efficiency.
[0097] Figure 4FIG. 1 is a block diagram of a product information checking device shown in an exemplary embodiment of the present application. Figure 4 As shown, the exemplary product information checking device 400 includes:
[0098] The image acquisition module 410 is used to acquire an image to be identified, wherein the image to be identified includes multiple identification objects and first identification data corresponding to each identification object. The multiple identification objects are arranged on a pallet according to a first preset rule, and the multiple identification objects are arranged in at least one layer. The side of each identification object facing outside the pallet includes the first identification data.
[0099] The image recognition module 420 is used to perform image recognition on the image to be recognized to obtain a plurality of first recognition data in the image to be recognized.
[0100] The identification data determination module 430 is used to determine target identification data from a plurality of first identification data.
[0101] The data set determination module 440 is used to determine a target data set from multiple data sets based on the target identification data, each data set includes multiple preset identification data divided according to a second preset rule, and the target data set includes preset identification data consistent with the target identification data.
[0102] The product information checking module 450 is used to check the product information according to the plurality of first identification data and the target data set.
[0103] In a possible implementation, the product information checking module 450 may also be used to:
[0104] sequentially determining each of the first identification data as data to be compared, and comparing the data to be compared with preset identification data in the target data set;
[0105] If there is preset identification data consistent with the data to be compared in the target data set, determining that the data to be compared is normal data;
[0106] If there is no preset identification data consistent with the data to be compared in the target data set, it is determined that the data to be compared is abnormal data.
[0107] In a possible implementation, the product information checking module 450 may also be used to:
[0108] Marking the identification object corresponding to the abnormal data in the image to be identified to obtain a result image;
[0109] The resulting image is displayed.
[0110] In a possible implementation, the product information checking module 450 may also be used to:
[0111] Determine the accuracy of data comparison;
[0112] If the data comparison accuracy is less than the preset accuracy, the target identification data is determined in the abnormal data; and the step of checking the product information according to the plurality of the first identification data and the target data set is re-executed;
[0113] If the data comparison accuracy is greater than or equal to a preset accuracy, the identification object corresponding to the abnormal data is marked in the image to be identified to obtain a result image; and the result image is displayed.
[0114] In a possible implementation, the image acquisition module may also be used to:
[0115] In response to a pallet on which a plurality of identification objects are placed being located at a detection position, obtaining a current pallet height between a highest point of the identification objects and a lowest point of the pallet;
[0116] Based on the current height of the pallet, the height of the image acquisition device is adjusted, and the image acquisition device is located on the side of the pallet and is used to acquire the image to be recognized.
[0117] In a possible implementation, the image acquisition module may also be used to:
[0118] In a preset correspondence relationship between pallet height and camera height, determining a camera height corresponding to the current pallet height;
[0119] The height of the image acquisition device is adjusted based on the camera height.
[0120] In a possible implementation, the identification data determination module may also be used to:
[0121] One of the plurality of first identification data is selected and determined as target identification data.
[0122] It should be noted that the product information verification device provided in the above embodiment and the product information verification method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the product information verification device provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0123] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the product information verification method provided in the above-mentioned embodiments.
[0124] Another aspect of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the product information verification method provided in each of the above embodiments. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.
[0125] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0126] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the product information verification method provided in each of the above embodiments.
[0127] In the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. "Including" and "comprising" mentioned throughout the specification and claims are open-ended terms and should be interpreted as "including but not limited to".
[0128] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A product information verification method, characterized in that: include: Acquire an image to be identified, the image to be identified comprising a plurality of identification objects and first identification data corresponding to each identification object, the plurality of identification objects are arranged on a pallet according to a first preset rule, and the plurality of identification objects are arranged in at least one layer, and a side of each identification object facing outside the pallet comprises the first identification data; Performing image recognition on the image to be recognized to obtain a plurality of first recognition data in the image to be recognized; determining target identification data from among the plurality of first identification data; Based on the target identification data, determining a target data set from a plurality of data sets, each of the data sets comprising a plurality of preset identification data divided according to a second preset rule, the target data set comprising preset identification data consistent with the target identification data; Product information is checked based on the plurality of first identification data and the target data set.
2. The product information verification method according to claim 1, characterized in that: Performing product information verification according to the plurality of first identification data and the target data set includes: sequentially determining each of the first identification data as data to be compared, and comparing the data to be compared with preset identification data in the target data set; If there is preset identification data consistent with the data to be compared in the target data set, determining that the data to be compared is normal data; If there is no preset identification data consistent with the data to be compared in the target data set, it is determined that the data to be compared is abnormal data.
3. The product information verification method according to claim 2, characterized in that: The method further comprises: Marking the identification object corresponding to the abnormal data in the image to be identified to obtain a result image; The resulting image is displayed.
4. The product information verification method according to claim 2, characterized in that: The method further comprises: Determine the accuracy of data comparison; If the data comparison accuracy is less than the preset accuracy, the target identification data is determined in the abnormal data; and the step of checking the product information according to the plurality of the first identification data and the target data set is re-executed; If the data comparison accuracy is greater than or equal to a preset accuracy, the identification object corresponding to the abnormal data is marked in the image to be identified to obtain a result image; and the result image is displayed.
5. The product information verification method according to claim 1, characterized in that: Get the image to be recognized, including: In response to a pallet on which a plurality of identification objects are placed being located at a detection position, obtaining a current pallet height between a highest point of the identification objects and a lowest point of the pallet; Based on the current height of the pallet, the height of the image acquisition device is adjusted, and the image acquisition device is located on the side of the pallet and is used to acquire the image to be recognized.
6. The product information checking method according to claim 5, characterized in that: Adjusting the height of the image acquisition device based on the current stack height includes: In a preset correspondence relationship between pallet height and camera height, determining a camera height corresponding to the current pallet height; The height of the image acquisition device is adjusted based on the camera height.
7. The product information verification method according to claim 1, characterized in that: Determining target identification data from the plurality of first identification data comprises: One of the plurality of first identification data is selected and determined as target identification data.
8. A product information checking device, characterized in that: include: An image acquisition module is used to acquire an image to be identified, wherein the image to be identified includes a plurality of identification objects and first identification data corresponding to each identification object, wherein the plurality of identification objects are arranged on a pallet according to a first preset rule, and the plurality of identification objects are arranged in at least one layer, and a side of each identification object facing outside the pallet includes the first identification data; An image recognition module, used for performing image recognition on the image to be recognized to obtain a plurality of first recognition data in the image to be recognized; An identification data determination module, used to determine target identification data from a plurality of the first identification data; A data set determination module, configured to determine a target data set from a plurality of data sets based on the target identification data, each of the data sets comprising a plurality of preset identification data divided according to a second preset rule, the target data set comprising preset identification data consistent with the target identification data; The product information checking module is used to check the product information according to the plurality of the first identification data and the target data set.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
