Instant positioning device and method for plate member
阅读说明:本技术 板件构件的即时定位装置与方法 (Instant positioning device and method for plate member ) 是由 邓进利 李柏翰 于 2019-04-22 设计创作,主要内容包括:本发明公开了一种板件构件的即时定位装置,包括:一取像器,用于撷取一板件影像,一中央处理器,与该取像器电性连接以接收该板件影像,其中该中央处理器根据该板件影像产生一辨识指令,并产生一显示内容,其中该显示内容包括一第一特征点、一第二特征点与一目标点,且该显示内容仅包括该板件影像的一部分,以及一显示介面,电性连接该中央处理器,该显示介面接收并显示该显示内容。本发明还公开了一种板件构件的即时定位方法。(The invention discloses an instant positioning device of a plate member, which comprises: the display device comprises a plate image capturing device, a central processing unit and a display interface, wherein the plate image capturing device is used for capturing a plate image, the central processing unit is electrically connected with the image capturing device to receive the plate image, the central processing unit generates an identification instruction according to the plate image and generates display content, the display content comprises a first characteristic point, a second characteristic point and a target point, the display content only comprises one part of the plate image, and the display interface is electrically connected with the central processing unit and receives and displays the display content. The invention also discloses an instant positioning method of the plate member.)
1. A method of instantaneously positioning a panel member, comprising:
acquiring a plate image by an image taking device of an end device;
receiving the plate image by a central processing unit of the end device and generating an identification instruction according to the plate image;
receiving a target instruction by the central processing unit;
searching a model diagram comprising a plurality of first characteristic points and a plurality of second characteristic points from a plate database by the central processing unit according to the identification instruction;
positioning the first characteristic points on the plate image by using the central processing unit, and positioning a target point on the plate image according to the target instruction and the first characteristic points;
selecting one of the first feature points by the CPU;
positioning one of the second feature points on the plate image by the central processing unit at least according to the target point;
generating a display content by the central processing unit, wherein the display content comprises the selected first characteristic point, the positioned second characteristic point and the target point, and the display content only comprises a part of the plate image; and
displaying the display content with a display interface of the end device.
2. The method of claim 1, wherein after the central processing unit searches the model map comprising the first feature points and the second feature points from the plate database according to the identification command, the method further comprises:
judging whether the model image is consistent with the plate image or not by the central processing unit;
when the plate image is matched with the model diagram, positioning the first characteristic points on the plate image by using the central processing unit; and
when the plate image does not accord with the model diagram, the central processing unit generates another identification instruction again according to the plate image and searches in the plate database according to the other identification instruction.
3. The method of claim 1, wherein selecting one of the first feature points by the CPU comprises:
and selecting the first characteristic point with the shortest distance with the target point from the first characteristic points.
4. The method of claim 1, wherein the positioning of one of the second feature points on the image of the panel by the CPU at least according to the target point further comprises:
and the central processing unit locates the second characteristic point with the shortest distance with the target point from the second characteristic points.
5. The method of claim 1, wherein the positioning of one of the second feature points on the image of the panel by the CPU at least according to the target point further comprises:
the central processing unit locates one of the second feature points on the plate image according to the target point and the selected first feature point, and the selected first feature point and the located second feature point are located on two different sides of a reference line passing through the target point.
6. A method of instantaneously positioning a panel member, comprising:
acquiring a plate image by an image taking device of an end device;
receiving the plate image through a network by a central processing unit of a cloud server and generating an identification instruction;
receiving a target instruction sent by the end device through the network by the central processing unit;
searching a model diagram comprising a plurality of first characteristic points and a plurality of second characteristic points from a plate database by the central processing unit according to the identification instruction;
positioning the first characteristic points on the plate image by using the central processing unit, and positioning a target point on the plate image according to the target instruction and the first characteristic points;
selecting one of the first feature points by the CPU;
positioning one of the second feature points on the plate image by the central processing unit at least according to the target point;
generating a display content by the central processing unit, wherein the display content comprises the selected first characteristic point, the positioned second characteristic point and the target point, and the display content only comprises a part of the plate image; and
the CPU transmits the display content to the terminal device through the network, and a display interface of the terminal device displays the display content.
7. The method as claimed in claim 6, wherein the step of searching the model map comprising the first feature points and the second feature points from the plate database by the CPU according to the identification command comprises:
judging whether the model image is consistent with the plate image or not by the central processing unit;
when the plate image is matched with the model diagram, positioning the first characteristic points on the plate image by using the central processing unit; and
when the plate image does not accord with the model diagram, the central processing unit generates another identification instruction again according to the plate image and searches in the plate database according to the other identification instruction.
8. The method of claim 6, wherein the positioning of one of the second feature points on the image of the panel by the CPU based on at least the target point further comprises:
and the central processing unit locates the second characteristic point with the shortest distance with the target point from the second characteristic points.
9. The method of claim 6, wherein the positioning of one of the second feature points on the image of the panel by the CPU based on at least the target point further comprises:
the central processing unit locates one of the second feature points on the plate image according to the target point and the selected first feature point, and the selected first feature point and the located second feature point are located on two different sides of a reference line passing through the target point.
10. An instantaneous positioning device for a panel element, characterized in that it comprises:
an image capturing device for capturing an image of a panel;
a central processing unit electrically connected to the image capturing device for receiving the image of the panel, wherein the central processing unit is configured to perform:
generating an identification instruction according to the plate image;
receiving a target instruction;
searching a model diagram comprising a plurality of first characteristic points and a plurality of second characteristic points from a plate database according to the identification instruction;
positioning the first characteristic points on the plate image, and positioning a target point on the plate image according to the target instruction and the first characteristic points;
selecting one of the first feature points;
locating one of the second feature points on the plate image at least according to the target point; and
generating a display content, wherein the display content comprises the first feature point selected, the second feature point located and the target point, and the display content only comprises a part of the plate image; and
a display interface electrically connected to the CPU, the display interface receiving and displaying the display content.
11. The instant positioning apparatus as claimed in claim 10, wherein the board database is communicatively connected to the central processing unit and is configured to store a plurality of model maps, wherein each of the model maps has the first feature values and the second feature values.
12. The real-time positioning device of claim 10, wherein the board database is electrically connected to the cpu and stores a plurality of model maps, each of the model maps having the first characteristic values and the second characteristic values.
Technical Field
The present invention relates to an instant positioning device and method for a plate member, and more particularly, to an instant positioning device and method for a plate member or other plate members.
Background
To date, circuit boards (PCBs) have been essential components in a variety of electronic devices. On the other hand, as the requirements of electronic devices such as functions and specifications are continuously increased, the configuration of components on the circuit board is more and more complicated. When the configuration of the circuit board is more complex, errors are more likely to occur in the proofing or mass production process, which results in the failure or abnormal operation of the circuit board. Therefore, it is more important to efficiently position the contacts and clearly present them for subsequent detection or correction.
However, the existing detection method needs to be completed by a large machine. Under the condition that a large machine is needed to detect the circuit board, most of the circuit boards need to be matched with the scheduling of factory machines, and the manufacturing industry for teaching efficient operation is quite inconvenient; the manual detection by the existing device takes much time for looking up and comparing, and the debugging and research cost of the product is indirectly increased.
Therefore, there is still a need for an apparatus and method for instantly positioning a panel member to improve the above-mentioned problems.
Disclosure of Invention
The invention provides a real-time positioning device and method for board member, which can accurately position the contact and reference point to be detected, and enlarge the positions of the contact and reference point for the user to watch, and can execute the above operation with a simple and portable device, so as to reduce the cost for detecting and developing a small amount of bad circuit boards, and further make the research and development of related products more efficient.
The invention provides an instant positioning method of a plate member, which comprises the following steps: acquiring a plate image by an image taking device of an end device; receiving the plate image by a central processing unit of the end device and generating an identification instruction according to the plate image; receiving a target instruction by the central processing unit; searching a model diagram comprising a plurality of first characteristic points and a plurality of second characteristic points from a plate database by the central processing unit according to the identification instruction; positioning the first characteristic points on the plate image by using the central processing unit, and positioning a target point on the plate image according to the target instruction and the first characteristic points; selecting one of the first feature points by the CPU; positioning one of the second feature points on the plate image by the central processing unit at least according to the target point; generating a display content by the central processing unit, wherein the display content comprises the selected first characteristic point, the positioned second characteristic point and the target point, and the display content only comprises a part of the plate image; and displaying the display content by a display interface of the terminal device.
The present invention provides another method for instantly positioning a panel member, which is different from the above embodiments, and comprises: acquiring a plate image by an image taking device of an end device; receiving the plate image through a network by a central processing unit of a cloud server and generating an identification instruction; receiving a target instruction sent by the end device through the network by the central processing unit; searching a model diagram comprising a plurality of first characteristic points and a plurality of second characteristic points from a plate database by the central processing unit according to the identification instruction; positioning the first characteristic points on the plate image by using the central processing unit, and positioning a target point on the plate image according to the target instruction and the first characteristic points; selecting one of the first feature points by the CPU; positioning one of the second feature points on the plate image by the central processing unit at least according to the target point; generating a display content by the central processing unit, wherein the display content comprises the selected first characteristic point, the positioned second characteristic point and the target point, and the display content only comprises a part of the plate image; and transmitting the display content to the end device through the network by the central processing unit, and displaying the display content by a display interface of the end device.
The invention provides a device for instantly positioning a plate member, which comprises: acquiring a plate image by an image taking device of an end device; receiving the plate image through a network by a central processing unit of a cloud server and generating an identification instruction; receiving a target instruction sent by the end device through the network by the central processing unit; searching a model diagram comprising a plurality of first characteristic points and a plurality of second characteristic points from a plate database by the central processing unit according to the identification instruction; positioning the first characteristic points on the plate image by using the central processing unit, and positioning a target point on the plate image according to the target instruction and the first characteristic points; selecting one of the first feature points by the CPU; positioning one of the second feature points on the plate image by the central processing unit at least according to the target point; generating a display content by the central processing unit, wherein the display content comprises the selected first characteristic point, the positioned second characteristic point and the target point, and the display content only comprises a part of the plate image; and transmitting the display content to the end device through the network by the central processing unit, and displaying the display content by a display interface of the end device.
The invention provides a real-time positioning device and method for board member, which can accurately position the contact and reference point to be detected, and enlarge the positions of the contact and reference point for the user to watch, and can execute the above operation with simple and portable device, effectively reduce the cost for detecting and researching a small amount of bad circuit boards, and make the research and development of related products more efficient.
The above description of the present invention and the following description of the embodiments are provided to illustrate and explain the spirit and principles of the present invention and to provide further explanation of the invention as claimed in the appended claims.
Drawings
Fig. 1A is a schematic view of an instant positioning device for a panel member according to an embodiment of the present invention.
Fig. 1B and fig. 1C are schematic views illustrating the display contents of the instant positioning device of a plate member according to an embodiment of the present invention.
Fig. 2 is a flowchart of a method for instantly positioning a plate member according to an embodiment of the present invention.
Fig. 3 is a detailed flowchart of a method for instantly positioning a panel member according to an embodiment of the present invention.
Fig. 4 is another detailed flowchart of the method for instantly positioning the plate member according to an embodiment of the present invention.
Fig. 5 is a flow chart of a method for instantly positioning a panel member according to another embodiment of the present invention.
Wherein, the reference numbers:
1 instant positioning device for plate member
11 image taking device
12 central processing unit
13 display interface
14 plate database
B plate
I-plate image
D display content
P1 first characteristic point
P2 second characteristic point
L1 first relative distance
L2 second relative distance
L3 third relative distance
R reference line
T target point
Detailed Description
The detailed features and advantages of the present invention are described in detail in the embodiments below, which are sufficient for anyone skilled in the art to understand the technical contents of the present invention and to implement the present invention, and the related objects and advantages of the present invention can be easily understood by anyone skilled in the art according to the disclosure of the present specification, the protection scope of the claims and the attached drawings. The following examples further illustrate aspects of the present invention in detail, but are not intended to limit the scope of the invention in any way.
The instant positioning device 1 and method of the present invention can be applied to various industrial plates, such as: circuit boards in the electronics industry, microstructured plates in the mechanical industry, and the like. The following description is made of circuit boards in the electronics industry, but the invention is not limited thereto.
Referring to fig. 1A, fig. 1B and fig. 1C, fig. 1A is a schematic operation diagram of an instant positioning device 1 for a plate member according to an embodiment of the present invention, and fig. 1B and fig. 1C are schematic display contents D of the instant positioning device 1 for a plate member according to an embodiment of the present invention. The real-time positioning device 1 shown in fig. 1A includes an
In detail, the
On the other hand, the
For explaining the operation of the
In addition, after the image of the board I is obtained by the
After the
Please refer to fig. 1B and fig. 1C for the presentation of the display content D. Specifically, after the
As mentioned above, when a user captures an image of a panel by using the image capturing device, the image capturing device often fails to shoot the image of the panel directly against the panel, so that an image deviation is generated between the image of the panel and the model diagram. For example, in the case of a rectangle or a square model, when the image capture device has an upward tilt angle with respect to the plate, the plate image generated by the image capture device may be trapezoidal or parallelogram. Therefore, the CPU generates a transformation matrix by comparing the common features (such as area or length-width ratio) between the model map and the plate image, so as to correct the image deviation between the model map and the plate image, and correctly determine the correct position of the target point in the plate image.
In detail, referring to fig. 3, fig. 3 is a detailed flowchart of step S104. When the central processing unit searches the model map from the plate database according to the identification instruction, the central processing unit needs to judge whether the searched model map is consistent with the plate image. If the model map matches the plate image, step S105 of fig. 2 is continued. If the model map does not match the plate image, step S1041 is continued: generating another identification instruction by the central processing unit according to the plate image again, and searching in the plate database according to the identification instruction; generally speaking, the identification command is preferably generated according to the identification code of the board, however, when the identification code is unclear or damaged and cannot be identified, the central processing unit identifies the side length or other characteristics of the board instead to generate another identification command.
In detail, referring to fig. 4, fig. 4 is a detailed flowchart of step S106 and step S107. When the cpu selects one of the first feature points, please refer to step S1061: selecting the first feature point having the shortest distance to the target point from the first feature points, and then referring to step S1071: and the central processing unit locates the second characteristic point with the shortest distance with the target point from the second characteristic points. The central processing unit takes the 'closest distance to the target point' as a condition for selecting the first characteristic point and the second characteristic point, so that the situation that the accuracy of the position of the target point presented by the display content does not meet the requirements of a user due to the fact that the relative distance between the selected first characteristic point, the positioned second characteristic point and the target point on the plate image is too large can be avoided.
In addition, the step S107 of selecting the second feature point may be performed according to the step S1072 of: the central processing unit locates one of the second feature points on the plate image according to the target point and the selected first feature point, and the selected first feature point and the located second feature point are located on two different sides of a reference line R passing through the target point. In step S1072, the reference line R is preferably perpendicular to the line connecting the target point and the first feature point (as shown in fig. 1C). In detail, when the first feature point and the second feature point are located on different sides of the reference line R, the target point can be located in an area between the first feature point and the second feature point. Compared with the case that the first characteristic point and the second characteristic point are both located on the same side of the reference line R, when the target point is located between the first characteristic point and the second characteristic point, after the plate image is enlarged, the position of the target point has higher probability to be located in an area close to the center of the display content instead of being biased to the edge of the display content. Therefore, by the step, the user can more intuitively judge the position of the target point according to the display content so as to carry out subsequent measurement or debugging operation.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for instantly positioning a plate member according to another embodiment of the present invention. Different from the above embodiments, the method of the present embodiment is implemented by a cloud server having a central processing unit and a plate database, and being executed in cooperation with a terminal device having an image capture device and a display interface; wherein the cloud server is in communication connection with the end device through a network. Therefore, steps S201 and S204 to S208, and the detailed flow corresponding to each step, are the same as steps S101 and S104 to S108 shown in fig. 2, and steps shown in fig. 3 and 4, and thus the description is not repeated here. Please refer to step S202: receiving the plate image and generating an identification instruction by a central processing unit of the cloud server through a network; wherein the central processing unit is in communication connection with the image capturing device through a network. In addition, the user can input the target point code at the end device, and the end device generates the target command accordingly, so the following step S203: and the central processing unit receives a target instruction sent by the end device through the network. Here, after the cpu receives the end device through the network, the cpu performs the following operations, and after the display content is generated, the process proceeds to step S209: the CPU transmits the display content to the end device through the network, and the display interface of the end device displays the display content.
In addition, after the CPU completes the display content, another second feature point can be re-located, and the distance between the another second feature point and the target point is smaller than the distance between the first feature point and the target point. The central processing unit can adjust the display content again according to the other second characteristic point, the original second characteristic point and the target point, so that the adjusted display content can more accurately and clearly present the position of the target point.
It should be noted that the embodiment shown in fig. 5 not only simplifies the configuration elements of the end device, but also the hardware specification of the cloud server is better than that of the smart phone, tablet and pc, and can be adjusted according to the practical requirements, so that the instant positioning method can be executed more efficiently.
In addition, it should be added that the instant positioning device and method provided by the present invention can be applied to various plate members having various elements, and is not limited to plate members, and the present invention is not limited thereto.
In summary, the present invention provides a real-time positioning device and method for board members, which can accurately position the contact points and reference points to be detected, and enlarge the positions of the contact points and reference points for the user to view, so as to perform the above operations with a simple and portable device, effectively reduce the cost for detecting and developing a small number of bad boards, and make the research and development of related products more efficient.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种手持式大电流测试仪握持结构