Code recognition method and code recognition device

By obtaining and repairing the coded picture of the target object, and determining the detection method based on the clarity, the problem of misdelivery caused by fuzzy recognition in the traditional code recognition system is solved, the recognition accuracy and reliability are improved, and the accuracy of logistics information is ensured.

CN118536531APending Publication Date: 2024-08-23GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410450471.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Traditional physical coding recognition systems are prone to fuzzy recognition when the target object moves too fast or is too far away, causing the mechanical gripper to misjudge and misdeliver the target object.

Method used

By obtaining the coded picture and clarity on the target object, the code detection method is determined based on the comparison between the clarity and the preset threshold, direct detection or post-repair detection, ensuring that the code recognition device eliminates the target object when it recognizes errors.

Benefits of technology

It improves the accuracy and reliability of identification of target objects, reduces the probability of misdelivery, and ensures accurate traceability of logistics and inventory information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536531A
    Figure CN118536531A
Patent Text Reader

Abstract

The invention relates to a code recognition method and device, and the method comprises the steps: obtaining a coded picture on a target object and the definition of the coded picture, and determining a code detection method corresponding to a comparison result according to the comparison result of the definition and a preset definition threshold value; according to the code detection method, detecting the code in the coded picture to obtain a detection result, controlling the code recognition device to continuously transmit the target object when the detection result is that the code is correct, and controlling the code recognition device to continuously transmit the target object when the detection result is that the code is wrong. And controlling the code recognition device to remove the target objects with wrong codes. By adopting the method, the correctness and the reliability of the transmitted target object can be improved, so that the probability of mistakenly transmitting the target object can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of code recognition, and in particular to a code recognition method and a code recognition device. Background Art

[0002] RFID (Radio Frequency Identification) is a common product coding recognition technology. If an RFID tag is attached or embedded on a target object such as a product, the code on the product can be identified and parsed through an RFID reader to clearly obtain the product's logistics information, inventory information, production process information and other information.

[0003] In traditional technology, when the existing physical coding recognition system is used to identify products, it is easy to have fuzzy recognition problems due to the target object moving too fast or too far on the production line. In the subsequent process of grabbing and removing the wrongly coded target object, the mechanical gripper is also prone to misjudgment, causing the wrongly coded target object to continue to be transmitted along the production line, resulting in the target object being misdelivered. Summary of the invention

[0004] Based on this, it is necessary to provide a coding recognition method and a coding recognition device to address the above technical problems.

[0005] In a first aspect, the present application provides a coding recognition method, the method comprising:

[0006] Obtaining the coded image on the target object and the clarity of the coded image, and determining the coding detection method corresponding to the comparison result according to the comparison result between the clarity and the preset clarity threshold value;

[0007] According to the coding detection method, the coding in the coding image is detected to obtain a detection result. When the detection result is that the coding is correct, the coding recognition device is controlled to continue transmitting the target object. When the detection result is that the coding is wrong, the coding recognition device is controlled to eliminate the target object with the wrong coding.

[0008] In one of the embodiments, according to the comparison result between the definition and the preset definition threshold value, determining the encoding detection method corresponding to the comparison result includes:

[0009] When the definition is not less than the preset definition threshold, the coding detection method is to directly detect the coding in the coded picture;

[0010] When the definition is less than a preset definition threshold, the coding detection method is to repair the coded image according to a preset image repair method to obtain a repaired coded image, and detect the code in the repaired coded image.

[0011] In one embodiment, detecting the code in the coded picture to obtain the detection result includes:

[0012] In the preset coding database, search and determine whether there is a target coding that is consistent with the coding in the coding picture. If the target coding exists in the preset coding database, the detection result is that the coding is correct; if the target coding does not exist in the preset coding database, the detection result is that the coding is wrong.

[0013] In a second aspect, the present application also provides a coding recognition device. The device comprises:

[0014] A coding detection method determination module is used to obtain a coding picture on a target object and the clarity of the coding picture, and determine a coding detection method corresponding to the comparison result according to a comparison result between the clarity and a preset clarity threshold value;

[0015] The coding detection result determination module is used to detect the coding in the coding picture according to the coding detection method to obtain the detection result. When the detection result is that the coding is correct, the coding recognition device is controlled to continue to transmit the target object. When the detection result is that the coding is wrong, the coding recognition device is controlled to eliminate the target object with wrong coding.

