A basic large-scale tobacco OCR recognition device and recognition method

By using the automatic positioning and flip system of OCR identification equipment during the processing of commercial cigarette rolls, the problems of low efficiency and poor accuracy caused by manual operations are solved, and efficient and accurate data entry is achieved.

CN119339385BActive Publication Date: 2025-08-08CHINA NAT TOBACCO CORP BEIJING BRANCH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411547333.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-08-08
Estimated Expiration
2044-11-01

AI Technical Summary

Technical Problem

During the processing of commercial cigarette rolls, the existing technology relies on manual handheld equipment to find the label location one by one and flip the bundled packaging of the cigarette rolls, resulting in staff fatigue, low efficiency and possible damage to the packaging, affecting the accuracy of OCR identification.

Method used

The OCR recognition device including a text image acquisition device and a processing device is adopted, and the image preprocessing, text segmentation, feature extraction and post-processing systems are used to automatically locate the label position and adjust the angle of the cigarette roll bundle packaging to realize automatic flip and image acquisition.

Benefits of technology

It improves the efficiency and accuracy of OCR identification, reduces manual operation time, avoids packaging damage, and improves the quality and consistency of data entry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119339385B_ABST
    Figure CN119339385B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of commercial cigarette processing, specifically disclosing a basic large-scale tobacco OCR recognition device and method. The device comprises a text image acquisition device and a text image processing device. The text image processing device is internally equipped with an image preprocessing system, a text segmentation system, a feature extraction system, and a post-processing system. The text image acquisition device acquires paper document image data of the exterior of a cigarette and leaf package. Prior to formal OCR data entry, the basic large-scale tobacco OCR recognition device and method scan the overall appearance of the commercial cigarette bundle using image recognition technology to quickly locate the approximate position of the label on the commercial cigarette bundle, reducing the time required for manual label search. Furthermore, the device automatically replaces manual flipping of the commercial cigarette bundle, accurately adjusting the label position to an angle suitable for OCR recognition, thereby improving data entry efficiency and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of commodity cigarette processing, and in particular to a basic large-scale tobacco OCR recognition device and a recognition method. Background Art

[0002] Commodity cigarette processing generally refers to the processing of various tobacco products made from commodity cigarettes as raw materials. Tobacco products include cigarettes, cigars, silk tobacco, snuff, chewing tobacco, etc. Among them, cigarettes have the largest output, consuming more than 85% of the total tobacco leaves. Therefore, the commodity cigarette industry mainly refers to the cigarette industry. Due to the wide consumption, large volume and high taxation of cigarettes, the cigarette industry occupies a vital position in the economies of various countries. In the commodity cigarette processing process, commodity cigarette OCR technology uses optical character recognition algorithms to recognize text information related to commodity cigarettes. Through OCR technology, the text on paper or images can be converted into a computer-editable text format. In the commodity cigarette production process, OCR recognition is performed on raw material warehouse receipts and process record sheets in the production process. The purchase receipt of commodity cigarettes records the origin, grade, quantity and other information of the commodity cigarettes. After OCR recognition, it can be directly entered into the company's production management system, improving the efficiency and accuracy of data entry.

[0003] In the existing technical field, in the process of commercial cigarette processing, external commercial tobacco enters the production line from the outside in the form of bundled packaging, and workers are required to enter information before unpacking. The current information entry method uses manual handheld devices, which require searching for label positions one by one, and also requires the commercial cigarettes to be flipped over, causing fatigue to workers during the work process, further affecting work efficiency and quality. In addition, manual operation has certain subjectivity and fatigue, which may lead to missing labels or damage to the commercial cigarette bundles during the flipping process, thereby affecting the accuracy of OCR input. Summary of the Invention

[0004] The object of the present invention is to provide a basic large-scale tobacco OCR recognition device and recognition method to at least solve the problems mentioned in the above background technology.

[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a basic large-scale model tobacco OCR recognition device, characterized in that it includes: a text image acquisition device and a text image processing device, the text image processing device is internally provided with: an image preprocessing system, a text segmentation system, a feature extraction system and a post-processing system, the text image acquisition device obtains the paper document image data of the outside of the cigarette and tobacco leaf packaging, and sends the image data to the text image processing device, the image preprocessing system inside the text image processing device preprocesses the image data, and uploads the preprocessed image data to the text segmentation system, the text segmentation system segments the text in the image data, and uploads the image data after the text segmentation to the feature extraction system, the feature extraction system extracts features from the segmented image data and determines the category of the text, and uploads the image data after the feature extraction to the post-processing system, and the post-processing system proofreads the image data and generates an electronic document.

[0006] Preferably, the image data processing process of the image pre-processing system, the text segmentation system, the feature extraction system and the post-processing system is as follows:

[0007] Image preprocessing system, which performs image filtering, binarization, and denoising operations:

[0008] Input: original image data ;

[0009] Output: preprocessed image data ;

[0010] The formula is: ;in( ) represents the preprocessing function, which converts the original image into a format more suitable for subsequent processing;

[0011] The text segmentation system separates the text areas in the image to facilitate subsequent feature extraction:

[0012] Input: preprocessed image data ;

[0013] Output: segmented text image data set ;

[0014] The formula is: ;in( ) is a segmentation function that segments text according to its layout and characteristics in the image;

[0015] The feature extraction system extracts features from each text image and predicts the text category based on the features:

[0016] Input: segmented text image data ;

[0017] Output: Character vector set of text and the category prediction set of the text ;

[0018] The formula is: ;in( ) is a feature extraction and classification function that performs text recognition based on image features;

[0019] The post-processing system proofreads the text category prediction and ultimately generates a formatted electronic document:

[0020] Input: feature vector set and the category prediction set of the text ;

[0021] Output: Proofread electronic document data ;

[0022] The formula is: ;in( ) is the post-processing function, which integrates and proofreads all information and generates a formatted electronic document.

[0023] Preferably, the text image acquisition device includes: a truss handling robot, a main controller, a handling robot, a first conveyor belt and an image acquisition mechanism; the main controller is arranged at the outer right rear of the truss handling robot, and the main controller and the truss handling robot are electrically connected; the handling robot is movably located at the inner right end of the truss handling robot, and the handling robot and the main controller are remotely connected via a network; the first conveyor belt is arranged at the inner left end of the truss handling robot along the front-to-back direction, and the first conveyor belt and the main controller are electrically connected; the image acquisition mechanism is arranged on the front side of the first conveyor belt.

[0024] Preferably, the image acquisition mechanism includes: a second conveyor belt, a fixed frame, a two-axis movable platform, an image acquisition camera, an identification component and a position adjustment component; the second conveyor belt is arranged on the front side of the first conveyor belt along the front-to-back direction; the fixed frame is arranged on the external front side of the second conveyor belt; the two-axis movable platform is arranged on the top of the fixed frame along the left-right direction, and the two-axis movable platform is electrically connected to the main controller; the image acquisition camera is installed at the bottom of the mobile end of the two-axis movable platform, and the image acquisition camera is electrically connected to the main controller; the identification component is arranged on the external rear side of the second conveyor belt; the position adjustment component is arranged on the outside of the second conveyor belt and located on the rear side of the fixed frame.

[0025] Preferably, the identification component includes: a mounting stand, an insertable telescopic stand, a first electric telescopic rod, a first rotation module, a height adjustment stand, an arcuate groove plate, a ring gear set, a mounting plate, a first motor, a roller frame, a first slider assembly, a mounting seat, an identification camera and a second electric telescopic rod; the mounting stand is mounted on the left rear of the outside of the second conveyor belt; the insertable telescopic stand is arranged on the right side of the bottom end of the mounting stand; the first electric telescopic rod is arranged on the right side of the top of the mounting stand in the up and down directions, the telescopic end of the first electric telescopic rod extends to the lower surface of the mounting stand and is connected to the bottom of the telescopic end of the insertable telescopic stand, and the first electric telescopic rod is electrically connected to the main controller; the first rotation module is mounted on the bottom of the telescopic end of the insertable telescopic stand, and the first rotation module is electrically connected to the main controller; the height adjustment stand is arranged at the bottom of the rotating end of the first rotation module; the arcuate groove plate is mounted on the height adjustment stand The bottom of the lifting and lowering adjustment end of the frame; the annular gear group is circumferentially arranged on the inner side of the front end of the arc groove plate; the mounting plate is arranged on the front side of the arc groove plate; the first motor is installed on the inner end of the rear side of the mounting plate, the rotating end of the first motor is connected to the gear shaft in the annular gear group, and the first motor and the main controller are electrically connected; the roller frame is installed in the middle of the rear side of the mounting plate, and the roller frame is plugged into the inner cavity of the arc groove plate; the number of the first slider assemblies is two, and the two first slider assemblies are respectively installed on the upper and lower sides of the mounting plate; the mounting seat is arranged on the front side of the limit ends of the upper and lower two first slider assemblies; the identification camera is installed on the front side of the mounting seat, and the identification camera and the main controller are electrically connected; the second electric telescopic rod is installed on the outer end of the front side of the mounting plate, the telescopic end of the second electric telescopic rod is connected to the inner side of the mounting seat, and the second electric telescopic rod is electrically connected to the main controller.

[0026] Preferably, the position adjustment component includes: a gantry, a track, a movable seat, a belt assembly, a second motor, a first mounting frame, a second slider assembly, a screw assembly, a third motor and a second rotating module; the gantry is installed on the outside of the second conveyor belt and is located on the inner side of the fixed frame and the mounting stand; the number of the tracks is two, and the two tracks are respectively installed on the front and rear tops of the gantry in the left and right directions; the movable seat is sleeved on the outside of the front and rear two tracks; the belt assembly is installed on the inner top of the gantry in the left and right directions, and the outer side of the belt in the belt assembly is connected to the inner bottom end of the movable seat; the second motor is installed on the right side of the inner top of the gantry, and the rotating end of the second motor is connected to the right pulley axis of the belt assembly , the second motor is electrically connected to the main controller; the first mounting bracket is installed at the bottom of the movable base along the up and down direction; the number of the second slider assemblies is two, and the two second slider assemblies are respectively installed at the left and right ends of the rear side of the first mounting bracket along the up and down direction; the screw assembly is arranged in the middle of the rear side of the first mounting bracket along the up and down direction; the third motor is installed at the top of the rear side of the first mounting bracket, the rotating end of the third motor is connected to the top of the screw axis in the screw assembly, and the third motor is electrically connected to the main controller; the second rotation module is installed at the rear side of the limit ends of the left and right two second slider assemblies, the screw nut in the screw assembly is connected to the rear side of the second rotation module, and the second rotation module is electrically connected to the main controller.

[0027] Preferably, the position adjustment component further includes: a mounting truss, a mounting slot, a limit rod, a rotating rod, a third electric telescopic rod, a connecting seat, a second rotating module and a clamping arm; the mounting truss is mounted on the rear side of the rotating end of the second rotating module along the left and right directions; the number of the mounting slots is two, and the two mounting slots are respectively opened on the left and right sides of the mounting truss; the number of the limit rods is two, and one end of the two limit rods is rotatably connected to the outside of the inner cavity of the left and right mounting slots by pins; the number of the rotating rods is two, and the two rotating rods are rotatably connected to the inner side of the inner cavity of the left and right mounting slots by pins; the number of the third electric telescopic rods is two, and the two third electric One end of the telescopic rod is rotatably connected to the left and right sides of the front end of the mounting truss through a pin shaft seat, and the other ends of the two third electric telescopic rods are rotatably connected to one side of the left and right rotation rods through a pin shaft, and the third electric telescopic rod is electrically connected to the main controller; the number of the connecting seats is two, and the two connecting seats are rotatably connected to the two limit rods and the other side of the rotation rod through a pin shaft; the number of the second rotation modules is two, and the two second rotation modules are respectively installed on the rear sides of the left and right connecting seats, and the second rotation module is electrically connected to the main controller; the number of the clamping arms is two, and the two clamping arms are respectively installed on the inner sides of the rotation ends of the left and right second rotation modules.

[0028] Preferably, the position adjustment component also includes: a slot rack, a telescopic rod, a fourth electric telescopic rod, an electric lifting platform, a second mounting bracket, a slide rail rod, a clamping claw, a fifth electric telescopic rod, a slot seat, a rack rod and a transmission gear; the number of the slot racks is two, and the two slot racks are respectively mounted on the left and right sides of the top of the gantry; the number of the telescopic rods is two, and the two telescopic rods are respectively inserted into the inner cavities of the left and right slot racks; the number of the fourth electric telescopic rods is two, and the two fourth electric telescopic rods are respectively mounted on the top rear sides of the left and right slot racks, and the telescopic ends of the two fourth electric telescopic rods are respectively connected to the top rear sides of the left and right telescopic rods, and the fourth electric telescopic rod is electrically connected to the main controller; the electric lifting platform is mounted on the rear ends of the left and right telescopic rods, and the electric lifting platform is electrically connected to the main controller; the second mounting bracket is mounted on the bottom of the lifting end of the electric lifting platform and a gear engaged with the gear trainer and the gear unit and mounted on a pair of opposite ends of the gear train, wherein the two gear trains are engaged with the gears of the gear trainer and the gear unit and the gear unit is engaged with the gears of the gear trainer and the gear unit is engaged with the gears of the gear trainer.

[0029] Compared with the prior art, the present invention has the following beneficial effects:

[0030] 1. The first electric telescopic rod is extended to drive the plug-in telescopic frame to move downward, so that the plug-in telescopic frame lowers the identification camera to a specified height position under the cooperation of the first rotating module, height adjustment frame and arc-shaped slot plate below. The first motor drives the internal gear of the annular gear set, and the internal gear of the annular gear set moves along the arc-shaped rack, and then drives the mounting plate to move in an arc under the cooperation of the first motor. The second electric telescopic rod is extended and shortened to drive the mounting seat to move inward or outward to adjust the distance between the identification camera and the outer packaging of the cigarette and tobacco leaf bundle. The identification camera identifies the label affixed to the outer packaging of the cigarette and tobacco leaf bundle and determines the location of the label. The first rotating module drives the height adjustment frame to rotate and then adjusts the direction of the arc-shaped slot plate to achieve all-round identification of the identification camera on the outside of the cigarette and tobacco leaf bundle packaging.

[0031] 2. The second motor drives the belt assembly to drive the moving seat to move to the left or right along the outside of the track to the specified position. The third motor drives the screw assembly to drive the second rotating module. The second rotating module is lifted and lowered to the specified height position. The third electric telescopic rods on both sides drive the rotating rods to drive the connecting seat to move inward, and the connecting seats on both sides drive the clamping arms to move inward under the cooperation of the second rotating modules to clamp and fix the cigarette and tobacco leaf bundles. The second rotating modules on both sides control the clamping arms to drive the cigarette and tobacco leaf bundles to rotate upward or downward as needed so that their label position is at the top. The second rotating module drives the mounting truss to rotate according to actual needs. The second rotating module drives the cigarette and tobacco leaf bundles to rotate clockwise or counterclockwise to the left or right with the cooperation of the clamping arms on both sides so that their label position is at the top.

[0032] 3. After the flipping is completed, the electric lifting platform lifts the second mounting frame to a specified height so that the clamping claws are located on the left and right sides of the cigarette and tobacco leaf bundle. The fifth electric telescopic rod drives the clamping claws on both sides to clamp and fix the left and right sides of the flipped cigarette and tobacco leaf bundle. The clamping arms on both sides release the clamping and fixation of the cigarette and tobacco leaf bundle. The fourth electric telescopic rod extends to drive the electric lifting platform to move backward, and with the cooperation of the clamping claws on both sides, the cigarette and tobacco leaf bundle moves a certain distance backward. The second motor drives the belt assembly to rotate so that the movable seat drives the first mounting frame to move to the left or right to the outer position of the top of the second conveyor belt. The electric lifting platform lowers the cigarette and tobacco leaf bundle to the surface position of the second conveyor belt with the cooperation of the clamping claws on the left and right sides. The fifth electric telescopic rod drives the clamping claws on both sides to move outward to release the fixation of the cigarette and tobacco leaf bundle. The second conveyor belt drives the cigarette and tobacco leaf bundle to the inner position of the fixed frame. The dual-axis moving platform drives the image acquisition camera to move to the top position of the label. The image acquisition camera shoots the label to generate image data. The image acquisition camera sends the image data to the text and image processing device through the main controller.

[0033] To sum up, before the formal OCR input, the present invention uses image recognition technology to scan the overall appearance of the commodity cigarette bundle packaging, quickly locates the approximate position of the label on the commodity cigarette bundle packaging, reduces the time of manual search for the label, and uses an automatic method to replace the manual flipping operation of the commodity cigarette bundle packaging, accurately adjusts the label position to an angle suitable for OCR equipment recognition, and improves the efficiency and accuracy of input. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a schematic diagram of the present invention;

[0035] Figure 2 for Figure 1 A structural diagram of a text image acquisition device;

[0036] Figure 3 for Figure 2 Schematic diagram of image acquisition mechanism;

[0037] Figure 4 for Figure 3 Exploded view of identified components;

[0038] Figure 5 for Figure 4 A magnified view of point A;

[0039] Figure 6 for Figure 3 Exploded view of the position adjustment component;

[0040] Figure 7 for Figure 6 Enlarged view of point B;

[0041] Figure 8 for Figure 6 Enlarged view of point C;

[0042] Figure 9 for Figure 6 Enlarged view of point D.

[0043] In the figure: 1. Truss handling robot, 2. Main controller, 3. Handling robot, 4. First conveyor belt, 5. Image acquisition mechanism, 51. Second conveyor belt, 52. Fixed frame, 53. Dual-axis mobile platform, 54. Image acquisition camera, 6. Identification component, 61. Mounting frame, 62. Insertion telescopic frame, 63. First electric telescopic rod, 64. First rotation module, 65. Height adjustment frame, 66. Arc groove plate, 67. Ring gear set, 68. Mounting plate, 69. First motor, 610. Roller frame, 611. First slider assembly, 612. Mounting seat, 613. Identification camera, 614. Second electric telescopic rod, 7. Position adjustment component, 71. Gantry, 72. Track, 7 3. Moving seat, 74. Belt assembly, 75. Second motor, 76. First mounting frame, 77. Second slider assembly, 78. Screw assembly, 79. Third motor, 710. Second rotating module, 711. Mounting truss, 712. Mounting slot, 713. Limit rod, 714. Rotating rod, 715. Third electric telescopic rod, 716. Connecting seat, 717. Second rotating module, 718. Clamping arm, 719. Slot frame, 720. Telescopic rod, 721. Fourth electric telescopic rod, 722. Electric lifting platform, 723. Second mounting frame, 724. Slide rail, 725. Clamping claw, 726. Fifth electric telescopic rod, 727. Slot seat, 728. Rack rod, 729. Transmission gear. DETAILED DESCRIPTION

[0044] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0045] See also Figure 1 - Figure 9 The present invention provides a technical solution: a basic large-scale model tobacco OCR recognition device, comprising: a text image acquisition device and a text image processing device, wherein the text image processing device is internally provided with: an image preprocessing system, a text segmentation system, a feature extraction system and a post-processing system, wherein the text image acquisition device obtains the paper document image data on the outside of the cigarette package and sends the image data to the text image processing device, wherein the image preprocessing system in the text image processing device preprocesses the image data and uploads the preprocessed image data to the text segmentation system, wherein the text segmentation system segments the text in the image data and uploads the image data after the text segmentation to the feature extraction system, wherein the feature extraction system extracts features from the segmented image data and determines the category of the text and uploads the image data after the feature extraction to the post-processing system, wherein the post-processing system proofreads the image data and generates an electronic document.

