CN113446937B - Laser-based position detection method and position detection system - Google Patents

Laser-based position detection method and position detection system Download PDF

Info

Publication number
CN113446937B
CN113446937B CN202110706371.1A CN202110706371A CN113446937B CN 113446937 B CN113446937 B CN 113446937B CN 202110706371 A CN202110706371 A CN 202110706371A CN 113446937 B CN113446937 B CN 113446937B
Authority
CN
China
Prior art keywords
terminal
target picture
laser
projection image
detected
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.)
Active
Application number
CN202110706371.1A
Other languages
Chinese (zh)
Other versions
CN113446937A (en
Inventor
辛文嘉
蔡炜楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huishoubao Tech Co ltd
Original Assignee
Shenzhen Huishoubao Tech Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Huishoubao Tech Co ltd filed Critical Shenzhen Huishoubao Tech Co ltd
Priority to CN202110706371.1A priority Critical patent/CN113446937B/en
Publication of CN113446937A publication Critical patent/CN113446937A/en
Application granted granted Critical
Publication of CN113446937B publication Critical patent/CN113446937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G06T5/80
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • G06T7/74Determining position or orientation of objects or cameras using feature-based methods involving reference images or patches
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

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 to a terminal to be tested; acquiring a detection mark 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 correction or not based on the detection mark; and if the target picture needs to be corrected, acquiring a reference image frame of the terminal to be detected, and correcting the target picture based on the reference image frame.

Description

Laser-based position detection method and position detection system
Technical Field
The present disclosure relates to detection methods, and more particularly, to a laser positioning-based position detection method and a laser positioning-based position detection system.
Background
In the prior art, the measured object is positioned by laser, the measured object is placed in the position of the laser ray, the peripheral outline of the measured object is overlapped with the laser ray to be considered as a position confirmation state, and the laser positioning is similar to line positioning. In some small offsets or error offsets, a sense of non-intuitiveness is given to the inspector, and when correcting the offset, a complex calculation formula is required, and the calibration process is troublesome.
In view of this, overcoming the shortcomings of the prior art products is a problem to be solved in the art.
Disclosure of Invention
The technical problem that this application mainly solves is to provide a position detection method and position detection system based on laser positioning, corrects the target image based on referring to the image frame to eliminate the skew.
In order to solve the technical problems, one technical scheme adopted by the application is as follows: there is provided a laser-based position detection method including:
triggering a laser transmitter to transmit a laser signal to a terminal to be tested;
acquiring a detection mark 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 correction or not based on the detection mark;
and if the target picture needs to be corrected, acquiring a reference image frame of the terminal to be detected, and correcting the target picture based on the reference image frame.
Preferably, the triggering the laser transmitter to transmit the laser signal towards the terminal to be tested includes: triggering a first laser emitter and a second laser emitter to emit laser signals towards a terminal to be tested respectively so as to form a first projection image and a second projection image respectively;
the step of obtaining the detection mark formed by the terminal to be detected and the laser signal comprises the following steps: 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 obtaining the target picture of the terminal to be tested comprises the following steps:
acquiring a target picture of the terminal to be tested through third image acquisition equipment;
the determining whether the target picture needs correction based on the detection identifier includes:
and the upper computer judges 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.
Preferably, the determining, 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 detected according to the 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 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 the length of the first side edge of the terminal to be detected, and whether the length of the second projection image is the same as the length of the second side edge of the terminal to be detected;
if the two types of the data are the same, correction is not needed;
if not, the target picture needs to be corrected.
Preferably, the triggering the laser transmitter to transmit the laser signal towards the terminal to be tested includes:
triggering a first laser emitter, a second laser emitter and a third laser emitter to emit laser signals towards a terminal to be tested respectively, 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 step of obtaining the detection mark formed by the terminal to be detected and the laser signal comprises the following steps:
acquiring a laser blocking point through a third image acquisition device, wherein the laser blocking point is a junction point of laser and a terminal to be tested, and the third image acquisition device is arranged above the carrier plate;
the obtaining the target picture of the terminal to be tested comprises the following steps:
drawing a target picture of the terminal to be tested according to the laser blocking point;
the determining whether the target picture needs correction based on the detection identifier includes:
a pre-stored reference image is acquired, and if the target image and the reference image cannot be overlapped through translation, correction is needed.
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 wire frame;
making an end wire frame perpendicular to the side wire frame by a blocking point at the end;
and the picture enclosed by the side wire frame and the end wire frame is the target picture.
Preferably, the obtaining the reference image frame of the terminal to be tested, and correcting the target picture 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 a diagonal line formed by the four vertexes;
the upper computer determines the model of the terminal to be detected according to the 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 reference intersection points of diagonal lines formed by the four vertexes;
and overlapping 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 vertexes of the target picture are overlapped with four vertexes of the reference image frame.
In order to solve the technical problems, one technical scheme adopted by the application is as follows: the position detection system comprises a carrier plate, a laser emitter, image acquisition equipment and an upper computer;
the carrier plate is used for bearing the terminal to be tested;
the laser transmitter is used for transmitting laser signals towards the terminal to be tested
The image acquisition equipment is used for acquiring a detection mark formed by the terminal to be detected and the laser signal; the method 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 correction or not based on the detection mark; and if the target picture needs to be corrected, acquiring a reference image frame of the terminal to be detected, and correcting the target picture based on the reference image frame.
Preferably, the image acquisition device comprises a first image acquisition device, a second image acquisition device and a third image acquisition device; the laser transmitter includes: a first laser transmitter and a second laser transmitter;
the first laser transmitter and the first image acquisition equipment are arranged on two opposite sides of the carrier plate, the second laser transmitter and the second image acquisition equipment are arranged on two opposite sides of the carrier plate, the first laser transmitter and the second laser transmitter 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 the terminal to be tested;
the first laser transmitter is used for transmitting laser signals towards the terminal to be tested so as to form a first projection image;
the second laser transmitter is used for transmitting laser signals towards 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 equipment 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 according to the size of the first projection image and the size of the second projection image, 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.
Preferably, the image acquisition device comprises a third image acquisition device, and the laser transmitter comprises: a first laser transmitter, a second laser transmitter, and a third laser transmitter;
the first laser transmitter and the third laser transmitter are arranged on the same side of the carrier plate, the second laser transmitter is arranged on the other side of the carrier plate, the first laser transmitter and the third laser transmitter 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 effects of this application are: 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 to a terminal to be tested; acquiring a detection mark 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 correction or not based on the detection mark; and if the target picture needs to be corrected, acquiring a reference image frame of the terminal to be detected, and correcting the target picture based on the reference image frame.
In the application, 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 mark, whether the shot target picture needs correction is judged according to the detection mark, and if the shot target picture needs correction, the target picture is corrected based on the reference image frame so as to eliminate offset.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly explain the drawings that are required to be used in the embodiments of the present application. It is obvious that the drawings described below are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a schematic structural diagram of a position detection system based on laser positioning according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of another laser positioning-based position detection system according to an embodiment of the present application;
FIG. 3 is a schematic view of a projection image according to an embodiment of the present application;
fig. 4 is a schematic diagram of picture correction according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a laser positioning-based position detection method according to an embodiment of the present application;
FIG. 6 is a schematic flow chart of another laser positioning-based position detection method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of another position detecting system based on laser positioning according to the present embodiment;
fig. 8 is a schematic flow chart of a laser positioning-based position detection method according to an embodiment of the present application.
Wherein, the reference numerals are as follows:
the device comprises a carrier plate 1, a first laser transmitter 21, a second laser transmitter 22, a third laser transmitter 23, a first image acquisition device 31, a second image acquisition device 32, a terminal to be tested 4 and a third image acquisition device 5.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the description of the present application, it should be understood that the terms "center," "longitudinal," "transverse," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate an orientation or positional relationship based on that shown in the drawings, merely for convenience of description and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be configured and operated in a particular orientation, and thus should not be construed as limiting the present application. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more features. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In this application, the term "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 purposes 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 have not been shown in detail 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.
Examples
The embodiment provides a position detection system based on laser, which comprises a carrier plate, a laser transmitter, image acquisition equipment and an upper computer; the carrier plate is used for bearing the terminal to be tested; the laser transmitter is used for transmitting a laser signal towards the terminal to be tested, and the image acquisition equipment is used for acquiring a detection mark formed by the terminal to be tested and the laser signal; the method 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 correction or not based on the detection mark; and if the target picture needs to be corrected, acquiring a reference image frame of the terminal to be detected, and correcting the target picture based on the reference image frame.
In accordance with this embodiment, there is also provided a laser-based position detection method, including: triggering a laser transmitter to transmit a laser signal to a terminal to be tested; acquiring a detection mark 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 correction or not based on the detection mark; and if the target picture needs to be corrected, acquiring a reference image frame of the terminal to be detected, and correcting the target picture based on the reference image frame. Wherein the detection mark is a projected image or a laser blocking point.
Specific implementation manners of the laser-based position detection system and the position detection method are described in the following embodiments 2 to 5.
Examples
As shown in fig. 1 and 2, the present embodiment provides a laser-based position detection system, which includes a carrier board 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), where the third image capturing device 5 is a CCD camera.
Specifically, the first laser transmitter 21 and the first image capturing device 31 are disposed on two opposite sides of the carrier plate 1, the second laser transmitter 22 and the second image capturing device 32 are disposed on two opposite sides of the carrier plate 1, the first laser transmitter 21 and the second laser transmitter 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.
Under the actual application scene, the first laser transmitter 21 and the first image acquisition device 31 can be respectively placed at two side parts of the terminal 4 to be tested, the second laser transmitter 22 and the second image acquisition device 32 can be respectively placed at two end parts of the terminal 4 to be tested, the first laser transmitter 21 and the second laser transmitter 22 transmit light larger than the end surface area of the terminal 4 to be tested, the terminal 4 to be tested blocks laser light to form a projection image, and the projection image is acquired by the acquisition device arranged at the other side, so that the projection images of the end surface and the side surface of the terminal 4 to be tested, namely the length and width projections of the terminal 4 to be tested, 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, a local area network and zigbee.
In this embodiment, the carrier plate 1 is configured to carry the terminal 4 to be tested, and a mark is provided on the carrier plate 1, so as to assist a tester in placing 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 1.
The upper computer is configured to determine 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, and if so, correct the target picture 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 computer is specifically 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 the length of the first side edge of the terminal 4 to be tested, and judging whether the length of the second projection image is the same as the length of the second side edge of the terminal 4 to be tested; if the two types of the data are the same, correction is not needed; if not, the target picture needs to be corrected.
In this embodiment, the upper computer stores information such as the model number, the size, and the reference image frame of various mobile phones, and in actual use, the foregoing information can be expanded according to the situation, so as to ensure that various types of terminals 4 to be tested can be covered.
As shown in fig. 3, the projection in the a direction corresponds to a second projection image, the projection in the B direction corresponds to a first projection image, and the length of the first projection image is d 'and the width is h'; the first projection image has a length D 'and a width H'. Whether the image needs correction or not is judged through the projected length, the width is used for judging the type of the terminal, if H '=h', the terminal is a conventional terminal, and if H 'is larger than H', the terminal is a curved screen terminal.
Assume that the size of a pre-stored projection image of a terminal to be measured is: the projection length of the A direction is d, and the width is h; the projection length in the direction B is D, the width is H, and if D 'is larger than D or D' is larger than D, the offset exists and correction is needed; then if D 'is equal to D or D' is equal to D, then 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 a diagonal line 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, and 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 four vertexes of the target picture are overlapped with four vertexes of the reference image frame so as to finish the correction of the target picture.
In this application, when the position of the terminal 4 to be tested placed on the carrier board 1 is deviated, the deviation is reflected on the projected image and the target picture photographed from the front. When the offset difference occurs, a CCD camera is arranged at the position above the terminal 4 to be detected to take a picture, the position is determined, the intersection point of the contour and the diagonal line of the terminal 4 to be detected is identified, an actual picture is taken, the intersection point is simulated at the mark position of the upper computer, the intersection point is overlapped with pre-stored picture information, and the picture is rotated to correct by taking the intersection point as the circle center.
Examples
Based on the position detection system of the foregoing embodiment 2, the present embodiment provides a laser-based position detection method, as shown in fig. 5 and 6, specifically including the following steps:
step 101: and triggering the first laser transmitter and the second laser transmitter to transmit laser signals towards the terminal to be tested respectively so as to form a first projection image and a second projection image respectively.
Step 102: the first image acquisition device acquires the first projection image and sends the first projection image to the upper computer; and the second image acquisition device acquires the second projection image and sends the second projection image to the upper computer.
The first laser transmitter and the first image acquisition equipment are arranged on two opposite sides of the carrier plate, the second laser transmitter and the second image acquisition equipment are arranged on two opposite sides of the carrier plate, the first laser transmitter and the second laser transmitter 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 portion of terminal that awaits measuring, first laser emitter with second laser emitter emits the light that is greater than terminal end face area that awaits measuring, and the terminal that awaits measuring blocks laser ray, forms projection image, and projection image is gathered by the acquisition equipment of setting at the opposite side, can obtain the projection image of terminal end face and side that awaits measuring, namely the long, the wide projection of terminal 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 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 tested according to the input information, and determines the length of the first side edge and the length of the second side edge of the terminal to be tested according to the model of the terminal to be tested. The upper computer stores information such as the model and the size of various mobile phones and reference image frames, and the information can be expanded according to the situation in actual use so as to ensure that various types of 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 the length of the first side edge of the terminal to be detected, and whether the length of the second projection image is the same as the length of the second side edge of the terminal to be detected; if the two types of the data are the same, correction is not needed; if not, the target picture needs to be corrected.
Step 105: and if the target picture needs to be corrected, acquiring a reference image frame of the terminal to be detected, and correcting the target picture 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 a diagonal line formed by the four vertexes; the upper computer determines the model of the terminal to be detected according to the 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 reference intersection points of diagonal lines formed by the four vertexes; and overlapping 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 vertexes of the target picture are overlapped with four vertexes of the reference image frame.
In the application, the end part and the side part of the terminal to be tested are provided with the laser transmitters, the laser transmitters transmit light larger than the area of the end face of the terminal to be tested, the terminal to be tested blocks the laser light to form a projection image, and the projection image is collected by the collecting equipment arranged on the other side, so that the projection images of the end face and the side face of the terminal to be tested can be obtained; and comparing the projection size with the pre-stored size of the terminal to be detected, further judging whether the target picture shot by the third image acquisition equipment needs correction, 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.
Examples
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 carrying a terminal 4 to be tested;
the laser transmitter is used for transmitting laser signals towards the terminal 4 to be tested
The image acquisition equipment is used for acquiring a detection mark formed by the terminal 4 to be detected and the laser signal; the method is also used for acquiring a target picture of the terminal 4 to be tested, wherein the target picture can show the 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 correction or not based on the detection mark; and if the target picture needs to be corrected, acquiring a reference image frame of the terminal 4 to be detected, and correcting the target picture based on the reference image frame.
Specifically, the image acquisition device includes a third image acquisition device 5, and the laser emitter includes: 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, second and third laser transmitters 21, 22 and 23 are used for transmitting a linear laser beam.
The third image acquisition device 5 is used for acquiring images.
Examples
Based on the position detection system of the foregoing embodiment 4, the present embodiment provides a position detection method, which specifically includes the following steps:
step 101': and triggering the first laser transmitter, the second laser transmitter and the third laser transmitter to transmit laser signals towards the terminal to be tested respectively.
The first laser transmitter and the third laser transmitter are arranged on the same side of the carrier plate, the second laser transmitter is arranged on the other side of the carrier plate, and the first laser transmitter and the third laser transmitter are arranged on two adjacent sides of the carrier plate.
Step 102': and acquiring a laser blocking point through a third image acquisition device, wherein the laser blocking point is a junction point of laser and a terminal to be tested, and the third image acquisition device is arranged above the carrier plate.
The laser blocking points can be divided into laser blocking points on the side edges of the same side according to position distribution, as shown in fig. 7, and the laser blocking points comprise four laser blocking points on the left side and the right side; and blocking points at the ends, as shown in fig. 7, laser blocking points at the upper and lower sides.
Step 103': and drawing a target picture of the terminal to be tested according to the laser blocking point.
Specifically, according to a preset algorithm, connecting and extending the laser blocking points on the side edges on the same side to form a side wire frame; making an end wire frame perpendicular to the side wire frame by a blocking point at the end; and the picture enclosed by the side wire frame and the end wire frame is the target picture.
Step 104': a pre-stored reference image is acquired, and if the target image and the reference image cannot be overlapped through translation, correction is needed.
Step 105': and acquiring a reference image frame of the terminal to be detected, and correcting the target picture 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 a diagonal line formed by the four vertexes; the upper computer determines the model of the terminal to be detected according to the 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 reference intersection points of diagonal lines formed by the four vertexes; and overlapping 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 vertexes of the target picture are overlapped with four vertexes of the reference image frame.
In this embodiment, laser transmitters are disposed at the end and side of the terminal to be tested, the terminal to be tested blocks laser light to form a laser blocking point, and whether the shot target picture needs to be corrected is judged according to the laser blocking point, if so, the target picture is corrected based on the reference image frame to eliminate offset.
The foregoing description is only of embodiments of the present application, and is not intended to limit the scope of the patent application, and all equivalent structures or equivalent processes using the descriptions and the contents of the present application or other related technical fields are included in the scope of the patent application.

Claims (4)

1. A laser-based position detection method, the position detection method comprising:
triggering a laser transmitter to transmit a laser signal to a terminal to be tested;
acquiring a detection mark 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 correction or not based on the detection mark;
if correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target picture based on the reference image frame;
the triggering the laser transmitter to transmit the laser signal towards the terminal to be tested comprises the following steps: triggering a first laser emitter and a second laser emitter to emit laser signals towards a terminal to be tested respectively so as to form a first projection image and a second projection image respectively;
the step of obtaining the detection mark formed by the terminal to be detected and the laser signal comprises the following steps: 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 obtaining the target picture of the terminal to be tested comprises the following steps:
acquiring a target picture of the terminal to be tested through third image acquisition equipment;
the determining whether the target picture needs correction based on the detection identifier includes:
the upper computer judges 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;
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 comprises the following steps:
the upper computer determines the model of the terminal to be detected according to the 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 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 the length of the first side edge of the terminal to be detected, and whether the length of the second projection image is the same as the length of the second side edge of the terminal to be detected;
if the two types of the data are the same, correction is not needed;
if not, the target picture needs to be corrected.
2. The position detection method according to claim 1, wherein the acquiring the reference image frame of the terminal to be detected, correcting the target picture 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 a diagonal line formed by the four vertexes;
the upper computer determines the model of the terminal to be detected according to the 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 reference intersection points of diagonal lines formed by the four vertexes;
and overlapping 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 vertexes of the target picture are overlapped with four vertexes of the reference image frame.
3. The laser-based position detection system is characterized by comprising a carrier plate, a laser emitter, image acquisition equipment and an upper computer, wherein the image acquisition equipment comprises a first image acquisition equipment, a second image acquisition equipment and a third image acquisition equipment; the laser transmitter includes: the first laser transmitter and the second laser transmitter are arranged on two opposite sides of the carrier plate, the second laser transmitter and the second image acquisition device are arranged on two opposite sides of the carrier plate, the first laser transmitter and the second laser transmitter are arranged on two adjacent sides of the carrier plate, and the third image acquisition device is arranged above the carrier plate;
the carrier plate is used for bearing the terminal to be tested;
the laser transmitter is used for transmitting laser signals towards the terminal to be tested, and specifically comprises: the first laser transmitter is used for transmitting laser signals towards the terminal to be tested to form a first projection image, and the second laser transmitter is used for transmitting laser signals towards the terminal to be tested to form a second projection image;
the image acquisition equipment is used for acquiring detection marks formed by the terminal to be detected and the laser signal, and specifically comprises the following steps: the first image acquisition equipment is used for acquiring the first projection image and sending the first projection image to the upper computer, and the second image acquisition equipment is used for acquiring the second projection image and sending the second projection image to the upper computer; the image acquisition equipment is also used for acquiring a target picture of the terminal to be detected through third image acquisition equipment, 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 correction or not based on the detection mark; if correction is needed, acquiring a reference image frame of the terminal to be detected, and correcting the target picture based on the reference image frame;
wherein the determining whether the target picture needs correction based on the detection identifier includes: the upper computer judges 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;
and the upper computer judges whether the target picture needs correction according to the size of the first projection image and the size of the second projection image, and specifically comprises the following steps:
the upper computer determines the model of the terminal to be detected according to the 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 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 the length of the first side edge of the terminal to be detected, and whether the length of the second projection image is the same as the length of the second side edge of the terminal to be detected;
if the two types of the data are the same, correction is not needed;
if the target pictures are different, correcting the target pictures;
and if the correction is needed, 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.
4. A position detection system according to claim 3, wherein the third image capturing device is a CCD camera.
CN202110706371.1A 2021-06-24 2021-06-24 Laser-based position detection method and position detection system Active CN113446937B (en)

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 CN113446937A (en) 2021-09-28
CN113446937B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116026260B (en) * 2022-12-14 2023-09-05 广东九纵智能科技有限公司 Biaxial rotation device for detecting limited angle through multiaxial linkage and calibration method thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3789751B2 (en) * 2000-12-26 2006-06-28 株式会社リコー Image position inspection device
US7342670B2 (en) * 2005-10-19 2008-03-11 Labcoat, Ltd. In-flight drop location verification system
US8280172B1 (en) * 2011-03-22 2012-10-02 Mitutoyo Corporation Edge location measurement correction for coaxial light images
CN103677344B (en) * 2013-12-26 2017-03-22 广州视睿电子科技有限公司 Position control method and device and remote orientating system for cursor
CN109116129B (en) * 2017-06-26 2021-02-23 深圳回收宝科技有限公司 Terminal detection method, detection device, system and storage medium
CN207936963U (en) * 2017-11-29 2018-10-02 北京戈德思科科技有限公司 A kind of laser locating apparatus
CN109732228B (en) * 2018-12-12 2020-11-10 武汉帝尔激光科技股份有限公司 Laser galvanometer precision correction method, device and system
CN112598589A (en) * 2020-12-17 2021-04-02 青岛海信激光显示股份有限公司 Laser projection system and image correction method

Also Published As

Publication number Publication date
CN113446937A (en) 2021-09-28

Similar Documents

Publication Publication Date Title
US7177740B1 (en) Method and apparatus for dynamic measuring three-dimensional parameters of tire with laser vision
CN109831660B (en) Depth image acquisition method, depth image acquisition module and electronic equipment
US9998719B2 (en) Non-planar surface projecting system, auto-calibration method thereof, and auto-calibration device thereof
US7015951B1 (en) Picture generating apparatus and picture generating method
US6539330B2 (en) Method and apparatus for measuring 3-D information
JP3728900B2 (en) Calibration method and apparatus, and calibration data generation method
JP2002062842A (en) Projection video correction system and its method
CN110456602B (en) Projection pattern correction device, method and system of projection system
CN113446937B (en) Laser-based position detection method and position detection system
JP2003050107A (en) Camera calibration device
US20200394402A1 (en) Object identification device, object identification system, object identification method, and program recording medium
CN112102387B (en) Test method and test system based on depth estimation performance of depth camera
CN107610183A (en) New striped projected phase height conversion mapping model and its scaling method
JP3842988B2 (en) Image processing apparatus for measuring three-dimensional information of an object by binocular stereoscopic vision, and a method for recording the same, or a recording medium recording the measurement program
CN115239819A (en) Camera calibration method, device, system, electronic device and storage medium
JP3666348B2 (en) Distance recognition device
KR101703715B1 (en) The apparatus for measuring camera principal point and the method thereof
JP3990002B2 (en) Image measuring device
KR100921995B1 (en) Measurement System
JPS6256814A (en) Calibration system for three-dimensional position measuring camera
CN112305524A (en) Ranging method, ranging system, and computer-readable storage medium
JP4565898B2 (en) 3D object surveying device with tilt correction function
JP3833042B2 (en) Distance recognition device
KR100745105B1 (en) Image display method and image display apparatus
JPH11173840A (en) Device and method for measuring distance

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