[0016] In one embodiment, the coding detection method determination module includes:

[0017] A coded image acquisition module, used to acquire coded images;

[0018] The repair module is connected to the coded image acquisition module and is used to repair the coded image whose clarity is less than a preset clarity threshold to obtain a repaired coded image.

[0019] In one embodiment, the coding detection result determination module includes:

[0020] An extraction module, connected to both the coded picture acquisition module and the repair module, for extracting the code in the coded picture or the repaired coded picture;

[0021] The detection module is connected to the extraction module. The detection module is used to compare the code with the code in the preset code database. When there is a target code consistent with the code in the preset database, the detection result is determined to be correct coding. When there is no target code consistent with the code in the preset database, the detection result is determined to be wrong coding.

[0022] In one embodiment, the device further comprises:

[0023] Bracket;

[0024] A conveying component is arranged on the bracket, the conveying component is electrically connected to the detection module, and the conveying component is used to continue conveying the target object when the detection result shows that the encoding is correct;

[0025] The grab control component is arranged on one side of the bracket. The grab control component is electrically connected to the detection module. The grab control component is used to grab and remove the target object with coding error when the detection result is coding error.

[0026] In one embodiment, the transmission component includes:

[0027] A conveyor belt is wound on the bracket;

[0028] The driving member is arranged on the bracket and is electrically connected to the detection module. The driving member is used to drive the conveyor belt to rotate when the detection result shows that the encoding is correct.

[0029] In one embodiment, the grab control component includes:

[0030] A support platform is arranged on one side of the bracket;

[0031] A clamping claw, arranged on a supporting platform, the clamping claw is used to clamp a target object with a coding error;

[0032] A horizontal driving member is arranged on the support platform, and is used to drive the clamping claw to move in a horizontal direction;

[0033] The lifting drive member is arranged on the support platform, and is used for driving the clamping claw to move in the vertical direction.

[0034] In one embodiment, the bottom of the clamping jaw is rotatably connected to the inner clamping plate.

[0035] The above-mentioned coding recognition method and coding recognition device, wherein the method includes obtaining the coding picture on the target object and the clarity of the coding picture, and determining the coding detection method corresponding to the comparison result according to the comparison result of the clarity and the preset clarity threshold value; according to the coding detection method, the coding in the coding picture is detected to obtain the detection result, and when the detection result is that the coding is correct, the coding recognition device is controlled to continue to transmit the target object, and when the detection result is that the coding is wrong, the coding recognition device is controlled to eliminate the target object with the coding error. The present application first repairs the coding picture whose clarity is lower than the preset clarity threshold, that is, the relatively blurred coding picture, obtains the repaired coding picture, and then recognizes and detects the code in the repaired coding picture, and when the detection result is that the coding is correct, the coding recognition device is controlled to continue to transmit the target object, and when the detection result is that the coding is wrong, the coding recognition device is controlled to eliminate the target object with the coding error, thereby helping to improve the accuracy and reliability of the transmitted target object, that is, helping to reduce the probability of the target object being misdelivered. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A diagram of an application environment of a code recognition method in an embodiment;

[0037] Figure 2 A flowchart of a coding identification method in one embodiment;

[0038] Figure 3 is a structural block diagram of a code recognition device in one embodiment;

[0039] Figure 4 A structural block diagram of a coding detection method determination module in an embodiment;

[0040] Figure 5 A structural block diagram of a coding detection result determination module in one embodiment;

[0041] Figure 6 is a schematic diagram of the structure of a code recognition device in some embodiments;

[0042] Figure 7 It is a structural schematic diagram for reflecting the connection relationship between the support platform, the horizontal driving member, the lifting driving member and the clamping claw in some embodiments;

[0043] Figure 8 It is a structural schematic diagram for reflecting the connection relationship between the horizontal driving member, the lifting driving member, the connecting block, the limit frame, the clamping claw, the pressure sensor, the visual sensor and the inner clamping plate in some embodiments.

[0044] Reference numerals:

[0045] 100, bracket; 110, support rod; 120, rotating shaft; 200, conveying component; 210, conveyor belt; 220, driving motor; 300, coding detection component; 310, coding detection method determination module; 312, coding image acquisition module; 314, repair module; 320, coding detection result determination module; 322, extraction module; 324, detection module; 326, storage module; 330, graphics processing module; 340, frame selection module; 400, grab control component; 410, support table; 411, horizontal section; 4110, first slide ; 4111, slider; 4112, fixed block; 4113, second slide; 412, vertical section; 413, connecting block; 414, limit frame; 415, hydraulic rod; 416, migration disk; 417, center block; 418, visual sensor; 420, clamping claw; 422, inner clamping plate; 424, pressure sensor; 430, horizontal drive member; 432, servo motor; 434, screw rod; 440, lifting drive member; 450, guide slide; 500, outer frame plate; 510, third slide; 512, sliding rod; 514, rod frame; 520, bearing block. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] The coding recognition method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown, the code recognition terminal 102 is set on the transmission line of the target object. The code recognition terminal 102 is used to identify and detect the code on the target object. The code recognition terminal 102 can be connected to the data storage system 104 through a network or a wired electrical connection. The data storage system 104 stores a preset code database, and the preset code database stores preset code information. These code information are unique and certain; wherein the target object can be a real object with use and sale functions such as a product or an article. In order to ensure that the logistics information, inventory information and other information of the target object can be smoothly traced in any link of the whole life cycle of the target object, the target object is usually attached or embedded with RFID (Radio The RFID tag is used to identify the code on the target object, so that when the code on the RFID tag is identified, the logistics information, inventory information and other information of the target object can be successfully obtained. In order to ensure the traceability of this information, the correctness of the code on the target object needs to be detected. During the detection, the code recognition terminal 102 will identify the code on the target object. When the code recognized by the code recognition terminal 102 is the code in the preset code database, it is determined that the code on the target object is correct, that is, the detection result is correct, and the target object continues to be transmitted; when the code recognized by the code recognition terminal 102 is not the code in the preset code database, it is determined that the code on the target object is wrong, that is, the detection result is wrong, and the target object is removed from the transmission line, thereby ensuring the correctness and reliability of the transmitted target object, thereby reducing the probability of misdelivery of the target object.

[0048] In one embodiment, Figure 2 As shown, this method is applied to Figure 1 The coding identification terminal in the embodiment is used as an example for explanation. It can be understood that the method can also be applied to a system including the coding identification terminal. In this embodiment, the coding identification terminal is taken as an example as a coding identification device. In this embodiment, the method includes the following steps:

[0049] Step 202, obtaining the coding picture on the target object and the definition of the coding picture, and determining the coding detection method corresponding to the comparison result according to the comparison result between the definition and the preset definition threshold value.

[0050] The coded image is a picture of the code corresponding to the RFID tag on the target object taken by the code recognition device. The clarity of the coded image is obtained by the code recognition device, and the preset clarity threshold is set according to historical experience in the actual detection process of the coded image. The code detection method is a preset method for detecting whether the code is correct or not, and different comparison results correspond to different code detection methods.

[0051] Exemplarily, a coding image corresponding to an RFID tag on a certain power grid product, such as a transformer, and the clarity of the coding image are obtained, the clarity is compared with a preset clarity threshold to obtain a comparison result, and a corresponding coding detection method is determined according to the comparison result.

[0052] Step 204, according to the coding detection method, the code in the coding image is detected to obtain a detection result. When the detection result is that the coding is correct, the coding recognition device is controlled to continue to transmit the target object. When the detection result is that the coding is wrong, the coding recognition device is controlled to eliminate the target object with the coding error.

[0053] Exemplarily, according to the coding detection method corresponding to the comparison result, the code in the coding image is detected to obtain a detection result. When the detection result is that the coding is correct, it indicates that the coding meets the preset production standard, and the target object corresponding to the coding can continue to be transmitted by the coding recognition device; when the detection result is that the coding is wrong, it indicates that the coding does not meet the preset production standard, and the target object corresponding to the coding cannot continue to be transmitted, that is, it needs to be immediately removed from the target object cluster of the same transmission batch.

[0054] In the above-mentioned code recognition method, the code image with clarity lower than the preset clarity threshold, that is, the relatively blurred code image, is first repaired to obtain the repaired code image, and then the code in the repaired code image is recognized and detected. If the detection result is that the code is correct, the code recognition device is controlled to continue to transmit the target object. If the detection result is that the code is wrong, the code recognition device is controlled to eliminate the target object with the wrong code, which helps to improve the accuracy and reliability of the transmitted target object, that is, helps to reduce the probability of misdelivery of the target object.

[0055] In one embodiment, based on the comparison result between the clarity and the preset clarity threshold, a coding detection method corresponding to the comparison result is determined, including: when the clarity is not less than the preset clarity threshold, the coding detection method is to directly detect the code in the coded picture; when the clarity is less than the preset clarity threshold, the coding detection method is to repair the coded picture according to a preset picture repair method to obtain a repaired coded picture, and detect the code in the repaired coded picture.

[0056] Among them, the preset image repair methods include but are not limited to image enhancement, interpolation algorithm, image restoration, multi-frame image fusion and other methods. Taking the image enhancement method as an example, the image enhancement method can be used to enhance the relatively blurred encoded image to improve the clarity and quality of the encoded image. The repair process may involve operations such as denoising, sharpening, and contrast enhancement.

[0057] Exemplarily, taking the preset clarity threshold of 0.8 as an example, when the clarity of the obtained coded image is greater than or equal to 0.8, the code in the coded image is directly identified using the corresponding code detection method; when the clarity of the obtained coded image is less than 0.8, it indicates that the clarity of the coded image is low, and the coded image must be repaired according to the preset image repair method until the clarity of the repaired coded image is not less than 0.8, and then the code in the repaired coded image is identified.

[0058] In this embodiment, after obtaining the coded image of the target object, the clarity of the coded image is first detected. When the clarity of the coded image is less than a preset clarity threshold, the coded image is first repaired, and then the code in the repaired coded image is identified, thereby ensuring that the code on each target object being transmitted can be accurately detected, which helps to improve the accuracy of the detection results when the code is subsequently detected, and further helps to reduce the probability of product misdelivery.

[0059] In one embodiment, the code in the coded image is detected to obtain a detection result, including: searching and determining in a preset coding database whether there is a target code that is consistent with the code in the coded image, and when the target code exists in the preset coding database, the detection result is that the coding is correct; when the target code does not exist in the preset coding database, the detection result is that the coding is wrong.

[0060] Among them, the preset coding database is a database that stores the correct coding information on all target objects of the same batch or different batches, that is, after the code on the target object is identified, if the code is a code existing in the preset coding database, it means that the coding of the target object is correct, and the target object can continue to be transmitted; if the code is not a code existing in the preset coding database, it means that the coding of the target object is wrong, and the target object cannot be transmitted further and should be eliminated.

[0061] For example, taking the code AC01 identified by a target object as an example, if the coding information consistent with AC01 is not found in the preset coding database, it indicates that the coding is wrong, that is, the detection result is a coding error; on the contrary, if the coding information consistent with AC01 can be found in the preset database, it indicates that the coding is correct, that is, the detection result is a correct coding.

[0062] The present embodiment adopts the above method to first repair the coded image whose clarity is lower than the preset clarity threshold, that is, the relatively blurred coded image, to obtain the repaired coded image, and then search in the preset coding database according to the code in the repaired coded image. When there is coding information consistent with the code in the preset coding database, it is determined that the code is correct, and the coding recognition device is controlled to continue to transmit the target object corresponding to the code. When the coding information consistent with the code is not found in the preset coding database, it is determined that the code is wrong, and the coding recognition device is controlled to eliminate the target object with the wrong code, which helps to improve the correctness and reliability of the transmitted target object, that is, it helps to reduce the probability of the target object being misdelivered.

[0063] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0064] Based on the same inventive concept, Figure 3 As shown, an embodiment of the present application also provides a coding recognition device for implementing the coding recognition method involved above. The coding recognition device is used to identify and detect the code on the target object, and when the detection result is that the code is correct, continue to transmit the target object, and when the detection result is that the code is wrong, the target object can be promptly removed from the transmission line, thereby ensuring the correctness and reliability of the transmitted target object, thereby reducing the probability of misdelivery of the target object. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more coding recognition device embodiments provided below can refer to the limitations on the coding recognition method above, and will not be repeated here. A coding recognition device provided in the present application includes a coding detection method determination module 310 and a coding detection result determination module 320, wherein:

[0065] The coding detection method determination module 310 is used to obtain the coding picture on the target object and the clarity of the coding picture, and determine the coding detection method corresponding to the comparison result based on the comparison result between the clarity and the preset clarity threshold value.

[0066] The coding detection result determination module 320 is used to detect the coding in the coding picture according to the coding detection method to obtain the detection result. When the detection result is that the coding is correct, the coding recognition device is controlled to continue to transmit the target object. When the detection result is that the coding is wrong, the coding recognition device is controlled to eliminate the target object with the coding error.

[0067] In one embodiment, Figure 4 As shown, the coding detection method determination module 310 includes:

[0068] The coded picture acquisition module 312 is used to acquire the coded picture;

[0069] The repair module 314 is connected to the coded picture acquisition module 312, and is used to repair the coded picture whose clarity is less than a preset clarity threshold to obtain a repaired coded picture.

[0070] The coded image acquisition module 312 is a camera or other shooting device with an image shooting function, the repair module 314 is a computer program module including a preset image repair algorithm, and the repair module 314 is electrically connected to the coded image acquisition module 312 .

[0071] In this embodiment, when the coded picture acquisition module 312 acquires the coded picture of the coding information about the target object, it first determines whether to perform repair first based on the comparison result of the clarity of the coded picture and the preset clarity threshold. When the clarity of the coded picture is less than the preset clarity threshold, the coded picture acquisition module 312 transmits the coded picture to the repair module 314, so that the coded picture is repaired by the repair module 314 to obtain the repaired coded picture.

[0072] In one embodiment, Figure 5 As shown, the coding detection result determination module 320 includes:

[0073] An extraction module 322, connected to both the coded picture acquisition module 312 and the repair module 314, for extracting the code in the coded picture or the repaired coded picture;

[0074] The detection module 324 is connected to the extraction module 322. The detection module 324 is used to compare the code with the code in the preset code database. When there is a target code consistent with the code in the preset database, the detection result is determined to be correct coding. When there is no target code consistent with the code in the preset database, the detection result is determined to be wrong coding.

[0075] Among them, the extraction module 322 is a computer program module that includes a preset image information extraction algorithm, and the detection module 324 is also a computer program module. Both the extraction module 322 and the detection module 324 can be loaded into the coding recognition device. In addition, the coding detection result determination module 320 also includes a storage module 326. The storage module 326 is used to store a preset coding database. The storage module 326 can be loaded in the aforementioned data storage system or loaded in the coding recognition device.

[0076] In this embodiment, after the extraction module 322 extracts the code from the coded image or the repaired coded image, the code is transmitted to the detection module 324. The detection module 324 compares the code with the code in the preset coding database. When there is a code consistent with the code in the preset coding database, it is determined that the code is correct; when there is no code consistent with the code in the preset coding database, it is determined that the code is wrong.

[0077] In one embodiment, Figure 5 and Figure 6 As shown, the device also includes a bracket 100, a transmission component 200 and a grasping control component 400, wherein the transmission component 200 is arranged on the bracket 100, the transmission component 200 is electrically connected to the detection module 324, and the transmission component 200 is used to continue to convey the target object when the detection result is that the encoding is correct; the grasping control component 400 is arranged on one side of the bracket 100, the grasping control component 400 is electrically connected to the detection module 324, and the grasping control component 400 is used to grasp and remove the target object with encoding error when the detection result is that the encoding is wrong.

[0078] Among them, the bracket 100 is used to provide stable support for the conveying component 200 and the grasping control component 400. The conveying component 200 is used to control whether the target object continues to be conveyed according to the detection result. The grasping control component 400 is used to grasp the target object with coding error on the conveying component 200, so as to reduce the possibility of the target object with coding error mixing with the qualified target object and continuing to be conveyed, thereby reducing the probability of product misdelivery.