[0046] The process of image data processing by the image pre-processing system, text segmentation system, feature extraction system and post-processing system is as follows:

[0047] Image preprocessing system, which performs image filtering, binarization, and denoising operations:

[0048] Input: original image data ;

[0049] Output: preprocessed image data ;

[0050] The formula is: ;in( ) represents the preprocessing function, which converts the original image into a format more suitable for subsequent processing;

[0051] The text segmentation system separates the text areas in the image to facilitate subsequent feature extraction:

[0052] Input: preprocessed image data ;

[0053] Output: segmented text image data set ;

[0054] The formula is: ;in( ) is a segmentation function that segments text according to its layout and characteristics in the image;

[0055] The feature extraction system extracts features from each text image and predicts the text category based on the features:

[0056] Input: segmented text image data ;

[0057] Output: Character vector set of text and the category prediction set of the text ;

[0058] The formula is: ;in( ) is a feature extraction and classification function that performs text recognition based on image features;

[0059] The post-processing system proofreads the text category prediction and ultimately generates a formatted electronic document:

[0060] Input: feature vector set and the category prediction set of the text ;

[0061] Output: Proofread electronic document data ;

[0062] The formula is: ;in( ) is the post-processing function, which integrates and proofreads all information and generates a formatted electronic document.

[0063] As a preferred solution, further, Figure 2As shown, the text image acquisition device includes: a truss handling robot 1, a main controller 2, a handling robot 3, a first conveyor belt 4 and an image acquisition mechanism 5. The truss handling robot 1 is controlled by the main controller 2. The truss handling robot 1 can transport the cigarette and tobacco bundles inside the handling robot 3 to the surface of the first conveyor belt 4; the main controller 2 is set at the right rear outside of the truss handling robot 1, the main controller 2 and the truss handling robot 1 are electrically connected, and a preset program is set inside the main controller 2 to automatically control the internal electrical components of the device; the handling robot 3 is movable Located at the inner right end of the truss handling robot 1, the handling robot 3 is remotely connected to the main controller 2 via a network. The handling robot 3 is remotely controlled and started by the main controller 2. The handling robot 3 can automatically transport and move external cigarette bundles. The first conveyor belt 4 is arranged at the inner left end of the truss handling robot 1 along the front-to-back direction. The first conveyor belt 4 is electrically connected to the main controller 2. The first conveyor belt 4 is controlled by the main controller 2. The first conveyor belt 4 can transport and move the cigarette bundles on its top from back to front. The image acquisition mechanism 5 is arranged on the front side of the first conveyor belt 4.

[0064] As a preferred solution, further, Figure 3 As shown, the image acquisition mechanism 5 includes: a second conveyor belt 51, a fixed frame 52, a biaxial movable platform 53, an image acquisition camera 54, an identification component 6 and a position adjustment component 7; the second conveyor belt 51 is arranged in front of the first conveyor belt 4 in the front-to-back direction; the fixed frame 52 is arranged on the outer front side of the second conveyor belt 51; the biaxial movable platform 53 is arranged on the top of the fixed frame 52 in the left-right direction, the biaxial movable platform 53 is electrically connected to the main controller 2, the biaxial movable platform 53 is controlled by the main controller 2, and the biaxial movable platform 53 can drive the image acquisition camera 54 Move in the two-axis direction; the image acquisition camera 54 is installed at the bottom of the mobile end of the two-axis mobile platform 53, the image acquisition camera 54 is electrically connected to the main controller 2, the image acquisition camera 54 is controlled by the main controller 2, the image acquisition camera 54 can 54 shoot the label to generate image data, and the image acquisition camera 54 sends the image data to the text image processing device through the main controller 2; the identification component 6 is arranged on the outer rear side of the second conveyor belt 51; the position adjustment component 7 is arranged on the outside of the second conveyor belt 51 and is located on the rear side of the fixed frame 52.

[0065] As a preferred solution, further, Figure 4 and Figure 5As shown, the identification component 6 includes: a mounting frame 61, an insertable telescopic frame 62, a first electric telescopic rod 63, a first rotating module 64, a height adjustment frame 65, an arc-shaped groove plate 66, a ring gear set 67, a mounting plate 68, a first motor 69, a roller frame 610, a first slider assembly 611, a mounting seat 612, an identification camera 613 and a second electric telescopic rod 614; the mounting frame 61 is installed on the left rear of the outside of the second conveyor belt 51; the insertable telescopic frame 62 is set on the right side of the bottom end of the mounting frame 61, and the lifting end of the insertable telescopic frame 62 can be lifted and moved at the bottom end of the mounting frame 61; the first electric telescopic rod 63 is set on the right side of the top of the mounting frame 61 in the up and down direction, and the telescopic movement of the first electric telescopic rod 63 The end extends to the lower surface of the mounting stand 61 and is connected to the bottom of the telescopic end of the inserted telescopic frame 62. The first electric telescopic rod 63 is electrically connected to the main controller 2. The first electric telescopic rod 63 is controlled by the main controller 2. The first electric telescopic rod 63 drives the telescopic end of the inserted telescopic frame 62 to move up and down by its own extension and contraction; the first rotation module 64 is installed at the bottom of the telescopic end of the inserted telescopic frame 62. The first rotation module 64 is controlled by the main controller 2; the first rotation module 64 can drive the height adjustment frame 65 to rotate to a specified direction; the height adjustment frame 65 is arranged at the bottom of the rotation end of the first rotation module 64, and the height adjustment frame 65 can adjust the height position of the arc slot plate 66 inside; the arc slot plate 66 is installed at the height The bottom of the lifting adjustment end of the degree adjustment frame 65; the annular gear set 67 is circumferentially arranged on the inner side of the front end of the arc groove plate 66, and the arc rack in the annular gear set 67 is circumferentially arranged on the inner side of the front end of the arc groove plate 66, and a meshing gear is arranged on the outside of the arc rack; the mounting plate 68 is arranged on the front side of the arc groove plate 66; the first motor 69 is mounted on the inner end of the rear side of the mounting plate 68, and the rotating end of the first motor 69 is connected to the gear shaft of the annular gear set 67, the first motor 69 and the main controller 2 are electrically connected, and the first motor 69 is controlled by the main controller 2. The first motor 69 can drive the gear in the annular gear set 67 to rotate clockwise or counterclockwise; the roller frame 610 is mounted on the middle part of the rear side of the mounting plate 68, and the roller The frame 610 is plugged into the inner cavity of the arc-shaped groove plate 66, and the roller frame 610 can move along the inner cavity of the arc-shaped groove plate 66; there are two first slider assemblies 611, and the two first slider assemblies 611 are respectively installed on the upper and lower sides of the mounting plate 68, and the slide rails in the first slider assembly 611 are installed on the front side of the mounting plate 68, and sliders are installed on the outside of the slide rails as limit ends; the mounting seat 612 is set in front of the limit ends of the upper and lower first slider assemblies 611; the recognition camera 613 is installed on the front side of the mounting seat 612, and the recognition camera 613 is electrically connected to the main controller 2. The recognition camera 613 is controlled by the main controller 2, and the recognition camera 613 recognizes the label affixed to the outer packaging of the cigarette bundle and determines the location of the label;A second electric telescopic rod 614 is mounted on the front outer end of the mounting plate 68. The telescopic end of the second electric telescopic rod 614 is connected to the inner side of the mounting base 612. The second electric telescopic rod 614 is electrically connected to the main controller 2 and is controlled by the main controller 2. The second electric telescopic rod 614 can drive the mounting base 612 to move inward and outward by extending and contracting itself.

[0066] As a preferred solution, further, Figure 6 、 Figure 7 、 Figure 8 and Figure 9As shown, the position adjustment component 7 includes: a gantry 71, a track 72, a moving seat 73, a belt assembly 74, a second motor 75, a first mounting frame 76, a second slider assembly 77, a screw assembly 78, a third motor 79, a second rotating module 710, a mounting truss 711, a mounting slot 712, a limiting rod 713, a rotating rod 714, a third electric telescopic rod 715, a connecting seat 716, a second rotating module 717, a clamping arm 718, a slot frame 719, a telescopic rod 720, a fourth electric telescopic rod 721, an electric lifting platform 722, a second mounting frame 723, a slide rail rod 724, a clamping claw 725, a fifth electric telescopic rod 726, a slot seat 727, a rack rod 728 and a transmission gear 729; The gantry 71 is installed on the outside of the second conveyor belt 51 and is located on the inside of the fixed frame 52 and the mounting stand 61; there are two tracks 72, and the two tracks 72 are installed on the top of the front and rear sides of the gantry 71 along the left and right directions respectively; the movable seat 73 is sleeved on the outside of the two front and rear tracks 72; the belt assembly 74 is installed on the top of the inner side of the gantry 71 along the left and right directions, and the outer side of the belt in the belt assembly 74 is connected to the inner bottom end of the movable seat 73; the second motor 75 is installed on the right side of the inner top of the gantry 71, and the rotating end of the second motor 75 is connected to the right pulley axis of the belt assembly 74. The second motor 75 is electrically connected to the main controller 2, and the second motor 75 is controlled by the main controller 2. The second motor 75 can drive The right pulley of the belt assembly 74 rotates clockwise or counterclockwise; the first mounting bracket 76 is mounted on the bottom of the movable seat 73 in the up-down direction; the number of second slider assemblies 77 is two, and the two second slider assemblies 77 are mounted on the left and right ends of the rear side of the first mounting bracket 76 in the up-down direction respectively, and the slide rail in the second slider assembly 77 is mounted on the rear side of the first mounting bracket 76, and a slider is installed on the outside of the slide rail as a limit end; the screw assembly 78 is arranged in the middle of the rear side of the first mounting bracket 76 in the up-down direction; the third motor 79 is mounted on the top of the rear side of the first mounting bracket 76, and the rotating end of the third motor 79 is connected to the top of the screw axis in the screw assembly 78, the third motor 79 is electrically connected to the main controller 2, and the third motor 79 is controlled by the main controller The controller 2 is controlled by the third motor 79, which can drive the screw in the screw assembly 78 to rotate clockwise or counterclockwise; the second rotation module 710 is installed on the rear side of the limit ends of the left and right second slider assemblies 77, and the screw nut in the screw assembly 78 is connected to the rear side of the second rotation module 710. The second rotation module 710 is electrically connected to the main controller 2. The second rotation module 710 is controlled by the main controller 2 and can drive the installation truss 711 to rotate clockwise or counterclockwise; the installation truss 711 is installed on the rear side of the rotation end of the second rotation module 710 in the left and right directions; the number of the installation slots 712 is two, and the two installation slots 712 are respectively opened on the left and right sides of the installation truss 711;There are two limit rods 713, one end of the two limit rods 713 is respectively connected to the outer side of the inner cavity of the left and right mounting grooves 712 through a pin shaft; there are two rotating rods 714, the two rotating rods 714 are respectively connected to the inner side of the inner cavity of the left and right mounting grooves 712 through a pin shaft; there are two third electric telescopic rods 715, one end of the two third electric telescopic rods 715 is respectively connected to the left and right sides of the front end of the mounting truss 711 through a pin shaft seat, and the other end of the two third electric telescopic rods 715 is respectively connected to one side of the left and right rotating rods 714 through a pin shaft, the third electric telescopic rod 715 is electrically connected to the main controller 2, the third electric telescopic rod 715 is controlled by the main controller 2, and the third electric telescopic rod 715 is electrically connected to the main controller 2. By extending and shortening itself, the rotating rod 714 is driven to rotate inward or outward. During the process of extending and shortening itself, the third electric telescopic rod 715 can rotate around the axis of rotation connected to the mounting truss 711; there are two connecting seats 716, and the two connecting seats 716 are respectively connected to the other side of the two limit rods 713 and the rotating rod 714 through the pin; there are two second rotating modules 717, and the two second rotating modules 717 are respectively installed on the rear sides of the left and right connecting seats 716. The second rotating module 717 is electrically connected to the main controller 2, and the second rotating module 717 is controlled by the main controller 2. The second rotating module 717 can drive the clamping arm 718 to rotate clockwise or counterclockwise; there are two clamping arms 718 , the two clamping arms 718 are respectively installed on the inner side of the rotating end of the left and right second rotating modules 717; the number of slot racks 719 is two, and the two slot racks 719 are respectively installed on the left and right sides of the top of the gantry 71; the number of telescopic rods 720 is two, and the two telescopic rods 720 are respectively inserted into the inner cavity of the left and right slot racks 719; the number of fourth electric telescopic rods 721 is two, and the two fourth electric telescopic rods 721 are respectively installed on the top rear side of the left and right slot racks 719, and the telescopic ends of the two fourth electric telescopic rods 721 are respectively connected to the top rear side of the left and right telescopic rods 720, the fourth electric telescopic rod 721 is electrically connected to the main controller 2, and the fourth electric telescopic rod 721 is controlled by the main controller 2. The rod 721 drives the telescopic rod 720 to extend and retract to a specified length in the inner cavity of the slot frame 719 by its own extension and contraction; the electric lifting platform 722 is installed at the rear ends of the left and right telescopic rods 720, and the electric lifting platform 722 is electrically connected to the main controller 2. The electric lifting platform 722 is controlled by the main controller 2 and can lift the second mounting frame 723 to a specified height position; the second mounting frame 723 is installed at the bottom of the lifting end of the electric lifting platform 722; there are two slide rails 724, which are respectively installed on the front and rear sides of the second mounting frame 723 in the left and right directions; there are two clamping claws 725, which are respectively sleeved on the left and right sides of the outer sides of the front and rear slide rails 724;The fifth electric telescopic rod 726 is installed on the inner side of the second mounting frame 723 in the left and right directions. The left and right ends of the fifth electric telescopic rod 726 are respectively connected to the top ends of the left and right clamping claws 725. The fifth electric telescopic rod 726 is electrically connected to the main controller 2. The fifth electric telescopic rod 726 is controlled by the main controller 2. The fifth electric telescopic rod 726 drives the clamping claws 725 to move inward or outward by its own extension and contraction. There are two slot seats 727, which are respectively installed on the upper and lower ends and left and right sides of the inner side of the second mounting frame 723. The rack rod 728 is electrically connected to the main controller 2. The fifth electric telescopic rod 726 is controlled by the main controller 2. The fifth electric telescopic rod 726 drives the clamping claws 725 to move inward or outward by its own extension and contraction. There are two rack rods 728, each inserted into the inner sides of the left and right slots 727. The rack rods 728 are connected to the top ends of the two clamping claws 725, respectively, and can move in and out of the slots 727. A transmission gear 729 is rotatably connected to the inner rear end of the second mounting bracket 723 via a pin. The inner sides of the two rack rods 728 mesh with the upper and lower sides of the transmission gear 729. The inward and outward movement of one rack rod 728 simultaneously drives the transmission gear 729 to rotate, while the other rack rod 728 can move inward or outward synchronously with the rotation of the transmission gear 729.

[0067] Here’s how it works:

