A workpiece size measuring device based on machine vision

By adopting a synchronous measurement mechanism and a dental rack system in machine vision measurement, the dimensional distortion caused by non-vertical shooting and relative motion of the workpiece is solved, and high-precision workpiece dimension measurement is achieved and work efficiency is improved.

CN118500256BActive Publication Date: 2024-11-08SUZHOU MECHO MECHANICAL&ELECTRICAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410810533.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-11-08
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

In machine vision measurement, non-vertical shooting or large relative motion of the surface to be detected by the workpiece will cause distortion and dimensional distortion of the imaging screen, affecting measurement accuracy and imaging quality.

Method used

A workpiece dimension measurement device based on machine vision is designed, using a synchronous measurement mechanism, through the coordinated operation of the No. 1 and No. 2 assembly lines and the synchronous movement of the loading boat, ensuring the synchronous movement of the industrial camera and the workpiece on the carrier plate, using the dental disc The rack system adjusts the position of the workpiece to achieve forward shooting and obtain the front and reverse image data of the workpiece.

Benefits of technology

The accuracy and work efficiency of measurement are improved, the photos are not distorted, and the dimension information of the workpiece is accurately calculated through double shooting and processing of image data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118500256B_ABST
    Figure CN118500256B_ABST
Patent Text Reader

Abstract

The invention relates to the field of optical measurement technology, in particular to a workpiece size measuring device based on machine vision, comprising a synchronous measuring mechanism, wherein the synchronous measuring mechanism comprises a No. 1 assembly line, a No. 2 assembly line is arranged on one side of the No. 1 assembly line, a plurality of carriers are fixedly connected to the No. 1 assembly line and the No. 2 assembly line, a circulating conveyor is arranged between the No. 1 assembly line and the No. 2 assembly line, a plurality of loading boats are fixedly connected to the circulating conveyor, a collection mechanism is fixedly connected to the loading boat, and an industrial camera is arranged on the collection mechanism. The invention keeps the running speed of the carriers on the No. 1 assembly line and the No. 2 assembly line consistent with the running speed of the loading boats on the circulating conveyor, and keeps the distance between adjacent carriers consistent with the distance between adjacent loading boats, so that the industrial camera can move synchronously with the workpieces on the carriers, ensures that the taken photos are not distorted, and improves the accuracy of measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of optical measurement, in particular to a workpiece size measuring device based on machine vision. Background Art

[0002] Machine vision is a branch of artificial intelligence, and its core idea is to use machines to replace human eyes for measurement and judgment. Through image acquisition system, image processing system and information comprehensive analysis and processing system, it simulates human visual behavior, obtains the morphological information of the photographed target, and processes and analyzes it.

[0003] With the development of machine vision technology, machine vision measurement and inspection have been widely used in industrial sites. When measuring the size of the workpiece surface to be inspected, in order to ensure the measurement accuracy, the camera shooting direction needs to be perpendicular to the workpiece surface to be inspected and the surface to be inspected should be approximately still in the imaging picture. If it is not perpendicular, the workpiece surface to be inspected in the imaging picture will be distorted and the size will be distorted. If there is a large relative motion, the imaging quality will be too low and cannot be directly used for dimensional measurement.

[0004] In view of this, the present invention proposes a workpiece size measuring device based on machine vision to solve the above technical problems. Summary of the invention

[0005] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0006] A workpiece size measuring device based on machine vision includes a synchronous measuring mechanism, wherein the synchronous measuring mechanism includes a No. 1 assembly line, a No. 2 assembly line is arranged on one side of the No. 1 assembly line, a plurality of carrier plates are fixedly connected to the No. 1 assembly line and the No. 2 assembly line, a circulating conveyor belt is arranged between the No. 1 assembly line and the No. 2 assembly line, a plurality of loading boats are fixedly connected to the circulating conveyor belt, and a collecting mechanism is fixedly connected to the loading boats.

[0007] As a preferred solution of the workpiece dimension measuring device based on machine vision provided by the present invention, the No. 1 assembly line and the No. 2 assembly line have opposite running directions and the same running speeds.

[0008] As a preferred solution of the workpiece dimension measuring device based on machine vision provided by the present invention, the carrier plate on the No. 1 assembly line and the loading boat on the circulating conveyor belt have the same running direction and the same running speed.

[0009] As a preferred solution of the workpiece size measuring device based on machine vision provided by the present invention, the upper end surface of the carrier plate is fixedly connected with a proofreading mechanism, the proofreading mechanism includes a No. 1 electric telescopic rod, the output end of the No. 1 electric telescopic rod is fixedly connected with a lifting plate, the upper end of the carrier plate is fixedly connected with a central axis, the upper end of the central axis passes through the lifting plate, and the central axis and the lifting plate are rotatably connected.

[0010] As a preferred solution of the workpiece size measuring device based on machine vision provided by the present invention, the upper end surface of the lifting plate is fixedly connected with three fixed columns, and a linkage rod corresponding to the fixed columns is arranged above the lifting plate, and the fixed columns and one end of the linkage rod are rotatably connected, a toothed disc is arranged above the fixed column, an arc guide groove is opened on the toothed disc, and a proofreading rod is arranged in the arc guide groove, the upper end of the proofreading rod passes through the arc guide groove and extends to the top of the toothed disc, the proofreading rod and the arc guide groove are slidably connected, one end of the linkage rod away from the fixed column is fixedly connected to the lower end surface of the proofreading rod, the lower end surface of the toothed disc and the upper end surface of the central axis are rotatably connected via a bearing, the toothed disc cooperates with a No. 1 rack, and the No. 1 rack is fixedly connected to the No. 1 assembly line and the No. 2 assembly line via a supporting spring.

[0011] As a preferred solution of the workpiece size measuring device based on machine vision provided by the present invention, one end of the spring tube is fixedly connected to the side surface of one end of the linkage rod close to the fixed column, the other end of the spring tube is fixedly connected to a limit block, and the limit block is fixedly connected to the lifting plate.

[0012] As a preferred solution of the workpiece size measuring device based on machine vision provided by the present invention, the collecting mechanism is fixedly connected to the loading boat, and the collecting mechanism includes an L-shaped bracket, and one end of the L-shaped bracket away from the loading boat extends above the No. 1 assembly line and the No. 2 assembly line, and one end of the L-shaped bracket away from the loading boat is fixedly connected to a No. 2 electric telescopic rod, and the output end of the No. 2 electric telescopic rod is rotatably connected to a fixed plate.

[0013] As a preferred solution of the workpiece size measuring device based on machine vision provided by the present invention, the side of the L-shaped bracket is slidably connected with an industrial camera, the bracket on the industrial camera extends into the interior of the L-shaped bracket and is fixedly connected to the lifting plate, the lifting plate and the inner cavity of the L-shaped bracket are slidably connected, the center of the lifting plate is threadedly connected to the threaded rod, the upper end surface of the threaded rod is fixedly connected to the output shaft of the motor, and the motor is fixedly connected in the L-shaped bracket.

[0014] As a preferred solution of the workpiece size measuring device based on machine vision provided by the present invention, a No. 2 rack is provided on both the No. 1 assembly line and the No. 2 assembly line, and the No. 2 rack is fixedly connected to the No. 1 assembly line and the No. 2 assembly line through a supporting spring, and the No. 2 rack cooperates with the chainring.

[0015] Beneficial effects of the present invention:

[0016] (1) In the present invention, by keeping the running speed of the carriers on the No. 1 and No. 2 assembly lines consistent with the running speed of the loading boats on the circulating conveyor belt, and keeping the distance between adjacent carriers consistent with the distance between adjacent loading boats, the industrial camera can move synchronously with the workpieces on the carriers. Each workpiece has an industrial camera to synchronously photograph it, ensuring that the photographed photos are not distorted, thereby improving the accuracy of measurement.

[0017] (2) In the present invention, by setting up a second assembly line and keeping the first assembly line and the second assembly line running in opposite directions, the industrial camera can measure the workpieces on both sides of the circulating conveyor belt at the same time, thereby improving work efficiency.

[0018] (3) In the present invention, the toothed disc and the first rack are in contact and meshing with each other, so that the toothed disc rotates, and the arc-shaped guide groove drives the calibration rod to converge toward the center of the toothed disc, pushing the workpiece to the center of the toothed disc, so that the industrial camera can shoot the workpiece directly, and the resulting image can more accurately calculate the size of the workpiece.

[0019] (4) In the present invention, by setting a No. 2 rack, when the sprocket drives the workpiece to continue to move along with the carrier plate, the sprocket and the No. 2 rack are meshed. After the sprocket rotates 180 degrees, the industrial camera takes a second photo to obtain the back image data of the workpiece, and transmits the image data obtained twice to the remote terminal for processing to obtain the size information of the workpiece. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0021] in:

[0022] Figure 1 It is a schematic diagram of the overall structure of a workpiece size measuring device based on machine vision;

[0023] Figure 2 for Figure 1 A schematic diagram of the structure enlargement in the middle;

[0024] Figure 3 It is a schematic diagram of the connection structure of the proofreading mechanism, the No. 1 assembly line and the acquisition mechanism in a workpiece size measuring device based on machine vision;

[0025] Figure 4 for Figure 3 A magnified schematic diagram of the structure at B in the middle;

[0026] Figure 5 for Figure 3 A magnified schematic diagram of the structure at C in the middle;

[0027] Figure 6 It is a schematic diagram of the connection structure of a No. 1 electric telescopic rod, a No. 1 assembly line, a central axis and a carrier plate in a workpiece size measuring device based on machine vision;

[0028] Figure 7 for Figure 6 A magnified schematic diagram of the structure at D in the middle;

[0029] In the figure:

[0030] 1. Synchronous measuring mechanism; 11. Assembly line No. 1; 12. Assembly line No. 2; 13. Carrier board; 14. Circular conveyor belt; 15. Loading boat;

[0031] 2. Proofreading mechanism; 21. Tooth plate; 23. Arc guide groove; 24. Proofreading rod; 25. Linkage rod; 26. Fixed column; 27. Center axis; 28. Lifting plate; 29. ​​Limit block; 210. Spring tube; 211. No. 1 electric telescopic rod; 212. No. 1 rack;

[0032] 3. Collection mechanism; 31. L-shaped bracket; 32. No. 2 electric telescopic rod; 33. Fixed plate; 34. Industrial camera; 35. Lifting plate; 36. Threaded rod; 37. Motor;

[0033] 41. Rack No. 2. DETAILED DESCRIPTION

[0034] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below 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.

[0035] Example

[0036] like Figure 1 , Figure 2 , Figure 3 , Figure 4 and Figure 6 As shown, a workpiece size measuring device based on machine vision, wherein the upper end surface of the carrier plate 13 is fixedly connected to a proofreading mechanism 2, the proofreading mechanism 2 comprises a No. 1 electric telescopic rod 211, the output end of the No. 1 electric telescopic rod 211 is fixedly connected to a lifting plate 28, the upper end surface of the carrier plate 13 is fixedly connected to a central shaft 27, the upper end of the central shaft 27 passes through the lifting plate 28, and the central shaft 27 and the lifting plate 28 are rotatably connected;

[0037] The upper end surface of the lifting plate 28 is fixedly connected with three fixing columns 26, and a linkage rod 25 corresponding to the fixing columns 26 is arranged above the lifting plate 28, and the fixing columns 26 are rotatably connected to one end of the linkage rod 25. A toothed plate 21 is arranged above the fixing columns 26, and an arc guide groove 23 is opened on the toothed plate 21, and a proofreading rod 24 is arranged in the arc guide groove 23. The upper end of the proofreading rod 24 passes through the arc guide groove 23 and extends to the top of the toothed plate 21, and the proofreading rod 24 is slidably connected to the arc guide groove 23. One end of the linkage rod 25 away from the fixing column 26 is fixedly connected to the lower end surface of the proofreading rod 24, and the lower end surface of the toothed plate 21 and the upper end surface of the central shaft 27 are rotatably connected through a bearing. The toothed plate 21 cooperates with a No. 1 rack 212, and the No. 1 rack 212 is fixedly connected to the No. 1 assembly line 11 and the No. 2 assembly line 12 through a supporting spring;

[0038] One end of a spring tube 210 is fixedly connected to the side surface of one end of the linkage rod 25 close to the fixed column 26 , and the other end of the spring tube 210 is fixedly connected to a limit block 29 , and the limit block 29 is fixedly connected to the lifting plate 28 .