[0079] Specifically, the device also includes a coding detection component 300, which is arranged on a side of the bracket 100 away from the grasping control component 400, that is, the coding detection component 300 is arranged opposite to the grasping control component 400, the coding detection method determination module 310 and the coding detection result determination module 320 can be arranged in the coding detection component 300, the coding image acquisition module 312 is arranged in the coding detection component 300, and the coding image acquisition module 312 is located directly above the transmission component 200 to shoot the coding information on the target object to obtain a coding image, the repair module 314, the extraction module 322, the detection module 324 and the storage module 326 can all be loaded into the coding detection component 300 in the form of computer program modules, so that after the coding detection component 300 is electrically connected to the grasping control component 400 and the transmission component 200, the startup and operation status of the grasping control component 400 and the transmission component 200 can be controlled respectively according to the detection results.

[0080] In this embodiment, the cooperation of the transmission component 200, the grasping control component 400 and the detection module 324 helps to quickly identify and grasp the target object with coding errors, thereby reducing the probability of misdelivery of the target object.

[0081] In one embodiment, Figure 6 As shown, the conveying component 200 includes a conveyor belt 210 and a driving member, wherein the conveyor belt 210 is wound around the bracket 100; the driving member is arranged on the bracket 100, and the driving member is electrically connected to the detection module 324, and the driving member is used to drive the conveyor belt 210 to rotate when the detection result is that the encoding is correct.

[0082] The bracket 100 includes two groups of support rods 110, each group of support rods 110 includes two V-shaped support rods 110, and the intersecting parts of the V-shaped support rods 110 are arranged upward, and a rotating shaft 120 is rotatably connected between the two support rods 110 of each group, and the conveyor belt 210 is wound between the two rotating shafts 120. The driving member includes a driving motor 220, which is fixedly connected to the side wall of one of the support rods 110, and the motor shaft of the driving motor 220 is coaxially fixedly connected to the rotating shaft 120.

[0083] Specifically, when the target object is transmitted to the bottom of the coding image acquisition module 312 on the conveyor belt 210, the drive motor 220 controls the rotating shaft 120 to stop rotating, so that the coding image acquisition module 312 shoots the code on the target object to obtain a coded image. When the clarity of the coded image is less than the preset clarity threshold, the repair module 314 is used to repair the coded image to obtain a repaired coded image, and then the code in the coded image is extracted by the extraction module 322 to obtain the code, and then the detection module 324 is used to detect the code. When the detection result is that the code is correct, the drive motor 220 controls the rotating shaft 120 to continue rotating to achieve continued transmission of qualified target objects. When the detection result is that the code is wrong, the drive motor 220 does not move, and the grasping control component 400 grasps the target object with the wrong code on the conveyor belt 210 to remove the target object with the wrong code from the conveyor belt 210, thereby reducing the probability of product misdelivery.

[0084] In one embodiment, Figures 6 to 8 As shown, the grasping control component 400 includes a support platform 410, a clamp 420, a horizontal driving member 430 and a lifting driving member 440, wherein the support platform 410 is arranged on one side of the bracket 100; the clamp 420 is arranged on the support platform 410, and the clamp 420 is used to clamp the target object with coding error; the horizontal driving member 430 is arranged on the support platform 410, and the horizontal driving member 430 is used to drive the clamp 420 to move in the horizontal direction; the lifting driving member 440 is arranged on the support platform 410, and the lifting driving member 440 is used to drive the clamp 420 to move in the vertical direction.

[0085] The coding identification device further comprises an outer frame plate 500 disposed on one side of the bracket 100, the length direction of the outer frame plate 500 is parallel to the transmission direction of the conveyor belt 210, a third slide groove 510 is disposed on the top wall of the outer frame plate 500, the length direction of the third slide groove 510 is parallel to the transmission direction of the conveyor belt 210, and a bearing block 520 slides in the third slide groove 510. The longitudinal section of the support platform 410 is L-shaped, the vertical section 412 of the support platform 410 is fixedly connected to the outer frame plate 500, the horizontal section 411 of the support platform 410 extends toward the conveyor belt 210, a first slide groove 4110 is penetrated on the top wall of the horizontal section 411 of the support platform 410, the extension direction of the first slide groove 4110 is parallel to the length direction of the horizontal section 411, a slider 4111 is slidably connected in the first slide groove 4110, and a fixed block 4112 is fixedly connected to the bottom end of the slider 4111.

