Basic large model tobacco OCR (Optical Character Recognition) equipment and method
By designing a basic large-model tobacco OCR recognition device and using image recognition technology to automatically locate and adjust the label position, the problem of cumbersome manual operation and low efficiency in the existing technology has been solved, and efficient and accurate data entry has been achieved.
Patent Information
- Application Number
- CN202411547333.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-11-01
AI Technical Summary
During the processing of commercial cigarette rolls, the prior art requires manual handheld equipment to find the label location one by one and cooperate with the flipped cigarette rolls to pack, resulting in staff fatigue and affect efficiency and accuracy.
A tobacco OCR identification device with a basic model is designed, including text image collection devices and text image processing devices. The image recognition technology quickly locates the label position and adjusts the label position through automatic mode, suitable for OCR device recognition.
By automatically identifying and adjusting label positions, manual operation time is reduced, data entry efficiency and accuracy are improved, and staff fatigue and error rates are reduced.
Smart Images

Figure CN119339385A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of commodity cigarette processing, and in particular to a basic large-scale model of tobacco OCR recognition equipment 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 tax of cigarettes, the cigarette industry occupies an important position in the economy of various countries. In the process of commodity cigarette processing, commodity cigarette OCR technology is a technology that uses optical character recognition algorithms to recognize text information related to commodity cigarettes. Through OCR technology, these texts on paper or images can be converted into computer-editable text formats. In the production process of commodity cigarettes, OCR recognition is performed on the warehouse entry list of raw materials and the process record list in the production process. For the purchase warehouse entry list of commodity cigarettes, the origin, grade, quantity and other information of the commodity cigarettes are recorded on it. After OCR recognition, it can be directly entered into the production management system of the enterprise to improve the efficiency and accuracy of data entry; In the prior art, 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 that need to find the label position one by one, and also need to cooperate with the flipping of the commercial cigarettes, which causes fatigue to the workers during the work process, further affecting work efficiency and quality. In addition, manual operation has certain subjectivity and fatigue, which may cause missing labels or damage to the commercial cigarette bundles during the flipping process, thereby affecting the accuracy of OCR entry. Summary of the invention
[0003] 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.
[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a basic large-scale tobacco OCR recognition device, characterized in that it includes: 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 acquires 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, 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, and the post-processing system generates an electronic document after proofreading the image data.
[0005] Preferably, the process of image data processing by 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 means: ;in( ) represents the preprocessing function, which converts the original image into a format more 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 means: ;in( ) is the segmentation function, which performs segmentation based on the text layout and characteristics in the image; The feature extraction system extracts features from each text image and predicts the category of the text based on the features: Input: segmented text image data ; Output: a set of feature vectors of text And the category prediction set of text ; The formula means: ;in( ) is a feature extraction and classification function, which performs text recognition based on image features; The post-processing system proofreads the text category prediction and finally generates a formatted electronic document: Input: feature vector set And the category prediction set of text ; Output: Proofread electronic document data ; The formula means: ;in( ) is the post-processing function, which integrates and proofreads all information to generate a formatted electronic document.
[0006] 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.
[0007] Preferably, the image acquisition mechanism includes: a second conveyor belt, a fixed frame, a biaxial 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 biaxial movable platform is arranged on the top of the fixed frame along the left-right direction, and the biaxial movable platform is electrically connected to the main controller; the image acquisition camera is installed at the bottom of the mobile end of the biaxial 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.
[0008] Preferably, the identification component includes: a mounting frame, an insertable telescopic frame, a first electric telescopic rod, a first rotating module, a height adjustment frame, 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 frame is mounted on the left rear of the outside of the second conveyor belt; the insertable telescopic frame is arranged on the right side of the bottom end of the mounting frame; the first electric telescopic rod is arranged on the right side of the top of the mounting frame in the up and down directions, the telescopic end of the first electric telescopic rod extends to the lower surface of the mounting frame and is connected to the bottom of the telescopic end of the insertable telescopic frame, and the first electric telescopic rod is electrically connected to the main controller; the first rotating module is installed at the bottom of the telescopic end of the insertable telescopic frame, and the first rotating module is electrically connected to the main controller; the height adjustment frame is arranged at the bottom of the rotating end of the first rotating module; the arcuate groove plate is installed at the height adjustment 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 axis in the annular gear group, and the first motor is electrically connected to the main controller; 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 first slider assemblies; the identification camera is installed on the front side of the mounting seat, and the identification camera is electrically connected to the main controller; 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.
[0009] 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 along 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 along 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 side 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 moving seat in the up-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 in the up-down direction; the screw assembly is arranged in the middle of the rear side of the first mounting bracket in the up-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 axis of the screw 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 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.
[0010] Preferably, the position adjustment component also 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 installed 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 respectively rotatably connected to the outer side of the inner cavity of the left and right mounting slots through pin shafts; the number of the rotating rods is two, and the two rotating rods are respectively rotatably connected to the inner side of the inner cavity of the left and right mounting slots through pin shafts; 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 rotating 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 other side of the two limit rods and the rotating rod through a pin shaft; the number of the second rotating modules is two, and the two second rotating modules are respectively installed on the rear sides of the left and right connecting seats, and the second rotating 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 rotating ends of the left and right second rotating modules.
[0011] 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 rack, 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 installed at 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 rack is installed at the bottom of the lifting end of the electric lifting platform The cam is connected to the rear frame of the second mounting frame by a toothed connecting strip, and the toothed connecting strip is connected to the rear frame of the second mounting frame by a toothed connecting strip.
[0012] Compared with the prior art, the present invention has the following beneficial effects: 1. The first electric telescopic rod is extended to drive the inserted telescopic frame to move downward, so that the inserted telescopic frame lowers the identification camera to a specified height position under the cooperation of the first rotating module, the height adjustment frame and the arc groove 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 rack, and then drives the mounting plate to move in an arc shape 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 attached 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 groove plate to realize the all-round identification of the identification camera on the outside of the cigarette and tobacco leaf bundle packaging.
[0013] 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 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 to clamp and fix the cigarette and tobacco leaf bundles with the cooperation of the second rotating modules, 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 positions are at the top, the second rotating module drives the installation truss to rotate according to actual needs, and 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 positions are at the top.
[0014] 3. After the flipping is completed, the electric lifting platform lifts the second mounting frame to the specified height position so that the clamping claws are located on the left and right sides of the cigarette 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 bundle, and the clamping arms on both sides release the clamping and fixation of the cigarette 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 bundle moves a certain distance to the rear side, the second motor drives the belt assembly to rotate so that the moving seat drives the first mounting frame to move to the left or right side to the outer position of the top of the second conveyor belt, the electric lifting platform lowers the cigarette 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 bundle, the second conveyor belt drives the cigarette bundle to the inner side 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, and the image acquisition camera sends the image data to the text image processing device through the main controller.
[0015] To summarize, the present invention uses image recognition technology to scan the overall appearance of the commodity cigarette bundle packaging before formal OCR input, 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
[0016] Figure 1 It is a schematic diagram of the present invention; Figure 2 for Figure 1 A structural diagram of a text image acquisition device; Figure 3 for Figure 2 Schematic diagram of image acquisition mechanism; Figure 4 for Figure 3 Exploded view of identified components; Figure 5 for Figure 4 A magnified image of point A; Figure 6 for Figure 3 Exploded view of the position adjustment component; Figure 7 for Figure 6 The enlarged view of point B; Figure 8 for Figure 6 Enlarged view of point C; Fig. 9 for Figure 6 Enlarged view of point D.
[0017] 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 stand, 62, plug-in telescopic frame, 63, first electric telescopic rod, 64, first rotating 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 rod, 725. Clamping claw, 726. Fifth electric telescopic rod, 727. Slot seat, 728. Rack rod, 729. Transmission gear. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.
[0019] See also Figure 1- Fig. 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 acquires paper document image data on the outside of a 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 generates an electronic document after proofreading the image data.
[0020] The process of image data processing by 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 means: ;in( ) represents the preprocessing function, which converts the original image into a format more 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 means: ;in( ) is the segmentation function, which performs segmentation based on the text layout and characteristics in the image; The feature extraction system extracts features from each text image and predicts the category of the text based on the features: Input: segmented text image data ; Output: a set of feature vectors of text And the category prediction set of text ; The formula means: ;in( ) is a feature extraction and classification function, which performs text recognition based on image features; The post-processing system proofreads the text category prediction and finally generates a formatted electronic document: Input: feature vector set And the category prediction set of text ; Output: Proofread electronic document data ; The formula means: ;in( ) is the post-processing function, which integrates and proofreads all information to generate a formatted electronic document.
[0021] As a preferred solution, further, Figure 2 As 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, and the truss handling robot 1 can carry the cigarette and tobacco leaf bundles inside the handling robot 3 to the surface of the first conveyor belt 4; the main controller 2 is arranged at the right rear of the 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 arranged inside the main controller 2 to automatically control the electrical components inside 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.
[0022] As a preferred solution, further, Figure 3As 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 on the front side of the first conveyor belt 4 along 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 along 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 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.
[0023] 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 at the left rear of the outside of the second conveyor belt 51; the insertable telescopic frame 62 is arranged 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 arranged 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 shortening; the first rotating module 64 is installed at the bottom of the telescopic end of the inserted telescopic frame 62, and the first rotating module 64 is controlled by the main controller 2; the first rotating 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 rotating end of the first rotating 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 and lowering 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 installed 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 axis in the annular gear set 67, the first motor 69 is electrically connected to the main controller 2, 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 installed in the middle of the rear side of the mounting plate 68, and the roller The frame 610 is plugged into the inner cavity of the arc groove plate 66, and the roller frame 610 can move along the inner cavity of the arc 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 rail in the first slider assembly 611 is installed on the front side of the mounting plate 68, and a slider is installed on the outside of the slide rail as a limit end; the mounting seat 612 is arranged in front of the limit ends of the upper and lower first slider assemblies 611; the identification camera 613 is installed on the front side of the mounting seat 612, and the identification camera 613 is electrically connected to the main controller 2, and the identification camera 613 is controlled by the main controller 2, and the identification camera 613 identifies the label attached to the outer packaging of the cigarette bundle and determines the location of the label;The second electric telescopic rod 614 is installed at 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, the second electric telescopic rod 614 is electrically connected to the main controller 2, the second electric telescopic rod 614 is controlled by the main controller 2, and the second electric telescopic rod 614 can drive the mounting seat 612 to move inward and outward by its own extension and contraction.
[0024] As a preferred solution, further, Figure 6 , Figure 7 , Figure 8 and Fig. 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 limit 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 inner side of the fixed frame 52 and the mounting stand 61; there are two tracks 72, 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; the moving seat 73 is sleeved on the outside of the two front and rear tracks 72; the belt assembly 74 is installed on the inner top 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 moving 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 side 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, and the second motor 75 can drive The right pulley of the belt assembly 74 rotates clockwise or counterclockwise; the first mounting frame 76 is installed at 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 respectively installed at the left and right ends of the rear side of the first mounting frame 76 in the up-down direction, and the slide rail in the second slider assembly 77 is installed at the rear side of the first mounting frame 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 frame 76 in the up-down direction; the third motor 79 is installed at the top of the rear side of the first mounting frame 76, and the rotating end of the third motor 79 is connected to the top of the screw shaft of 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 third motor 79 can drive the lead screw in the lead screw assembly 78 to rotate clockwise or counterclockwise; the second rotation module 710 is installed at the rear side of the limit ends of the left and right second slider assemblies 77, the lead screw nut in the lead 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 the second rotation module 710 can drive the installation truss 711 to rotate clockwise or counterclockwise; the installation truss 711 is installed at the rear side of the rotation end of the second rotation module 710 along 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 which is rotatably 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, which are rotatably 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 which 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, 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 shaft; 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 sides of the rotating ends 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 cavities 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 sides 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 sides of the left and right telescopic rods 720, the fourth electric telescopic rod 721 is electrically connected to the main controller 2, the fourth electric telescopic rod 721 is controlled by the main controller 2, and the fourth electric telescopic rod 721 is electrically connected to 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, 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 the electric lifting platform 722 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; 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; 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 outside of the front and rear slide rail rods 724;The fifth electric telescopic rod 726 is installed on the inner side of the second mounting frame 723 along 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. 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 inner side of the second mounting frame 723 at the upper and lower ends and the left and right sides. The rack rod 728 is There are two rack rods 728, which are respectively inserted into the inner sides of the left and right slot seats 727. The rack rods 728 are respectively connected to the top ends of the two clamping claws 725, and the rack rods 728 can move inward and outward inside the slot seats 727; the transmission gear 729 is rotatably connected to the inner rear end of the second mounting frame 723 through 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. The rack rod 728 on one side moves inward and outward and drives the transmission gear 729 to rotate at the same time, and the rack rod 728 on the other side can move inward or outward synchronously with the rotation of the transmission gear 729. ;
[0025] Here’s how it works: Step 1: The staff remotely controls the main controller 2 to start the handling robot 3. The preset program inside 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 preset program inside 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 identification camera 613 and the first rotating 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 below 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 groove plate 66 below, and the first motor 69 drives the internal gear of the annular gear set 67 to move along the arc rack, and then drives the mounting plate 68 to move in an arc shape under the cooperation of the first motor 69, and the second electric telescopic rod 614 is extended and shortened 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, and the identification camera 613 identifies the label attached to the outer packaging of the cigarette bundle and determines the location of the label, and the first rotating module 64 drives the height adjustment frame 65 to rotate clockwise or counterclockwise, and then adjusts the direction of the arc groove plate 66 to realize the all-round identification of the identification camera 613 on the outside of the cigarette bundle packaging;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 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. The machine 79 drives the lead screw in the lead screw assembly 78 to rotate, so that the lead screw nut inside the lead 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 mounting 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 rotate clockwise or counterclockwise. The holding arm 718 drives the cigarette bundle to rotate upward or downward so that its label 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 is at the top. After the flipping is completed, the fourth electric telescopic rods 721 on both sides extend to 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 directly above the cigarette bundle. The electric lifting platform 722 lifts the second mounting frame 723 to a 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, and under the cooperation of the transmission gear 729 and the slot seat 727 and the rack rod 728 on the other side, the clamping claw 725 on the other side moves inward synchronously, and the clamping claws 725 on both sides clamp and fix the left and right sides of the turned cigarette bundle, and 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 and fixation of the cigarette bundle, and 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 to the rear side.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, with the cooperation of the clamping claws 725 on the left and right sides, lowers the cigarette bundle to the surface of the second conveyor belt 51. The fifth electric telescopic rod 726 extends to drive the clamping claws 725 on both sides to move outward to release the fixation of the cigarette bundle. The second conveyor belt 51 drives the cigarette bundle to move to the inner position of the fixed frame 52. The dual-axis movable platform 53 drives the image acquisition camera 54 to move to the top position 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.
[0026] Although 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 the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A basic large-scale tobacco OCR recognition device, characterized in that: include: 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 acquires paper document image data of the outside of a cigarette and tobacco leaf 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, and wherein the post-processing system generates an electronic document after proofreading the image data.
2. A basic large-scale tobacco OCR recognition device according to claim 1, characterized in that: The process of image data processing by 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 means: ;in( ) represents the preprocessing function, which converts the original image into a format more 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 means: ;in( ) is the segmentation function, which performs segmentation based on the text layout and characteristics in the image; The feature extraction system extracts features from each text image and predicts the category of the text based on the features: Input: segmented text image data ; Output: a set of feature vectors of text And the category prediction set of text ; The formula means: ;in( ) is a feature extraction and classification function, which performs text recognition based on image features; The post-processing system proofreads the text category prediction and finally generates a formatted electronic document: Input: feature vector set And the category prediction set of text ; Output: Proofread electronic document data ; The formula means: ;in( ) is the post-processing function, which integrates and proofreads all information to generate a formatted electronic document.
3. A basic large-scale tobacco OCR recognition device according to claim 2, characterized in that: The text image acquisition device comprises: Truss handling robot (1); A main controller (2) is arranged at the right rear 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 right end of the inner side of the truss handling robot (1), and the handling robot (3) is remotely connected to the main controller (2) via a network; A first conveyor belt (4) is arranged at the inner left end of the truss handling robot (1) along the front-rear 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).
4. A basic large-scale tobacco OCR recognition device according to claim 3, characterized in that: The image acquisition mechanism (5) comprises: A second conveyor belt (51) arranged in front of the first conveyor belt (4) along the front-to-back direction; A fixing frame (52) arranged 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) along 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 mounted on 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).
5. A basic large-scale tobacco OCR recognition device according to claim 4, characterized in that: The identification component (6) comprises: A mounting stand (61) mounted on the left rear of the exterior of the second conveyor belt (51); An insertable telescopic frame (62) is arranged 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 up-down 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 mounted on the bottom of the telescopic end of the plug-in telescopic frame (62), the first rotating module (64) being 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) mounted at 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 groove plate (66); A mounting plate (68) disposed on the front side of the arc-shaped slot plate (66); a first motor (69) mounted on the inner rear end of the mounting plate (68), the rotating end of the first motor (69) being connected to the gear shaft of the ring gear set (67), and the first motor (69) being electrically connected to the main controller (2); A 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), wherein 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) disposed at the front side of the limiting ends of the upper and lower first sliding block assemblies (611); An identification camera (613) is mounted on the front side of the mounting seat (612), and the identification camera (613) is electrically connected to the main controller (2); 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 seat (612); and the second electric telescopic rod (614) is electrically connected to the main controller (2).
6. A basic large-scale tobacco OCR recognition device according to claim 5, characterized in that: The position adjustment component (7) comprises: A gantry (71) installed outside the second conveyor belt (51) and located inside the fixed frame (52) and the mounting frame (61); Tracks (72), the number of the tracks (72) being two, and the two tracks (72) being respectively installed on the top of the front and rear sides of the gantry (71) along the left-right direction; A movable seat (73) is sleeved on the outside of the two front and rear rails (72); A belt assembly (74) is installed on the inner top of the gantry (71) along the left-right direction, and 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), the 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) mounted on the bottom of the movable seat (73) in the up-down direction; A second slider assembly (77), the number of the second slider assembly (77) being two, and the two second slider assemblies (77) being respectively mounted on the left and right ends of the rear side of the first mounting frame (76) in the up-down direction; A lead screw assembly (78) is disposed in the middle of the rear side of the first mounting frame (76) in the up-down direction; a third motor (79) mounted on the top of the rear side of the first mounting frame (76), the rotating end of the third motor (79) being connected to the top of the axis of the lead screw in the lead screw assembly (78), and the third motor (79) being electrically connected to the main controller (2); The second rotation module (710) is installed on the rear side of the limit 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).
7. A basic large-scale tobacco OCR recognition device according to claim 6, 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) along the left-right direction; A mounting groove (712), wherein the number of the mounting grooves (712) is two, and the two mounting grooves (712) are respectively arranged on the left and right sides of the mounting truss (711); Limit rods (713), the number of the limit rods (713) is two, one end of the two limit rods (713) is rotatably connected to the outside of the inner cavity of the left and right installation grooves (712) respectively through a pin shaft; Rotating rods (714), the number of the rotating rods (714) being two, and the two rotating rods (714) being rotatably connected to the inner sides of the inner cavities of the left and right mounting grooves (712) respectively via pin shafts; a third electric telescopic rod (715), wherein the number of the third electric telescopic rods (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); A connecting seat (716), wherein the number of the connecting seats (716) is two, 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) via a pin shaft; A second rotating module (717), the number of the second rotating modules (717) is two, the two second rotating modules (717) are respectively mounted on the rear sides of the left and right connecting seats (716), and the second rotating 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).
8. A basic large-scale tobacco OCR recognition device according to claim 7, characterized in that: The position adjustment component (7) further comprises: slot racks (719), the number of the slot racks (719) being two, and the two slot racks (719) being respectively mounted on the left and right sides of the top of the gantry (71); Telescopic rods (720), the number of the telescopic rods (720) being two, and the two telescopic rods (720) being respectively inserted into the inner cavities of the left and right slot frames (719); A fourth electric telescopic rod (721), wherein the number of the fourth electric telescopic rods (721) is two, and the two fourth electric telescopic rods (721) are respectively mounted on the top rear sides of the left and right slot frames (719), and 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 rods (721) are 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) being two, and the two slide rail rods (724) being respectively mounted on the front and rear sides of the second mounting frame (723) along the left-right direction; Clamping claws (725), the number of the clamping claws (725) being two, and the two clamping claws (725) being 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) 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) being respectively connected to the top ends of the left and right clamping claws (725), and the fifth electric telescopic rod (726) being electrically connected to the main controller (2); A slot seat (727), wherein the number of the slot seats (727) is two, and the two slot seats (727) are respectively mounted on the upper and lower ends and the left and right sides of the inner side of the second mounting frame (723); Rack rods (728), the number of the rack rods (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).
9. A basic large-model tobacco OCR recognition method, applied to a basic large-model tobacco OCR recognition device as claimed in claim 8, characterized in that: Use the following steps: Step 1: The transport robot (3) is started by controlling a preset program inside the transport robot (3), and the transport robot (3) moves inside the production line to sequentially transport externally input cigarette and tobacco leaf bundles to the lower right position inside the first conveyor belt (4), waiting 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 below the identification component (6) to confirm the position of the outer packaging surface of the cigarette bundle where the label is located; Step 3: The first electric telescopic rod (63) drives the plug-in telescopic frame (62) to move downward, and the identification camera (613) is lowered to a specified height position. 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) 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 rotating module (64) drives the height adjustment frame (65) to rotate and then adjusts the arc-shaped slot plate (66) to rotate to a specified direction, so as to achieve all-round identification of the identification camera (613) on all surfaces 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 side 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 rise and fall 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 under the cooperation of 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 required, 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, and the second rotating module (710) drives the mounting truss (711) to rotate clockwise or counterclockwise as required. 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 a 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 a 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) on the other side and the rack rod (728). 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 on both sides are The 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 a certain distance 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 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) photographs 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
Character segmentation and recognition method based on CTC deep neural network
CN111507348A
Optical character recognition method for tobacco certificates and orders
CN112115949A
Image detection and identification device and method for safety production line
CN112268174A
3D face information recognition method and device based on big data
CN113673329A
Intelligent annular waist transfer device on paper diaper production line
CN115192318A