[0068] Step 1: The staff remotely controls the main controller 2 to start the handling robot 3. The internal preset program of the handling robot 3 transports the external cigarette and tobacco leaf bundle to the lower right position inside the first conveyor belt 4. The staff controls the main controller 2 to start. The internal preset program of the main controller 2 controls the truss handling robot 1, the first conveyor belt 4, the second conveyor belt 51, the first electric telescopic rod 63, the first motor 69, the second electric telescopic rod 614, the recognition camera 613 and the first rotation module 64 to start. The truss handling robot 1 clamps the cigarette bundle on the top of the handling robot 3 and transports it to the surface of the first conveyor belt 4. The first conveyor belt 4 transports the cigarette bundle on its top from back to front to the surface of the second conveyor belt 51. The cigarette bundle on the surface of the second conveyor belt 51 moves to the bottom of the identification component 6. The first electric telescopic rod 63 extends to drive the plug-in telescopic frame 62 to move downward. The inserted telescopic frame 62 is made to lower the identification camera 613 to a specified height position under the cooperation of the first rotating module 64, the height adjustment frame 65 and the arc-shaped slot plate 66 below. The first motor 69 drives the internal gear of the ring gear set 67 to move along the arc-shaped rack, and then drives the mounting plate 68 to move in an arc shape under the cooperation of the first motor 69. The second electric telescopic rod 614 extends and shortens to drive the mounting seat 612 to move inward or outward to adjust the distance between the identification camera 613 and the outer packaging of the cigarette bundle. The identification camera 613 identifies the label affixed to the outer packaging of the cigarette bundle and determines the location of the label. The first rotating module 64 drives the height adjustment frame 65 to rotate clockwise or counterclockwise, and then adjusts the direction of the arc-shaped slot plate 66 to achieve all-round identification of the identification camera 613 on the outside of the cigarette bundle packaging.

[0069] Step 2: When the cigarette bundle needs to be rotated so that the label is in the upper position, the second conveyor belt 51 drives the cigarette bundle to move to the position below the position adjustment component 7, and the preset program inside the main controller 2 controls the second motor 75, the third motor 79, the third electric telescopic rod 715, the second rotation module 717, the second rotation module 710, the fourth electric telescopic rod 721, the electric lifting platform 722, the fifth electric telescopic rod 726, the dual-axis mobile platform 53 and the image acquisition camera 54 to start, and the second motor 75 drives the pulley on one side of the belt assembly 74 to rotate, so that the belt inside the belt assembly 74 drives the moving seat 73 to move to the specified position to the left or right along the outside of the track 72, so that the first mounting bracket 76 below is aligned with the cigarette bundle, and the third motor 79 drives the third electric telescopic rod 715 to move to the specified position to align with the cigarette bundle. The machine 79 drives the screw in the screw assembly 78 to rotate, so that the screw nut inside the screw assembly 78 drives the second rotating module 710. The second rotating module 710 is lifted and lowered to a specified height position under the limiting action of the second slider assembly 77. The third electric telescopic rods 715 on the left and right sides extend to drive the rotating rods 714 on the corresponding positions to rotate inward in the inner cavity of the installation groove 712. Under the limiting action of the limiting rods 713 on both sides, the rotating rods 714 drive the connecting seats 716 to move inward, and the connecting seats 716 on both sides drive the clamping arms 718 to move inward to clamp and fix the cigarette bundle under the cooperation of the second rotating modules 717. The second rotating modules 717 on both sides control the clamping arms 718 to rotate clockwise or counterclockwise as needed, so that the clamping arms 718 on both sides can be fixed. After the holding arm 718 drives the cigarette bundle to rotate upward or downward, its label position is at the top. The second rotating module 710 drives the mounting truss 711 to rotate clockwise or counterclockwise according to actual needs. The second rotating module 710 drives the cigarette bundle to rotate clockwise or counterclockwise to the left or right with the cooperation of the clamping arms 718 on both sides, so that its label position is at the top. After the flip is completed, the fourth electric telescopic rods 721 on both sides extend and drive the telescopic rods 720 to extend to the specified length position in the inner cavity of the slot frame 719, so that the electric lifting platform 722 is located just above the cigarette bundle. The electric lifting platform 722 lifts the second mounting frame 723 to the specified height position so that the clamping claws 725 are located on the left and right sides of the cigarette bundle. The fifth electric telescopic rod 7 26 shortens and drives the clamping claw 725 on one side to move inward, and makes the clamping claw 725 on this side drive the rack rod 728 at the corresponding position to move inward under the limiting action of the slot seat 727. Under the cooperation of the transmission gear 729, the slot seat 727 on the other side and the rack rod 728, the clamping claw 725 on the other side moves inward synchronously. The clamping claws 725 on both sides clamp and fix the left and right sides of the flipped cigarette bundle. The third electric telescopic rods 715 on both sides extend to drive the rotating rod 714 to drive the connecting seat 716 to rotate outward, and the clamping arms 718 on both sides release the clamping fixation of the cigarette bundle. The fourth electric telescopic rod 721 extends to drive the electric lifting platform 722 to move backward, and with the cooperation of the clamping claws 725 on both sides, the cigarette bundle is moved a certain distance backward.The second motor 75 drives the belt assembly 74 to rotate, causing the movable base 73 to move the first mounting frame 76 to the left or right to the outside of the top of the second conveyor belt 51. The electric lifting platform 722, in cooperation with the left and right clamping claws 725, lowers the cigarette bundle to the surface of the second conveyor belt 51. The fifth electric telescopic rod 726 extends and drives the clamping claws 725 on both sides to move outward to release the cigarette bundle. The second conveyor belt 51 drives the cigarette bundle to the inside of the fixed frame 52. The dual-axis movable platform 53 drives the image acquisition camera 54 to the top of the label. The image acquisition camera 54 captures the label and generates image data. The image acquisition camera 54 sends the image data to the text and image processing device through the main controller 2 for processing and storage.

[0070] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.

Claims

1. A tobacco OCR recognition device based on a large model, characterized in that: include: A text image acquisition device and a text image processing device, wherein the text image acquisition device acquires image data of a paper document on the outside of a cigarette or tobacco package and sends the image data to the text image processing device for OCR recognition; The text image acquisition device includes: Truss handling robot (1); A main controller (2) is arranged on the right rear side of the exterior of the truss handling robot (1), and the main controller (2) and the truss handling robot (1) are electrically connected; A handling robot (3) is movably located at the inner right end of the truss handling robot (1), and the handling robot (3) and the main controller (2) are remotely connected via a network; A first conveyor belt (4) is arranged at the inner left end of the truss transport robot (1) along the front-back direction, and the first conveyor belt (4) is electrically connected to the main controller (2); An image acquisition mechanism (5) is arranged on the front side of the first conveyor belt (4); The image acquisition mechanism (5) includes: A second conveyor belt (51) is arranged in front of the first conveyor belt (4) along the front-to-back direction; A fixed frame (52) is provided on the outer front side of the second conveyor belt (51); A dual-axis movable platform (53) is arranged on the top of the fixed frame (52) in the left-right direction, and the dual-axis movable platform (53) is electrically connected to the main controller (2); An image acquisition camera (54) is installed at the bottom of the mobile end of the dual-axis mobile platform (53), and the image acquisition camera (54) is electrically connected to the main controller (2); an identification component (6) disposed on the outer rear side of the second conveyor belt (51); A position adjustment component (7) is arranged outside the second conveyor belt (51) and located at the rear side of the fixing frame (52); The position adjustment component (7) includes: a gantry (71) mounted on the outside of the second conveyor belt (51) and located inside the fixed frame (52) and the mounting stand (61); Slot rack (719), the number of slot racks (719) is two, and the two slot racks (719) are respectively installed on the left and right sides of the top of the gantry (71); Telescopic rods (720), the number of the telescopic rods (720) is two, and the two telescopic rods (720) are respectively inserted into the inner cavities of the left and right slot frames (719); A fourth electric telescopic rod (721), the number of the fourth electric telescopic rod (721) is two, the two fourth electric telescopic rods (721) are respectively installed on the top rear sides of the left and right slot racks (719), the telescopic ends of the two fourth electric telescopic rods (721) are respectively connected to the top rear sides of the left and right telescopic rods (720), and the fourth electric telescopic rod (721) is electrically connected to the main controller (2); An electric hoisting platform (722) is installed at the rear ends of the left and right telescopic rods (720), and the electric hoisting platform (722) is electrically connected to the main controller (2); A second mounting frame (723) is mounted on the bottom of the lifting end of the electric lifting platform (722); Slide rail rods (724), the number of the slide rail rods (724) is two, and the two slide rail rods (724) are respectively installed on the front and rear sides of the second mounting frame (723) along the left and right directions; Clamping claws (725), the number of the clamping claws (725) is two, and the two clamping claws (725) are respectively sleeved on the left and right sides of the exterior of the front and rear slide rails (724); A fifth electric telescopic rod (726) is mounted on the inner side of the second mounting frame (723) in the left-right direction, the left and right ends of the fifth electric telescopic rod (726) are respectively connected to the top ends of the left and right clamping claws (725), and the fifth electric telescopic rod (726) is electrically connected to the main controller (2); Slot seats (727), the number of slot seats (727) is two, and the two slot seats (727) are respectively installed on the upper and lower ends and left and right sides of the inner side of the second mounting frame (723); Rack rod (728), the number of the rack rod (728) is two, the two rack rods (728) are respectively inserted into the inner sides of the left and right slot seats (727), and the two rack rods (728) are respectively connected to the top ends of the two clamping claws (725); The transmission gear (729) is rotatably connected to the inner rear end of the second mounting frame (723) via a pin shaft, and the inner sides of the two rack rods (728) are meshed with the upper and lower sides of the transmission gear (729).