[0039] In the embodiment, the disc-shaped workpiece to be measured is placed on the toothed disc 21, and then the toothed disc 21 moves following the carrier plate 13. When the toothed disc 21 and the No. 1 rack 212 are meshed, the toothed disc 21 is driven to rotate, and the rotation of the toothed disc 21 drives the arc guide groove 23 to rotate. Under the push of the arc guide groove 23, the proofreading rod 24 moves and retracts along the guide of the arc guide groove 23 toward the center of the toothed disc 21, and pushes the workpiece toward the center of the toothed disc 21. When the workpiece moves to the center of the toothed disc 21, the pressure of the proofreading rod 24 on the workpiece gradually increases. At this time, the pressure sensor (the pressure sensor is arranged in the proofreading rod 24, not shown in the figure) transmits the signal to the No. 1 electric telescopic rod 211, and the No. 1 electric telescopic rod 211 drives the lifting plate 28 to drop instantly, and the lifting plate 28 drives the fixed column 26, the linkage rod 25 and the proofreading rod 24 to descend, and the proofreading rod 24 moves downward and no longer contacts the workpiece, and the proofreading rod 24 moves downward to below the lower end surface of the toothed disc 21. At this time, the proofreading rod 24 is no longer pushed by the arc guide groove 23, and the spring tube 210 extends to push the linkage rod 25 and the proofreading rod 24 to reset, because in the process of the proofreading rod 24 pushing the workpiece to the center of the toothed disc 21, the spring tube 210 is in a compressed state (the spring tube 210 is a prior art and will not be elaborated on), and because the straight line formed by the industrial camera 34 and the center of the toothed disc 21 is perpendicular to the No. 1 assembly line 11 and the No. 2 assembly line 12, the workpiece is pushed to the center position of the toothed disc 21 so that the industrial camera 34 can obtain the workpiece image.

[0040] like Figure 1 , Figure 3 and Figure 6 As shown, the synchronous measurement mechanism 1 includes a No. 1 assembly line 11, a No. 2 assembly line 12 is arranged on one side of the No. 1 assembly line 11, a plurality of carrier plates 13 are fixedly connected to the No. 1 assembly line 11 and the No. 2 assembly line 12, a circulating conveyor belt 14 is arranged between the No. 1 assembly line 11 and the No. 2 assembly line 12, a plurality of loading boats 15 are fixedly connected to the circulating conveyor belt 14, and a collection mechanism 3 is fixedly connected to the loading boat 15;

[0041] The No. 1 assembly line 11 and the No. 2 assembly line 12 have opposite running directions and the same running speed;

[0042] As a preferred solution of the workpiece dimension measuring device based on machine vision provided by the present invention, the carrier plate 13 on the No. 1 assembly line 11 and the loading boat 15 on the circulating conveyor belt 14 have the same running direction and the same running speed.

[0043] In the embodiment, by keeping the running speed of the carriers 13 on the No. 1 assembly line 11 and the No. 2 assembly line 12 consistent with the running speed of the loading boats 15 on the circulating conveyor belt 14, and keeping the distance between adjacent carriers 13 and the distance between adjacent loading boats 15 consistent, the industrial camera 34 can move synchronously with the workpieces on the carriers 13, and each workpiece has an industrial camera 34 to synchronously shoot it, ensuring that the photos taken are not distorted, thereby improving the accuracy of the measurement.

[0044] At the same time, the No. 1 assembly line 11 and the No. 2 assembly line 12 run in opposite directions, so the industrial camera 34 can measure the workpieces on both sides of the circulating conveyor belt 14 at the same time, thereby improving work efficiency.

[0045] like Figure 1 , Figure 2 , Figure 5 and Figure 7 As shown, the collecting mechanism 3 is fixedly connected to the loading boat 15, and the collecting mechanism 3 includes an L-shaped bracket 31, and one end of the L-shaped bracket 31 away from the loading boat 15 extends above the No. 1 assembly line 11 and the No. 2 assembly line 12, and one end of the L-shaped bracket 31 away from the loading boat 15 is fixedly connected to the No. 2 electric telescopic rod 32, and the output end of the No. 2 electric telescopic rod 32 is rotatably connected to a fixed plate 33;