[0086] A second slide groove 4113 is provided in the vertical direction on the side wall of the fixed block 4112 away from the vertical section 412 of the support platform 410, and a connecting block 413 is slidably connected in the second slide groove 4113. The connecting block 413 is fixedly connected to a limiting frame 414 on the side away from the fixed block 4112. A hydraulic rod 415 is fixedly connected to the top of the limiting frame 414, and a migration disk 416 is fixedly connected to the outer wall of the hydraulic rod 415. One end of the hydraulic rod 415 penetrates the migration disk 416 and is fixedly connected to the migration disk 416. The migration disk 416 can move up and down synchronously with the up and down reciprocating motion of the hydraulic rod 415 in the space enclosed by the limiting frame 414. The bottom of one end of the hydraulic rod 415 passing through the migration disk 416 is fixedly connected to a center block 417, and a visual sensor 418 is fixedly connected to the outer wall of the center block 417, and the clamp 420 is rotatably connected to the bottom of the center block 417. The lifting drive member 440 includes a cylinder, which is fixed on the top wall of the slider 4111 , and a driving end of the cylinder passes through the top wall of the slider 4111 and extends into the second slide groove 4113 , and the driving end of the cylinder is connected to the connecting block 413 .

[0087] A guide slot 450 is provided in the vertical direction on the side wall of the support platform 410 near the limiting frame 414. A sliding rod 512 is slidably connected in the guide slot 450. A rod frame 514 is slidably connected on the sliding rod 512. One end of the rod frame 514 away from the sliding rod 512 is fixedly connected to the limiting frame 414. One end of the sliding rod 512 away from the support platform 410 faces the clamping claw 420. The horizontal driving member 430 includes a servo motor 432 and a lead screw 434. The servo motor 432 is fixed on the outer side wall of the top of the vertical end of the support platform 410 away from the limiting frame 414. The lead screw 434 is rotatably connected in the first slot 4110. The motor shaft of the servo motor 432 passes through the end wall of the first slot 4110 and is coaxially fixedly connected to one end of the lead screw 434.

[0088] Specifically, when the detection result is that the coding of the target object is wrong, the visual sensor 418 first obtains the area information where the target object is located, and then controls the servo motor 432 to start, so that the clamp 420 moves to the top of the target object under the cooperation of the screw rod 434 and the slider 4111, and then controls the cylinder to start, so that the clamp 420 moves downward to close to the target object, and then controls the hydraulic rod 415 to start, so that the hydraulic rod 415 drives the center block 417 to move downward, so that the clamp 420 is supported by the sliding rod 512. The bottom end of the clamp 420 has a tendency to grip inward, and then the clamp 420 successfully clamps the target object with a coding error, and places the target object on the supporting block 520, so that the target object can be smoothly moved out from the side of the conveyor belt 210 after the supporting block 520 is slid.

[0089] In one embodiment, Figure 8As shown, the bottom of the clamping jaw 420 is rotatably connected to an inner clamping plate 422 .

[0090] Specifically, when the clamping jaws 420 grip the target object inwardly, the inner clamping plate 422 will also deflect and perform secondary clamping on the portion of the target object outside the clamping jaws 420 , thereby ensuring that the clamping jaws 420 can stably clamp the target object.

[0091] In one embodiment, Figure 3 and Figure 8 As shown, a pressure sensor 424 is also provided on the inner wall of the clamp 420. The coding recognition device also includes a graphics processing module 330 and a frame selection module 340. The pressure sensor 424 and the graphics processing module 330 are both electrically connected to the visual sensor 418, and the frame selection module 340 and the graphics processing module 330 are connected.

[0092] In this embodiment, when the pressure sensor 424 on the clamp 420 does not detect any pressure transmission, the visual sensor 418 is activated, and the visual sensor 418 transmits an electrical signal to the graphics processing module 330. After receiving the electrical signal, the graphics processing module 330 locks the approximate position of the target object and transmits the electrical signal to the frame selection module 340, so that the frame selection module 340 transmits the electrical signal in reverse to the grasping control component 400, so that the grasping control component 400 grasps the target object within the predetermined range through the frame selection module 340.