2. The tobacco OCR recognition device based on a large model according to claim 1, characterized in that: The text image processing device is internally provided with: an image preprocessing system, a text segmentation system, a feature extraction system and a post-processing system. The image preprocessing system inside the text image processing device preprocesses the image data and uploads the preprocessed image data to the text segmentation system. The text segmentation system segments the text inside the image data and uploads the image data after text segmentation to the feature extraction system. The feature extraction system extracts features from the segmented image data and determines the category of the text, and uploads the image data after feature extraction to the post-processing system. The post-processing system proofreads the image data and generates an electronic document.

3. The tobacco OCR recognition device based on a large model according to claim 2, characterized in that: The image data processing process of the image preprocessing system, text segmentation system, feature extraction system and post-processing system is as follows: Image preprocessing system, which performs image filtering, binarization, and denoising operations: Input: original image data ; Output: preprocessed image data ; The formula is: ;in Represents the preprocessing function, which converts the original image into a format suitable for subsequent processing; The text segmentation system separates the text areas in the image to facilitate subsequent feature extraction: Input: preprocessed image data ; Output: segmented text image data set ; The formula is: ;in It is a segmentation function that segments the text according to its layout and characteristics in the image; The feature extraction system extracts features from each text image and predicts the text category based on the features: Input: segmented text image data ; Output: Character vector set of text and the category prediction set of the text ; The formula is: ;in It is a feature extraction and classification function that performs text recognition based on image features; The post-processing system proofreads the text category prediction and ultimately generates a formatted electronic document: Input: feature vector set and the category prediction set of the text ; Output: Proofread electronic document data ; The formula is: ;in It is a post-processing function that integrates and proofreads all information to generate a formatted electronic document.

4. The tobacco OCR recognition device based on a large model according to claim 3, characterized in that: The identification component (6) includes: A mounting stand (61) is mounted on the left rear of the exterior of the second conveyor belt (51); An insertable telescopic frame (62) is provided on the right side of the bottom end of the mounting frame (61); A first electric telescopic rod (63) is arranged on the right side of the top of the mounting frame (61) in the vertical direction, the telescopic end of the first electric telescopic rod (63) extends to the lower surface of the mounting frame (61) and is connected to the bottom of the telescopic end of the plug-in telescopic frame (62), and the first electric telescopic rod (63) is electrically connected to the main controller (2); A first rotating module (64) is installed at the bottom of the telescopic end of the plug-in telescopic frame (62), and the first rotating module (64) is electrically connected to the main controller (2); A height adjustment frame (65) is arranged at the bottom of the rotating end of the first rotating module (64); An arc-shaped slot plate (66) is mounted on the bottom of the lifting adjustment end of the height adjustment frame (65); A ring gear set (67) is circumferentially arranged on the inner side of the front end of the arc-shaped slot plate (66); A mounting plate (68) disposed on the front side of the arc-shaped slot plate (66); A first motor (69) is mounted on the inner end of the rear side of the mounting plate (68), the rotating end of the first motor (69) is connected to the gear shaft of the ring gear set (67), and the first motor (69) is electrically connected to the main controller (2); The roller frame (610) is mounted on the middle portion of the rear side of the mounting plate (68), and the roller frame (610) is plugged into the inner cavity of the arc-shaped groove plate (66); A first slider assembly (611), the number of the first slider assemblies (611) is two, and the two first slider assemblies (611) are respectively mounted on the upper and lower sides of the mounting plate (68); A mounting seat (612) is provided on the front side of the limiting ends of the upper and lower first slider assemblies (611); An identification camera (613) is mounted on the front side of the mounting base (612), and the identification camera (613) is electrically connected to the main controller (2); The second electric telescopic rod (614) is mounted on the front outer end of the mounting plate (68), the telescopic end of the second electric telescopic rod (614) is connected to the inner side of the mounting seat (612), and the second electric telescopic rod (614) is electrically connected to the main controller (2).

5. The tobacco OCR recognition device based on a large model according to claim 4, characterized in that: The position adjustment component (7) further comprises: Tracks (72), the number of tracks (72) is two, and the two tracks (72) are respectively installed on the top of the front and rear sides of the gantry (71) along the left and right directions; A movable seat (73) is sleeved on the outside of the front and rear rails (72); A belt assembly (74) is mounted on the inner top of the gantry (71) in the left-right direction, wherein the outer portion of the belt in the belt assembly (74) is connected to the inner bottom end of the movable seat (73); A second motor (75) is mounted on the right side of the inner top of the gantry (71), a rotating end of the second motor (75) is connected to the right pulley axis of the belt assembly (74), and the second motor (75) is electrically connected to the main controller (2); A first mounting frame (76) is mounted on the bottom of the movable seat (73) in the vertical direction; A second slider assembly (77), the number of the second slider assemblies (77) is two, and the two second slider assemblies (77) are respectively installed at the left and right ends of the rear side of the first mounting frame (76) in the up and down directions; A lead screw assembly (78) is disposed in the middle of the rear side of the first mounting frame (76) in the vertical direction; A third motor (79) is mounted on the top of the rear side of the first mounting frame (76), the rotating end of the third motor (79) is connected to the top of the axis of the lead screw in the lead screw assembly (78), and the third motor (79) is electrically connected to the main controller (2); The second rotation module (710) is installed on the rear side of the limiting ends of the left and right second slider assemblies (77), the screw nut in the screw assembly (78) is connected to the rear side of the second rotation module (710), and the second rotation module (710) is electrically connected to the main controller (2).