[0046] The side of the L-shaped bracket 31 is slidably connected with an industrial camera 34, the bracket on the industrial camera 34 extends into the interior of the L-shaped bracket 31 and is fixedly connected to a lifting plate 35, the lifting plate 35 is slidably connected to the inner cavity of the L-shaped bracket 31, the center of the lifting plate 35 is threadedly connected to a threaded rod 36, the upper end surface of the threaded rod 36 is fixedly connected to the output shaft of a motor 37, and the motor 37 is fixedly connected in the L-shaped bracket 31;

[0047] A No. 2 rack 41 is provided on both the No. 1 assembly line 11 and the No. 2 assembly line 12 . The No. 2 rack 41 is fixedly connected to the No. 1 assembly line 11 and the No. 2 assembly line 12 via a supporting spring. The No. 2 rack 41 cooperates with the chainring 21 .

[0048] In the embodiment, when the workpiece reaches the center of the toothed disc 21, the No. 2 electric telescopic rod 32 drives the fixed plate 33 to move downward, and the fixed plate 33 presses on the upper end surface of the workpiece, so that the workpiece will not slide during transportation, thereby affecting the photo taking of the industrial camera 34. Then the No. 2 electric telescopic rod 32 stops extending, and the motor 37 drives the threaded rod 36 to rotate. When the threaded rod 36 rotates, it drives the lifting plate 35 to move up and down to adjust the height of the industrial camera 34.

[0049] It should be noted that the distance between the toothed plate 21 and the fixed plate 33 is G. When the fixed plate 33 contacts the workpiece, the distance extended by the second electric telescopic rod 32 is H. Half of the length obtained by subtracting the distance H from the distance G is the height to which the industrial camera 34 needs to rise. This height is controlled by the number of revolutions of the motor 37. This height is also half of the height of the workpiece, because the industrial camera 34 needs to be aimed at the middle of the workpiece so that the image obtained is conducive to pixel calculation, thereby obtaining the workpiece size.

[0050] After the workpiece moves to the center of the sprocket 21, the industrial camera 34 will take a photo of it once to obtain a front image of the workpiece. Then the sprocket 21 and the second rack 41 will engage. At this time, the sprocket 21 will rotate 180 degrees. Then the industrial camera 34 will take a photo of the workpiece again to obtain a back image of the workpiece, and transmit the image information to the remote terminal, and use pixels to calculate the size of the workpiece.

[0051] The workflow is as follows:

[0052] First, the user places the workpiece to be measured on the toothed disc 21, and the toothed disc 21 drives the workpiece to move with the No. 1 assembly line 11. When the toothed disc 21 and the No. 1 rack 212 are meshed, the toothed disc 21 rotates, and the arc-shaped guide groove 23 in the toothed disc 21 drives the calibration rod 24 to move and retract toward the center of the toothed disc 21. At the same time, the workpiece is retracted to the center of the toothed disc 21 by the calibration rod 24, and then the No. 1 electric telescopic rod 211 is triggered to drive the lifting disc 28 and the calibration rod 24 to descend below the toothed disc 21. At the same time, the previously compressed spring tube 210 is stretched to drive the calibration rod 24 to reset. At this time, the workpiece is in the center of the toothed disc 21.

[0053] The L-shaped bracket 31 drives the second electric telescopic rod 32, the fixed plate 33 and the industrial camera 34 to move synchronously with the carrier plate 13. When the workpiece is gathered to the center position of the toothed plate 21, the second electric telescopic rod 32 drives the fixed plate 33 to press on the workpiece, and the motor 37 drives the threaded rod 36 to rotate and drives the lifting plate 35 to move to adjust the height of the industrial camera 34. After the adjustment is completed, the industrial camera 34 takes a picture of the workpiece for the first time to obtain the front image data of the workpiece;

[0054] When the toothed disc 21 drives the workpiece to continue to move along with the carrier plate 13, the toothed disc 21 meshes with the second rack 41. After the toothed disc 21 rotates 180 degrees, the industrial camera 34 takes a second photo to obtain the back image data of the workpiece, and transmits the image data obtained twice to the remote terminal for processing to obtain the size information of the workpiece.

[0055] After the industrial camera 34 finishes taking the photo for the second time, the No. 2 electric telescopic rod 32 drives the fixed plate 33 away from the workpiece to reset, and at the same time the industrial camera 34 moves downward to reset. Then the L-shaped bracket 31 drives the No. 2 electric telescopic rod 32, the fixed plate 33 and the industrial camera 34 to follow the circulating conveyor belt 14 to the other side and start measuring the workpiece data on the No. 2 assembly line 12.