[0093] The coding recognition device in the present application, through the cooperation of the bracket 100, the conveyor belt 210, the drive motor 220, the support table 410, the limit frame 414, the cylinder, the clamp 420, the sliding rod 512, the servo motor 432, the screw 434, the visual sensor 418, the pressure sensor 424, the graphics processing module 330 and the frame selection module 340, helps to realize the horizontal and vertical movement of the clamp 420 to stably clamp the target object with coding errors, thereby ensuring the transmission efficiency and reliability of the target object.

[0094] Each module in the above-mentioned coding recognition device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0095] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0096] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0097] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0098] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0099] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0100] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0101] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A code recognition method, applied to a code recognition device, characterized in that: The method comprises: Obtaining a coding picture on a target object and the clarity of the coding picture, and determining a coding detection method corresponding to the comparison result according to a comparison result between the clarity and a preset clarity threshold value; According to the coding detection method, the coding in the coding image is detected to obtain a detection result. When the detection result is that the coding is correct, the coding recognition device is controlled to continue transmitting the target object. When the detection result is that the coding is wrong, the coding recognition device is controlled to eliminate the target object with the coding error.

2. The method according to claim 1, characterized in that According to a comparison result between the definition and a preset definition threshold value, determining a coding detection method corresponding to the comparison result includes: When the definition is not less than a preset definition threshold, the coding detection method is to directly detect the coding in the coded picture; When the clarity is less than a preset clarity threshold, the coding detection method is to repair the coded image according to a preset image repair method to obtain a repaired coded image, and detect the code in the repaired coded image.

3. The method according to claim 1, characterized in that The detecting the code in the coded picture to obtain a detection result includes: In the preset coding database, search and determine whether there is a target coding that is consistent with the coding in the coding picture. When the target coding exists in the preset coding database, the detection result is that the coding is correct; when the target coding does not exist in the preset coding database, the detection result is that the coding is wrong.

4. A coding recognition device, characterized in that: The device comprises: A coding detection method determination module, used to obtain a coding picture on a target object and the clarity of the coding picture, and determine a coding detection method corresponding to the comparison result according to a comparison result between the clarity and a preset clarity threshold value; The coding detection result determination module is used to detect the coding in the coding picture according to the coding detection method to obtain a detection result. When the detection result is that the coding is correct, the coding recognition device is controlled to continue to transmit the target object. When the detection result is that the coding is wrong, the coding recognition device is controlled to eliminate the target object with wrong coding.

5. The code recognition device according to claim 4, characterized in that: The coding detection method determination module includes: A coded picture acquisition module, used to acquire the coded picture; The repair module is connected to the coded image acquisition module and is used to repair the coded image whose clarity is less than the preset clarity threshold to obtain a repaired coded image.

6. The code recognition device according to claim 5, characterized in that: The coding detection result determination module comprises: An extraction module, connected to both the coded picture acquisition module and the repair module, and configured to extract the code in the coded picture or the repaired coded picture; A detection module is connected to the extraction module, and the detection module is used to compare the code with the code in a preset code database. When there is a target code consistent with the code in the preset database, the detection result is determined to be a correct code. When there is no target code consistent with the code in the preset database, the detection result is determined to be an incorrect code.

7. The code recognition device according to claim 6, characterized in that: The device also includes: Bracket; A conveying component is arranged on the bracket, the conveying component is electrically connected to the detection module, and the conveying component is used to continue conveying the target object when the detection result is that the encoding is correct; A grab control component is arranged on one side of the bracket, the grab control component is electrically connected to the detection module, and the grab control component is used to grab and remove the target object with coding error when the detection result is coding error.

8. The code recognition device according to claim 7, characterized in that: The transmission component comprises: A conveyor belt, wound around the bracket; A driving member is arranged on the bracket, the driving member is electrically connected to the detection module, and the driving member is used to drive the conveyor belt to rotate when the detection result shows that the encoding is correct.

9. The code recognition device according to claim 7, characterized in that: The grab control component includes: A support platform, arranged on one side of the bracket; A clamping claw, disposed on the support platform, and used for clamping the target object with the encoding error; A horizontal driving member, disposed on the support platform, and used for driving the clamping jaw to move in a horizontal direction; A lifting drive member is arranged on the support platform, and the lifting drive member is used to drive the clamping claw to move in a vertical direction.

10. The code recognition device according to claim 9, characterized in that: The bottom of the clamping jaw is rotatably connected with an inner clamping plate.