6. The tobacco OCR recognition device based on a large model according to claim 5, characterized in that: The position adjustment component (7) further comprises: An installation truss (711) is installed on the rear side of the rotating end of the second rotating module (710) in the left-right direction; Mounting slots (712), there are two mounting slots (712), and the two mounting slots (712) are respectively opened on the left and right sides of the mounting truss (711); Limit rods (713), there are two limit rods (713), one end of each of the two limit rods (713) is rotatably connected to the outside of the inner cavity of the left and right mounting grooves (712) through a pin shaft; Rotating rods (714), there are two rotating rods (714), and the two rotating rods (714) are rotatably connected to the inner sides of the inner cavities of the left and right mounting grooves (712) respectively through pins; A third electric telescopic rod (715), the number of the third electric telescopic rod (715) is two, one end of the two third electric telescopic rods (715) is rotatably connected to the left and right sides of the front end of the mounting truss (711) through a pin shaft seat, and the other end of the two third electric telescopic rods (715) is rotatably connected to one side of the left and right rotating rods (714) through a pin shaft, and the third electric telescopic rods (715) are electrically connected to the main controller (2); Connecting seats (716), there are two connecting seats (716), and the two connecting seats (716) are respectively rotatably connected to the other side of the two limiting rods (713) and the rotating rod (714) through pins; A second rotation module (717), the number of the second rotation modules (717) is two, the two second rotation modules (717) are respectively installed on the rear sides of the left and right connecting seats (716), and the second rotation modules (717) are electrically connected to the main controller (2); The clamping arms (718) are two in number, and the two clamping arms (718) are respectively mounted on the inner sides of the rotating ends of the left and right second rotating modules (717).

7. A tobacco OCR recognition method based on a large model, applied to a tobacco OCR recognition device based on a large model as claimed in claim 6, characterized in that: Use the following steps: Step 1: The transport robot (3) is started by a preset program in the transport robot (3), and the transport robot (3) moves inside the production line and sequentially transports the externally input cigarette and tobacco leaf bundles to the lower right position inside the first conveyor belt (4) to wait for label entry; Step 2: The truss handling robot (1) clamps the cigarette bundle on the top of the handling robot (3) and carries it to the surface of the first conveyor belt (4). The first conveyor belt (4) conveys the cigarette bundle on its top from back to front to the surface of the second conveyor belt (51). The cigarette bundle on the surface of the second conveyor belt (51) moves to the bottom of the identification component (6) to confirm the position of the label on the outer packaging surface of the cigarette bundle. Step 3: The first electric telescopic rod (63) drives the plug-in telescopic frame (62) to move downward, lowering the identification camera (613) to a specified height position, the first motor (69) drives the internal gear of the ring gear set (67) to move along the arc rack, and then drives the mounting plate (68) to move in an arc with the cooperation of the first motor (69), the second electric telescopic rod (614) drives the mounting seat (612) to move inward or outward to adjust the distance between the identification camera (613) and the outer packaging of the cigarette bundle, the identification camera (613) identifies the label attached to the outer packaging of the cigarette bundle and determines the location of the label, the first rotation module (64) drives the height adjustment frame (65) to rotate and then adjusts the arc slot plate (66) to rotate to a specified direction, so as to achieve full-range identification of the identification camera (613) on all sides of the outer packaging of the cigarette bundle, and then determine the location of the label; Step 4: When the cigarette bundle does not need to be rotated, the second conveyor belt (51) drives the cigarette bundle to pass through the position adjustment component (7) and move to the inner position of the fixed frame (52); when the cigarette bundle needs to be rotated so that the label is in the upper position, the second conveyor belt (51) drives the cigarette bundle to move to the position below the position adjustment component (7); Step 5: The second motor (75) drives the movable seat (73) to move horizontally along the outside of the track (72) to a specified position in cooperation with the belt assembly (74), so that the first mounting frame (76) is aligned with the cigarette and tobacco leaf bundle. The third motor (79) drives the second rotating module (710) to move up and down to a specified height position through the screw assembly (78). The third electric telescopic rods (715) on the left and right sides drive the rotating rods (714) at the corresponding positions to rotate inward. Under the limiting action of the limiting rods (713) on both sides, the rotating rods (714) drive the connecting seat (716) to drive the clamping in cooperation with the second rotating module (717). The arm (718) moves inward to clamp and fix the cigarette bundle, and the second rotating modules (717) on both sides control the clamping arms (718) to rotate clockwise or counterclockwise as needed, so that the clamping arms (718) on both sides drive the cigarette bundle to rotate upward or downward so that the label is located at the top. The second rotating module (710) drives the mounting truss (711) to rotate clockwise or counterclockwise as needed. The second rotating module (710) drives the cigarette bundle to rotate clockwise or counterclockwise to the left or right in cooperation with the clamping arms (718) on both sides so that the label is located at the top. Step 6: After the second rotating module (710) drives the clamping arm (718) to flip the cigarette bundle to the left and right directions, the fourth electric telescopic rods (721) on both sides drive the telescopic rods (720) to extend and retract to the specified length position in the inner cavity of the slot frame (719), so that the electric lifting platform (722) is located directly above the cigarette bundle. The electric lifting platform (722) lifts the second mounting frame (723) to the specified height position. The fifth electric telescopic rod (726) shortens and drives the clamping claw (725) on one side to move inward. The clamping claw (725) on the other side moves inward synchronously with the cooperation of the transmission gear (729) and the slot seat (727) and the rack rod (728). The clamping claws (725) on both sides clamp and fix the flipped cigarette bundle on the left and right sides. The third electric telescopic rods on both sides The telescopic rod (715) is extended to drive the rotating rod (714) to drive the connecting seat (716) to rotate outward, and the clamping arms (718) on both sides release the clamping fixation of the cigarette bundle. The fourth electric telescopic rod (721) is extended again to drive the electric lifting platform (722) to move backward, and the cigarette bundle is moved to the rear side with the cooperation of the clamping claws (725) on both sides. The second motor (75) drives the belt assembly (74) to rotate so that the movable seat (73) drives the first mounting frame (76) to move to the left or right to the outer position of the top of the second conveyor belt (51). The electric lifting platform (722) lowers the cigarette bundle to the surface position of the second conveyor belt (51) with the cooperation of the clamping claws (725) on the left and right sides. The fifth electric telescopic rod (726) is extended to drive the clamping claws (725) on both sides to move outward to release the fixation of the cigarette bundle. Step 7: The second conveyor belt (51) drives the cigarette bundle to move to the inner side of the fixed frame (52), and the dual-axis mobile platform (53) drives the image acquisition camera (54) to move to the top of the label. The image acquisition camera (54) shoots the label to generate image data. The image acquisition camera (54) sends the image data to the text image processing device through the main controller (2) for processing and storage.

Citation Information

Patent Citations

  • Optical character recognition method for tobacco certificates and orders

    CN112115949A

  • Icon character information processing method

    CN117011853A