[0056] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of the present invention is defined by the attached claims and their equivalents.

Claims

1. A workpiece dimension measuring device based on machine vision, comprising a synchronous measuring mechanism (1), It is characterized in that The synchronous measurement mechanism (1) comprises a first assembly line (11), a second assembly line (12) is arranged on one side of the first assembly line (11), a plurality of carrier plates (13) are fixedly connected to both the first assembly line (11) and the second assembly line (12), a circulating conveyor belt (14) is arranged between the first assembly line (11) and the second assembly line (12), a plurality of loading boats (15) are fixedly connected to the circulating conveyor belt (14), and a collection mechanism (3) is fixedly connected to the loading boats (15); The first assembly line (11) and the second assembly line (12) have opposite running directions and the same running speed; The carrier plate (13) on the No. 1 assembly line (11) and the loading boat (15) on the circulating conveyor belt (14) run in the same direction and at the same speed; The upper end surface of the carrier plate (13) is fixedly connected to a proofreading mechanism (2), the proofreading mechanism (2) comprises a No. 1 electric telescopic rod (211), the output end of the No. 1 electric telescopic rod (211) is fixedly connected to a lifting plate (28), the upper end surface of the carrier plate (13) is fixedly connected to a central axis (27), the upper end of the central axis (27) passes through the lifting plate (28), and the central axis (27) and the lifting plate (28) are rotatably connected; The upper end surface of the lifting plate (28) is fixedly connected to three fixing columns (26); a linkage rod (25) corresponding to the fixing columns (26) is arranged above the lifting plate (28); the fixing columns (26) and one end of the linkage rod (25) are rotatably connected; a toothed plate (21) is arranged above the fixing columns (26); an arc-shaped guide groove (23) is formed on the toothed plate (21); a calibration rod (24) is arranged in the arc-shaped guide groove (23); the upper end of the calibration rod (24) passes through the arc-shaped guide groove (23) and is The toothed disc (21) is extended to the upper part of the toothed disc (21), the correction rod (24) is slidably connected to the arc-shaped guide groove (23), one end of the linkage rod (25) away from the fixing column (26) is fixedly connected to the lower end surface of the correction rod (24), the lower end surface of the toothed disc (21) and the upper end surface of the central axis (27) are rotatably connected via a bearing, the toothed disc (21) and the first rack (212) are matched, and the first rack (212) is fixedly connected to the first assembly line (11) and the second assembly line (12) via a supporting spring; The collecting mechanism (3) is fixedly connected to the loading boat (15), and the collecting mechanism (3) comprises an L-shaped bracket (31), and one end of the L-shaped bracket (31) away from the loading boat (15) extends above the first assembly line (11) and the second assembly line (12), and one end of the L-shaped bracket (31) away from the loading boat (15) is fixedly connected to a second electric telescopic rod (32), and the output end of the second electric telescopic rod (32) is rotatably connected to a fixed plate (33); An industrial camera (34) is slidably connected to the side of the L-shaped bracket (31); a bracket on the industrial camera (34) extends into the interior of the L-shaped bracket (31) and is fixedly connected to a lifting plate (35); the lifting plate (35) is slidably connected to the inner cavity of the L-shaped bracket (31); the center of the lifting plate (35) is threadedly connected to a threaded rod (36); the upper end surface of the threaded rod (36) is fixedly connected to an output shaft of a motor (37); and the motor (37) is fixedly connected to the L-shaped bracket (31).

2. The workpiece dimension measuring device based on machine vision as claimed in claim 1, It is characterized in that One end of a spring tube (210) is fixedly connected to the side surface of one end of the linkage rod (25) close to the fixed column (26), and the other end of the spring tube (210) is fixedly connected to a limit block (29), and the limit block (29) is fixedly connected to the lifting plate (28).

3. The workpiece dimension measuring device based on machine vision as claimed in claim 2, It is characterized in that A second rack (41) is provided on both the first assembly line (11) and the second assembly line (12); the second rack (41) is fixedly connected to the first assembly line (11) and the second assembly line (12) via a supporting spring; the second rack (41) cooperates with the chainring (21).