CN113446937A - Position detection method and position detection system based on laser positioning - Google Patents
Position detection method and position detection system based on laser positioning Download PDFInfo
- Publication number
- CN113446937A CN113446937A CN202110706371.1A CN202110706371A CN113446937A CN 113446937 A CN113446937 A CN 113446937A CN 202110706371 A CN202110706371 A CN 202110706371A CN 113446937 A CN113446937 A CN 113446937A
- Authority
- CN
- China
- Prior art keywords
- terminal
- laser
- target picture
- image
- tested
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 76
- 238000012937 correction Methods 0.000 claims abstract description 18
- 230000000903 blocking effect Effects 0.000 claims description 19
- 238000012360 testing method Methods 0.000 claims description 3
- 238000013519 translation Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/80—Geometric correction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
- G06T7/74—Determining position or orientation of objects or cameras using feature-based methods involving reference images or patches
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The application provides a position detection method and a position detection system based on laser positioning, wherein the position detection method comprises the following steps: triggering a laser transmitter to transmit a laser signal towards a terminal to be tested; acquiring a detection identifier formed by the terminal to be detected and the laser signal; acquiring a target picture of the terminal to be tested, wherein the target picture can show the position of the terminal to be tested relative to a carrier plate; judging whether the target picture needs to be corrected or not based on the detection identifier; and if the correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target image based on the reference image frame.
Description
Technical Field
The present disclosure relates to detection methods, and particularly to a position detection method and a position detection system based on laser positioning.
Background
In the prior art, the measured object is positioned by laser, the measured object is placed in a laser ray position, the peripheral outline of the measured object is overlapped with the laser ray, the position confirmation state can be considered, and the laser positioning is similar to line positioning. In some small offsets or error offsets, the detection personnel can not feel intuitive, and when the offsets are corrected, a complex calculation formula is needed, and the calibration process is troublesome.
In view of this, overcoming the deficiencies of the prior art products is an urgent problem to be solved in the art.
Disclosure of Invention
The technical problem mainly solved by the application is to provide a position detection method and a position detection system based on laser positioning, and a target image is corrected based on a reference image frame so as to eliminate offset.
In order to solve the technical problem, the application adopts a technical scheme that: there is provided a laser-based position detection method, the position detection method including:
triggering a laser transmitter to transmit a laser signal towards a terminal to be tested;
acquiring a detection identifier formed by the terminal to be detected and the laser signal;
acquiring a target picture of the terminal to be tested, wherein the target picture can show the position of the terminal to be tested relative to a carrier plate;
judging whether the target picture needs to be corrected or not based on the detection identifier;
and if the correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target image based on the reference image frame.
Preferably, the triggering the laser transmitter to transmit the laser signal toward the terminal to be tested includes: triggering a first laser transmitter and a second laser transmitter to transmit laser signals towards a terminal to be tested respectively so as to form a first projection image and a second projection image respectively;
the acquiring of the detection identifier formed by the terminal to be detected and the laser signal comprises: the first image acquisition equipment acquires the first projection image and sends the first projection image to an upper computer; the second image acquisition equipment acquires the second projection image and sends the second projection image to the upper computer;
the acquiring of the target picture of the terminal to be detected comprises:
acquiring a target picture of the terminal to be detected through third image acquisition equipment;
the determining whether the target picture needs to be corrected based on the detection identifier includes:
and the upper computer judges whether the target picture needs to be corrected or not according to the size of the first projection image and the size of the second projection image.
Preferably, the step of judging, by the upper computer, whether the target picture needs to be corrected according to the size of the first projection image and the size of the second projection image includes:
the upper computer determines the model of the terminal to be tested according to input information, and determines the length of a first side edge and the length of a second side edge of the terminal to be tested according to the model of the terminal to be tested;
the upper computer acquires the length of the first projection image and the length of the second projection image;
the upper computer judges whether the length of the first projection image is the same as that of the first side edge of the terminal to be detected or not, and whether the length of the second projection image is the same as that of the second side edge of the terminal to be detected or not;
if the difference is the same, correction is not needed;
and if the target picture is different from the target picture, correcting the target picture.
Preferably, the triggering the laser transmitter to transmit the laser signal toward the terminal to be tested includes:
triggering a first laser emitter, a second laser emitter and a third laser emitter respectively to emit laser signals towards a terminal to be tested, wherein the first laser emitter and the third laser emitter are arranged on the same side of the carrier plate, the second laser emitter is arranged on the other side of the carrier plate, and the first laser emitter and the third laser emitter are arranged on two adjacent sides of the carrier plate;
the acquiring of the detection identifier formed by the terminal to be detected and the laser signal comprises:
acquiring a laser resistance breakpoint through third image acquisition equipment, wherein the laser resistance breakpoint is an intersection point of laser and a terminal to be tested, and the third image acquisition equipment is arranged above the carrier plate;
the acquiring of the target picture of the terminal to be detected comprises:
drawing a target picture of the terminal to be tested according to the laser blocking point;
the determining whether the target picture needs to be corrected based on the detection identifier includes:
and acquiring a pre-stored reference image, and if the target image cannot be overlapped with the reference image through translation, correcting.
Preferably, the drawing the target picture of the terminal to be tested according to the laser blocking point includes:
according to a preset algorithm, connecting and extending the laser blocking points on the side edges on the same side to form a side edge line frame;
making an end part wire frame perpendicular to the side wire frame by using the blocking point of the end part;
and a picture enclosed by the side wire frame and the end wire frame is the target picture.
Preferably, the acquiring a reference image frame of the terminal to be tested, and the correcting the target image based on the reference image frame includes:
the upper computer analyzes the target picture, obtains four vertexes of the target picture, and obtains a target intersection point of diagonal lines formed by the four vertexes;
the upper computer determines the model of the terminal to be detected according to input information, acquires a reference image frame according to the model of the terminal to be detected, and further acquires four vertexes of the reference image frame and a reference intersection point of a diagonal line formed by the four vertexes;
and coinciding the target intersection point of the target picture with the reference intersection point, and rotating the target picture by taking the target intersection point as a rotation center until four top points of the target picture coincide with four top points of the reference picture frame.
In order to solve the technical problem, the application adopts a technical scheme that: providing a laser-based position detection system, wherein the position detection system comprises a support plate, a laser transmitter, image acquisition equipment and an upper computer;
the carrier plate is used for bearing a terminal to be tested;
the laser transmitter is used for transmitting a laser signal to the terminal to be tested
The image acquisition equipment is used for acquiring a detection identifier formed by the terminal to be detected and the laser signal; the terminal to be tested is also used for obtaining a target picture of the terminal to be tested, wherein the target picture can show the position of the terminal to be tested relative to the carrier plate;
the upper computer is used for judging whether the target picture needs to be corrected or not based on the detection identifier; and if the correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target image based on the reference image frame.
Preferably, the image capturing device comprises a first image capturing device, a second image capturing device and a third image capturing device; the laser transmitter includes: a first laser transmitter and a second laser transmitter;
the first laser emitter and the first image acquisition equipment are arranged on two opposite sides of the carrier plate, the second laser emitter and the second image acquisition equipment are arranged on two opposite sides of the carrier plate, the first laser emitter and the second laser emitter are arranged on two adjacent sides of the carrier plate, and the third image acquisition equipment is arranged above the carrier plate;
the carrier plate is used for bearing a terminal to be tested;
the first laser transmitter is used for transmitting a laser signal to the terminal to be tested so as to form a first projection image;
the second laser transmitter is used for transmitting a laser signal to the terminal to be tested so as to form a second projection image;
the first image acquisition equipment is used for acquiring the first projection image and sending the first projection image to the upper computer;
the second image acquisition equipment is used for acquiring the second projection image and sending the second projection image to the upper computer;
the third image acquisition device is used for acquiring a target picture of the terminal to be detected, wherein the target picture can show the position of the terminal to be detected relative to the carrier plate;
the upper computer is used for judging whether the target picture needs to be corrected or not according to the size of the first projection image and the size of the second projection image, and if the target picture needs to be corrected, the target picture is corrected based on the model of the terminal to be corrected, the size of the first projection image and the size of the second projection image.
Preferably, the image capturing device comprises a third image capturing device, and the laser transmitter comprises: the system comprises a first laser transmitter, a second laser transmitter and a third laser transmitter;
the first laser emitter and the third laser emitter are arranged on the same side of the carrier plate, the second laser emitter is arranged on the other side of the carrier plate, the first laser emitter and the third laser emitter are arranged on two adjacent sides of the carrier plate, and the third image acquisition equipment is arranged above the carrier plate.
Preferably, the third image capturing device is a CCD camera.
The beneficial effect of this application is: the application provides a position detection method and a position detection system based on laser positioning, wherein the position detection method comprises the following steps: triggering a laser transmitter to transmit a laser signal towards a terminal to be tested; acquiring a detection identifier formed by the terminal to be detected and the laser signal; acquiring a target picture of the terminal to be tested, wherein the target picture can show the position of the terminal to be tested relative to a carrier plate; judging whether the target picture needs to be corrected or not based on the detection identifier; and if the correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target image based on the reference image frame.
In the method, the laser transmitters are arranged at the end part and the side part of the terminal to be detected, the terminal to be detected blocks laser rays to form a detection identifier, whether a shot target picture needs to be corrected or not is judged according to the detection identifier, and if the shot target picture needs to be corrected, the target picture is corrected based on a reference picture frame so as to eliminate offset.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments of the present application will be briefly described below. It is obvious that the drawings described below are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic structural diagram of a position detection system based on laser positioning according to an embodiment of the present disclosure;
FIG. 2 is a schematic structural diagram of another laser positioning-based position detection system provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a projected image provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of an image correction according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a position detection method based on laser positioning according to an embodiment of the present disclosure;
FIG. 6 is a schematic flowchart of another laser positioning-based position detection method according to an embodiment of the present disclosure;
FIG. 7 is a schematic structural diagram of another laser positioning-based position detection system provided in this embodiment;
fig. 8 is a schematic flowchart of a position detection method based on laser positioning according to an embodiment of the present disclosure.
Wherein the reference numbers are as follows:
the device comprises a carrier plate 1, a first laser emitter 21, a second laser emitter 22, a third laser emitter 23, a first image acquisition device 31, a second image acquisition device 32, a terminal 4 to be tested and a third image acquisition device 5.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed in a particular orientation, and be operated, and thus should not be considered as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the application. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes are not set forth in detail in order to avoid obscuring the description of the present application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
Example 1:
the embodiment provides a laser-based position detection system, which comprises a support plate, a laser emitter, an image acquisition device and an upper computer; the carrier plate is used for bearing a terminal to be tested; the laser transmitter is used for transmitting a laser signal towards the terminal to be detected, and the image acquisition equipment is used for acquiring a detection identifier formed by the terminal to be detected and the laser signal; the terminal to be tested is also used for obtaining a target picture of the terminal to be tested, wherein the target picture can show the position of the terminal to be tested relative to the carrier plate; the upper computer is used for judging whether the target picture needs to be corrected or not based on the detection identifier; and if the correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target image based on the reference image frame.
In conjunction with this, this embodiment further provides a laser-based position detection method, where the position detection method includes: triggering a laser transmitter to transmit a laser signal towards a terminal to be tested; acquiring a detection identifier formed by the terminal to be detected and the laser signal; acquiring a target picture of the terminal to be tested, wherein the target picture can show the position of the terminal to be tested relative to a carrier plate; judging whether the target picture needs to be corrected or not based on the detection identifier; and if the correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target image based on the reference image frame. Wherein, the detection mark is a projection image or a laser blocking point.
Specific implementations of the laser-based position detection system and the position detection method are described in detail in examples 2 to 5 below.
Example 2:
as shown in fig. 1 and fig. 2, the present embodiment provides a laser-based position detection system, which includes a carrier plate 1, a first laser emitter 21, a second laser emitter 22, a first image capturing device 31, a second image capturing device 32, a third image capturing device 5, and an upper computer (not shown in the figure), where the third image capturing device 5 is a CCD camera.
Specifically, the first laser emitter 21 and the first image capturing device 31 are disposed on two opposite sides of the carrier plate 1, the second laser emitter 22 and the second image capturing device 32 are disposed on two opposite sides of the carrier plate 1, the first laser emitter 21 and the second laser emitter 22 are disposed on two adjacent sides of the carrier plate 1, and the third image capturing device 5 is disposed above the carrier plate 1.
In a practical application scenario, the first laser emitter 21 and the first image collecting device 31 may be respectively placed at two side portions of the terminal 4 to be detected, the second laser emitter 22 and the second image collecting device 32 may be respectively placed at two end portions of the terminal 4 to be detected, the first laser emitter 21 and the second laser emitter 22 emit light larger than the area of the end face of the terminal 4 to be detected, the terminal 4 to be detected blocks laser light to form a projection image, the projection image is collected by the collecting device arranged at the other side, and the projection image of the end face and the side face of the terminal 4 to be detected, that is, the length and width projection of the terminal 4 to be detected can be obtained. The terminal 4 to be tested is a mobile phone or a tablet computer.
Further, the first image capturing device 31 and the second image capturing device 32 are connected in a wired manner, wherein the wired manner includes a network cable connection, or the first image capturing device 31 and the second image capturing device 32 are connected in a wireless manner, and the wireless manner includes bluetooth, WiFi, local area network and zigbee.
In this embodiment, the carrier plate 1 is used to carry a terminal 4 to be tested, and a mark is provided on the carrier plate 1 to assist a tester to place the terminal 4 to be tested at a preset position, so as to reduce the placement offset of the terminal 4 to be tested.
Specifically, the first laser transmitter 21 is configured to transmit a laser signal toward the terminal 4 to be tested to form a first projection image; the second laser transmitter 22 is configured to transmit a laser signal toward the terminal 4 to be tested to form a second projection image; the first image acquisition device is used for acquiring the first projection image and sending the first projection image to the upper computer; the second image acquisition device is used for acquiring the second projection image and sending the second projection image to the upper computer; the third image acquisition device 5 is configured to acquire a target picture of the terminal 4 to be tested, where the target picture may show a position of the terminal 4 to be tested relative to the carrier plate 1.
The upper computer is used for judging whether the target picture needs to be corrected or not according to the size of the first projection image and the size of the second projection image, and if the target picture needs to be corrected, the target picture is corrected based on the model of the terminal 4 to be detected, the size of the first projection image and the size of the second projection image. The upper machine tool is used for acquiring the length of the first projection image and the length of the second projection image; judging whether the length of the first projection image is the same as that of the first side edge of the terminal 4 to be tested, and whether the length of the second projection image is the same as that of the second side edge of the terminal 4 to be tested; if the difference is the same, correction is not needed; and if the target picture is different from the target picture, correcting the target picture.
In this embodiment, the upper computer stores information such as the model and size of each type of mobile phone and a frame of a reference picture, and in actual use, the information can be expanded according to the situation to ensure that each type of terminal 4 to be tested can be covered.
As shown in fig. 3, the projection in the direction a corresponds to a second projection image, the projection in the direction B corresponds to a first projection image, and the first projection image has a length d 'and a width h'; the first projected image has a length D 'and a width H'. And judging whether the image needs to be corrected or not according to the length of the projection, wherein the width is used for judging the type of the terminal, if H 'is H', the terminal is a conventional terminal, and if H 'is larger than H', the terminal is a curved screen terminal.
Assuming that the size of the pre-stored projection image of the terminal to be tested is as follows: the projection length in the direction A is d, and the projection width in the direction A is h; the projection length in the direction B is D, the projection width in the direction B is H, if D 'is larger than D or D' is larger than D, deviation exists, and correction is needed; then if D 'equals D or D' equals D, there is no offset and no correction is needed.
Specifically, as shown in fig. 4, if correction is required, the upper computer is specifically configured to analyze the target picture, obtain four vertices of the target picture, and obtain a target intersection O of diagonal lines formed by the four vertices. The upper computer is used for determining the model of the terminal 4 to be tested according to input information, wherein the input information is information about the model of the terminal 4 to be tested, which is input by a tester before testing, acquiring a reference image frame according to the model of the terminal 4 to be tested, and further acquiring four vertexes of the reference image frame and a reference intersection point O' of a diagonal line formed by the four vertexes; and overlapping the target intersection point O of the target picture with the reference intersection point O', and rotating the target picture by taking the target intersection point O as a rotation center until the four top points of the target picture and the four top points of the reference picture frame are overlapped so as to finish the correction of the target picture.
In the present application, when the position of the terminal 4 to be tested placed on the carrier plate 1 deviates, the deviation will be reflected on the projected image and the target image photographed on the front side simultaneously. When the deviation difference occurs, a CCD camera is arranged above the terminal 4 to be detected for photographing, the position is determined, the intersection point of the outline and the diagonal of the terminal 4 to be detected is identified, an actual picture is photographed, the intersection point is simulated at the mark position of the upper computer, the intersection point is coincided with the prestored picture information, and the picture is corrected by rotating by taking the intersection point as the circle center.
Example 3:
based on the position detection system of embodiment 2, this embodiment provides a position detection method based on laser, as shown in fig. 5 and 6, which specifically includes the following steps:
step 101: and respectively triggering the first laser transmitter and the second laser transmitter to transmit laser signals towards the terminal to be tested so as to respectively form a first projection image and a second projection image.
Step 102: a first image acquisition device acquires the first projection image and sends the first projection image to an upper computer; and a second image acquisition device acquires the second projection image and sends the second projection image to the upper computer.
The first laser emitter and the first image acquisition equipment are arranged on two opposite sides of the carrier plate, the second laser emitter and the second image acquisition equipment are arranged on two opposite sides of the carrier plate, the first laser emitter and the second laser emitter are arranged on two adjacent sides of the carrier plate, and the third image acquisition equipment is arranged above the carrier plate.
Under the practical application scene, first laser emitter with first image acquisition equipment can place respectively the both sides portion of terminal that awaits measuring, second laser emitter with second image acquisition equipment can place respectively the both ends at terminal that awaits measuring, first laser emitter with second laser emitter transmission is greater than the light of terminal end surface area that awaits measuring, and terminal that awaits measuring blocks laser ray, forms the projection image, and the projection image is set up the acquisition equipment collection at the opposite side, can obtain the projection image of terminal end surface and the side that awaits measuring, also be exactly terminal length, the wide projection that awaits measuring.
Step 103: and the third image acquisition equipment acquires a target picture of the terminal to be detected, wherein the target picture can show the position of the terminal to be detected relative to the carrier plate. Wherein the third image acquisition device is a CCD camera.
Step 104: and the upper computer judges whether the target picture needs to be corrected or not according to the size of the first projection image and the size of the second projection image.
Specifically, the upper computer determines the model of the terminal to be detected according to input information, and determines the length of the first side edge and the length of the second side edge of the terminal to be detected according to the model of the terminal to be detected. The upper computer stores information such as models and sizes of various mobile phones, a reference picture frame and the like, and in actual use, the information can be expanded according to conditions so as to ensure that various terminals to be tested can be covered.
The upper computer acquires the length of the first projection image and the length of the second projection image; the upper computer judges whether the length of the first projection image is the same as that of the first side edge of the terminal to be detected or not, and whether the length of the second projection image is the same as that of the second side edge of the terminal to be detected or not; if the difference is the same, correction is not needed; and if the target picture is different from the target picture, correcting the target picture.
Step 105: and if the correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target image based on the reference image frame.
Specifically, the upper computer analyzes the target picture, obtains four vertexes of the target picture, and obtains a target intersection point of diagonal lines formed by the four vertexes; the upper computer determines the model of the terminal to be detected according to input information, acquires a reference image frame according to the model of the terminal to be detected, and further acquires four vertexes of the reference image frame and a reference intersection point of a diagonal line formed by the four vertexes; and coinciding the target intersection point of the target picture with the reference intersection point, and rotating the target picture by taking the target intersection point as a rotation center until four top points of the target picture coincide with four top points of the reference picture frame.
In the application, the end part and the side part of the terminal to be detected are provided with the laser transmitters, the laser transmitters transmit light larger than the area of the end face of the terminal to be detected, the terminal to be detected blocks laser light to form a projected image, and the projected image is collected by the collecting equipment arranged on the other side, so that the projected image of the end face and the side face of the terminal to be detected can be obtained; and comparing the projection size with the size of a pre-stored terminal to be detected, further judging whether the target picture shot by the third image acquisition equipment needs to be corrected, and if so, correcting the target picture based on the model of the terminal to be detected, the size of the first projection image and the size of the second projection image so as to eliminate offset.
Example 4:
as shown in fig. 7, the present embodiment provides a laser-based position detection system, which includes a carrier plate 1, a laser emitter, an image acquisition device, and an upper computer;
the carrier plate 1 is used for bearing a terminal 4 to be tested;
the laser transmitter is used for transmitting a laser signal to the terminal 4 to be tested
The image acquisition equipment is used for acquiring a detection identifier formed by the terminal 4 to be detected and the laser signal; the terminal to be tested 4 is also used for obtaining a target picture of the terminal to be tested 4, wherein the target picture can show the position of the terminal to be tested 4 relative to the carrier plate 1;
the upper computer is used for judging whether the target picture needs to be corrected or not based on the detection identifier; and if the correction is needed, acquiring a reference image frame of the terminal 4 to be detected, and correcting the target image based on the reference image frame.
In particular, the image acquisition device comprises a third image acquisition device 5, the laser emitter comprising: a first laser transmitter 21, a second laser transmitter 22 and a third laser transmitter 23; the first laser emitter 21 and the third laser emitter 23 are arranged on the same side of the carrier plate 1, the second laser emitter 22 is arranged on the other side of the carrier plate 1, the first laser emitter 21 and the third laser emitter 23 are arranged on two adjacent sides of the carrier plate 1, and the third image acquisition device 5 is arranged above the carrier plate 1.
The first laser transmitter 21, the second laser transmitter 22 and the third laser transmitter 23 are respectively used for transmitting laser signals. Wherein the first laser emitter 21, the second laser emitter 22 and the third laser emitter 23 are used for emitting a straight laser beam.
The third image capturing device 5 is used to capture images.
Example 5:
based on the position detection system in embodiment 4, this embodiment provides a position detection method, which specifically includes the following steps:
step 101': and respectively triggering the first laser transmitter, the second laser transmitter and the third laser transmitter to transmit laser signals towards the terminal to be tested.
The first laser emitter and the third laser emitter are arranged on the same side of the carrier plate, the second laser emitter is arranged on the other side of the carrier plate, and the first laser emitter and the third laser emitter are arranged on two adjacent sides of the carrier plate.
Step 102': and acquiring a laser resistance breakpoint through third image acquisition equipment, wherein the laser resistance breakpoint is an intersection point of laser and the terminal to be tested, and the third image acquisition equipment is arranged above the carrier plate.
Wherein, according to the position distribution, the laser blocking points can be divided into laser blocking points located on the side of the same side, as shown in fig. 7, including four laser blocking breakpoints located on the left and right sides; and a blocking point at the end, as shown in fig. 7, laser blocking points at both upper and lower sides.
Step 103': and drawing a target picture of the terminal to be detected according to the laser blocking point.
Specifically, according to a preset algorithm, connecting and extending laser blocking points on the side edges on the same side to form a side edge line frame; making an end part wire frame perpendicular to the side wire frame by using the blocking point of the end part; and a picture enclosed by the side wire frame and the end wire frame is the target picture.
Step 104': and acquiring a pre-stored reference image, and if the target image cannot be overlapped with the reference image through translation, correcting.
Step 105': and acquiring a reference image frame of the terminal to be detected, and correcting the target image based on the reference image frame.
Specifically, the upper computer analyzes the target picture, obtains four vertexes of the target picture, and obtains a target intersection point of diagonal lines formed by the four vertexes; the upper computer determines the model of the terminal to be detected according to input information, acquires a reference image frame according to the model of the terminal to be detected, and further acquires four vertexes of the reference image frame and a reference intersection point of a diagonal line formed by the four vertexes; and coinciding the target intersection point of the target picture with the reference intersection point, and rotating the target picture by taking the target intersection point as a rotation center until four top points of the target picture coincide with four top points of the reference picture frame.
In this embodiment, laser emitters are disposed at an end portion and a side portion of the terminal to be detected, the terminal to be detected blocks laser light to form a laser blocking point, whether a shot target picture needs to be corrected or not is judged according to the laser blocking point, and if the shot target picture needs to be corrected, the target picture is corrected based on a reference picture frame to eliminate offset.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.
Claims (10)
1. A laser-based position detection method, comprising:
triggering a laser transmitter to transmit a laser signal towards a terminal to be tested;
acquiring a detection identifier formed by the terminal to be detected and the laser signal;
acquiring a target picture of the terminal to be tested, wherein the target picture can show the position of the terminal to be tested relative to a carrier plate;
judging whether the target picture needs to be corrected or not based on the detection identifier;
and if the correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target image based on the reference image frame.
2. The position detection method according to claim 1, wherein the triggering the laser transmitter to transmit the laser signal toward the terminal under test includes: triggering a first laser transmitter and a second laser transmitter to transmit laser signals towards a terminal to be tested respectively so as to form a first projection image and a second projection image respectively;
the acquiring of the detection identifier formed by the terminal to be detected and the laser signal comprises: the first image acquisition equipment acquires the first projection image and sends the first projection image to an upper computer; the second image acquisition equipment acquires the second projection image and sends the second projection image to the upper computer;
the acquiring of the target picture of the terminal to be detected comprises:
acquiring a target picture of the terminal to be detected through third image acquisition equipment;
the determining whether the target picture needs to be corrected based on the detection identifier includes:
and the upper computer judges whether the target picture needs to be corrected or not according to the size of the first projection image and the size of the second projection image.
3. The position detection method according to claim 2, wherein the upper computer judging whether the target picture needs to be corrected according to the size of the first projection image and the size of the second projection image includes:
the upper computer determines the model of the terminal to be tested according to input information, and determines the length of a first side edge and the length of a second side edge of the terminal to be tested according to the model of the terminal to be tested;
the upper computer acquires the length of the first projection image and the length of the second projection image;
the upper computer judges whether the length of the first projection image is the same as that of the first side edge of the terminal to be detected or not, and whether the length of the second projection image is the same as that of the second side edge of the terminal to be detected or not;
if the difference is the same, correction is not needed;
and if the target picture is different from the target picture, correcting the target picture.
4. The position detection method according to claim 1, wherein the triggering the laser transmitter to transmit the laser signal toward the terminal under test includes:
triggering a first laser emitter, a second laser emitter and a third laser emitter respectively to emit laser signals towards a terminal to be tested, wherein the first laser emitter and the third laser emitter are arranged on the same side of the carrier plate, the second laser emitter is arranged on the other side of the carrier plate, and the first laser emitter and the third laser emitter are arranged on two adjacent sides of the carrier plate;
the acquiring of the detection identifier formed by the terminal to be detected and the laser signal comprises:
acquiring a laser resistance breakpoint through third image acquisition equipment, wherein the laser resistance breakpoint is an intersection point of laser and a terminal to be tested, and the third image acquisition equipment is arranged above the carrier plate;
the acquiring of the target picture of the terminal to be detected comprises:
drawing a target picture of the terminal to be tested according to the laser blocking point;
the determining whether the target picture needs to be corrected based on the detection identifier includes:
and acquiring a pre-stored reference image, and if the target image cannot be overlapped with the reference image through translation, correcting.
5. The position detection method according to claim 4, wherein the drawing the target picture of the terminal to be tested according to the laser blocking point comprises:
according to a preset algorithm, connecting and extending the laser blocking points on the side edges on the same side to form a side edge line frame;
making an end part wire frame perpendicular to the side wire frame by using the blocking point of the end part;
and a picture enclosed by the side wire frame and the end wire frame is the target picture.
6. The position detection method according to any one of claims 1 to 5, wherein the acquiring a reference frame of the terminal to be detected, and the correcting the target picture based on the reference frame comprises:
the upper computer analyzes the target picture, obtains four vertexes of the target picture, and obtains a target intersection point of diagonal lines formed by the four vertexes;
the upper computer determines the model of the terminal to be detected according to input information, acquires a reference image frame according to the model of the terminal to be detected, and further acquires four vertexes of the reference image frame and a reference intersection point of a diagonal line formed by the four vertexes;
and coinciding the target intersection point of the target picture with the reference intersection point, and rotating the target picture by taking the target intersection point as a rotation center until four top points of the target picture coincide with four top points of the reference picture frame.
7. A laser-based position detection system is characterized by comprising a support plate, a laser transmitter, image acquisition equipment and an upper computer;
the carrier plate is used for bearing a terminal to be tested;
the laser transmitter is used for transmitting a laser signal to the terminal to be tested
The image acquisition equipment is used for acquiring a detection identifier formed by the terminal to be detected and the laser signal; the terminal to be tested is also used for obtaining a target picture of the terminal to be tested, wherein the target picture can show the position of the terminal to be tested relative to the carrier plate;
the upper computer is used for judging whether the target picture needs to be corrected or not based on the detection identifier; and if the correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target image based on the reference image frame.
8. The position detection system according to claim 7, characterized in that the image capturing device includes a first image capturing device, a second image capturing device, and a third image capturing device; the laser transmitter includes: a first laser transmitter and a second laser transmitter;
the first laser emitter and the first image acquisition equipment are arranged on two opposite sides of the carrier plate, the second laser emitter and the second image acquisition equipment are arranged on two opposite sides of the carrier plate, the first laser emitter and the second laser emitter are arranged on two adjacent sides of the carrier plate, and the third image acquisition equipment is arranged above the carrier plate;
the carrier plate is used for bearing a terminal to be tested;
the first laser transmitter is used for transmitting a laser signal to the terminal to be tested so as to form a first projection image;
the second laser transmitter is used for transmitting a laser signal to the terminal to be tested so as to form a second projection image;
the first image acquisition equipment is used for acquiring the first projection image and sending the first projection image to the upper computer;
the second image acquisition equipment is used for acquiring the second projection image and sending the second projection image to the upper computer;
the third image acquisition device is used for acquiring a target picture of the terminal to be detected, wherein the target picture can show the position of the terminal to be detected relative to the carrier plate;
the upper computer is used for judging whether the target picture needs to be corrected or not according to the size of the first projection image and the size of the second projection image, and if the target picture needs to be corrected, the target picture is corrected based on the model of the terminal to be corrected, the size of the first projection image and the size of the second projection image.
9. The position detection system of claim 7, wherein the image capture device comprises a third image capture device, the laser transmitter comprising: the system comprises a first laser transmitter, a second laser transmitter and a third laser transmitter;
the first laser emitter and the third laser emitter are arranged on the same side of the carrier plate, the second laser emitter is arranged on the other side of the carrier plate, the first laser emitter and the third laser emitter are arranged on two adjacent sides of the carrier plate, and the third image acquisition equipment is arranged above the carrier plate.
10. A position detection system according to claim 8 or 9, characterized in that the third image acquisition device is a CCD camera.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110706371.1A CN113446937B (en) | 2021-06-24 | 2021-06-24 | Laser-based position detection method and position detection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110706371.1A CN113446937B (en) | 2021-06-24 | 2021-06-24 | Laser-based position detection method and position detection system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113446937A true CN113446937A (en) | 2021-09-28 |
CN113446937B CN113446937B (en) | 2023-05-30 |
Family
ID=77812515
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110706371.1A Active CN113446937B (en) | 2021-06-24 | 2021-06-24 | Laser-based position detection method and position detection system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113446937B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116087216A (en) * | 2022-12-14 | 2023-05-09 | 广东九纵智能科技有限公司 | Multi-axis linkage visual detection equipment, method and application |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002199139A (en) * | 2000-12-26 | 2002-07-12 | Ricoh Co Ltd | Inspection device for image position |
US20070086021A1 (en) * | 2005-10-19 | 2007-04-19 | Labcoat, Ltd. | Drop location verification system |
US20120243790A1 (en) * | 2011-03-22 | 2012-09-27 | Mitutoyo Corporation | Edge location measurement correction for coaxial light images |
CN103677344A (en) * | 2013-12-26 | 2014-03-26 | 广州视睿电子科技有限公司 | Position control method and device of cursor and remote pointing system |
CN207936963U (en) * | 2017-11-29 | 2018-10-02 | 北京戈德思科科技有限公司 | A kind of laser locating apparatus |
CN109116129A (en) * | 2017-06-26 | 2019-01-01 | 深圳回收宝科技有限公司 | Endpoint detection methods, detection device, system and storage medium |
CN109732228A (en) * | 2018-12-12 | 2019-05-10 | 武汉帝尔激光科技股份有限公司 | A kind of laser galvanometer accuracy correcting method, apparatus and system |
CN112598589A (en) * | 2020-12-17 | 2021-04-02 | 青岛海信激光显示股份有限公司 | Laser projection system and image correction method |
-
2021
- 2021-06-24 CN CN202110706371.1A patent/CN113446937B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002199139A (en) * | 2000-12-26 | 2002-07-12 | Ricoh Co Ltd | Inspection device for image position |
US20070086021A1 (en) * | 2005-10-19 | 2007-04-19 | Labcoat, Ltd. | Drop location verification system |
US20120243790A1 (en) * | 2011-03-22 | 2012-09-27 | Mitutoyo Corporation | Edge location measurement correction for coaxial light images |
CN103677344A (en) * | 2013-12-26 | 2014-03-26 | 广州视睿电子科技有限公司 | Position control method and device of cursor and remote pointing system |
CN109116129A (en) * | 2017-06-26 | 2019-01-01 | 深圳回收宝科技有限公司 | Endpoint detection methods, detection device, system and storage medium |
CN207936963U (en) * | 2017-11-29 | 2018-10-02 | 北京戈德思科科技有限公司 | A kind of laser locating apparatus |
CN109732228A (en) * | 2018-12-12 | 2019-05-10 | 武汉帝尔激光科技股份有限公司 | A kind of laser galvanometer accuracy correcting method, apparatus and system |
CN112598589A (en) * | 2020-12-17 | 2021-04-02 | 青岛海信激光显示股份有限公司 | Laser projection system and image correction method |
Non-Patent Citations (1)
Title |
---|
张森等: "一种数字图像几何畸变的自动校正方法", 《机电一体化》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116087216A (en) * | 2022-12-14 | 2023-05-09 | 广东九纵智能科技有限公司 | Multi-axis linkage visual detection equipment, method and application |
CN116087216B (en) * | 2022-12-14 | 2024-02-20 | 广东九纵智能科技有限公司 | Multi-axis linkage visual detection equipment, method and application |
Also Published As
Publication number | Publication date |
---|---|
CN113446937B (en) | 2023-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113405994A (en) | Defect detection method and defect detection system | |
EP1309832B1 (en) | Self-calibrating 3D machine measuring system useful in motor vehicle wheel alignment | |
CN112232279B (en) | Personnel interval detection method and device | |
US6539330B2 (en) | Method and apparatus for measuring 3-D information | |
JP2002062842A (en) | Projection video correction system and its method | |
WO2020147498A1 (en) | Detection method and apparatus for automatic driving sensor, and electronic device | |
KR20020035154A (en) | Method and apparatus for measuring vehicle wheel roll radius | |
CN115143887B (en) | Method for correcting measurement result of visual monitoring equipment and visual monitoring system | |
CN110213488A (en) | A kind of localization method and relevant device | |
CN113446937A (en) | Position detection method and position detection system based on laser positioning | |
CN101194845A (en) | Synchronous real time dynamic tracing solid locating method and device based on dual-X-ray machine | |
CN115077436A (en) | Pole piece dislocation detection system and method of laminated battery | |
CN112102387B (en) | Test method and test system based on depth estimation performance of depth camera | |
CN116786931A (en) | Bus bar welding method and bus bar welding system | |
CN115239819A (en) | Camera calibration method, device, system, electronic device and storage medium | |
CN210719062U (en) | Tracking device and scanning system based on wireless synchronization | |
CN102223483B (en) | Method and device for adjusting position of road traffic monitoring equipment | |
CN113561897B (en) | Method and system for judging ramp parking position of driving test vehicle based on panoramic all-round view | |
JP3666348B2 (en) | Distance recognition device | |
JP2002099902A (en) | Image processing device for measuring three-dimensional information of object through binocular stereoscopic vision, its method, and storage medium with measurement program stored therein | |
CN106803946B (en) | A kind of picture alignment method and system for projection picture of projector test | |
CN116324864A (en) | Detection method, electronic device, and computer-readable storage medium | |
JP2014029113A (en) | Device, method, program and record medium for identifying tail clearance | |
WO2021003896A1 (en) | Multi-target information fusion and visual presentation method based on microwaves and videos | |
CN107063057A (en) | A kind of tyre detection device with calibrating block |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |