CN117237337A - Dispensing path generation system, method and storage medium based on image processing - Google Patents

Dispensing path generation system, method and storage medium based on image processing Download PDF

Info

Publication number
CN117237337A
CN117237337A CN202311490141.1A CN202311490141A CN117237337A CN 117237337 A CN117237337 A CN 117237337A CN 202311490141 A CN202311490141 A CN 202311490141A CN 117237337 A CN117237337 A CN 117237337A
Authority
CN
China
Prior art keywords
hardware
dispensing
color
information
coordinate
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
Application number
CN202311490141.1A
Other languages
Chinese (zh)
Other versions
CN117237337B (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.)
DONGGUAN WELDO AUTOMATIC EQUIPMENT TECHNOLOGY CO LTD
Original Assignee
DONGGUAN WELDO AUTOMATIC EQUIPMENT TECHNOLOGY 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 DONGGUAN WELDO AUTOMATIC EQUIPMENT TECHNOLOGY CO LTD filed Critical DONGGUAN WELDO AUTOMATIC EQUIPMENT TECHNOLOGY CO LTD
Priority to CN202311490141.1A priority Critical patent/CN117237337B/en
Publication of CN117237337A publication Critical patent/CN117237337A/en
Application granted granted Critical
Publication of CN117237337B publication Critical patent/CN117237337B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a dispensing path generation system, a dispensing path generation method and a storage medium based on image processing, wherein the path generation system comprises the following components: an image acquisition module; an image processing module; a coordinate adding module; and a color identification module. According to the invention, the overall structural image of the hardware is acquired, the overall structural outline and the region coordinate information of the hardware are processed and acquired through the image processing module and the coordinate additional module, the overall information of the hardware can be accurately and precisely mastered, the edge outlines and the region positions of different color regions on the hardware are acquired through the color recognition module, the dispensing track coordinates of the hardware can be accurately determined according to the outline and the region of the hardware, so that the high-precision correct reference basis is provided for the subsequent generation of the dispensing track path of the hardware, and the debugging and modification of the subsequent dispensing path are reduced. The technical problem that the path generation effect of the color point glue on hardware is poor in the prior art is effectively solved.

Description

Dispensing path generation system, method and storage medium based on image processing
Technical Field
The invention relates to the technical field of hardware dispensing machines, in particular to a dispensing path generation system, a dispensing path generation method and a storage medium based on image processing.
Background
Hardware coloring means that by coloring on the surface of the hardware, a clearer mark and a clearer reference point can be provided, so that the positioning precision of the automatic dispensing system is improved. The coloring can help to determine the glue position and area, reduce positioning errors and ensure that the glue is accurately applied to the target position. It has high accuracy, high efficiency and automatic characteristics. The hardware dispensing machine is widely applied to industries such as electronics, electrical appliances, automobiles, aerospace, artware and the like.
At present, the dispensing efficiency of hardware coloring is determined by the complexity of dispensing patterns, and generally, the more and more complicated patterns with more colors can be manufactured into a product only by manually participating in the process steps of drawing, dispensing debugging, parameter modification and the like, and generally, more than 8 hours of workers are required to manufacture the product, and the generated track also needs to be subjected to a large amount of path adjustment manually, so that the yield of the effect of manufacturing the product is poor, and the overall production efficiency is influenced.
Disclosure of Invention
The invention aims to solve the technical problem that the path generation effect of color point glue on hardware is poor in the prior art, and provides a glue dispensing path generation system, a glue dispensing path generation method and a storage medium based on image processing.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
the first aspect of the invention provides a dispensing path generating system based on image processing, which comprises:
the image acquisition module is used for acquiring image information of hardware;
the image processing module is electrically connected with the image acquisition module and is used for processing the image information of the hardware to obtain the overall structural image information of the hardware;
the coordinate adding module is electrically connected with the image processing module and is used for carrying out coordinate adding on the overall structural image information of the hardware so as to obtain the coordinate information of each outline area of the overall structural image information of the hardware;
the color recognition module is electrically connected with the image processing module and is used for carrying out color recognition on the overall structure image information of the hardware so as to recognize the region type on the overall structure image information of the hardware.
In a possible embodiment, the coordinate attachment type of the coordinate attachment module includes:
and carrying out plane two-dimensional coordinates and/or space three-dimensional coordinates on the overall structural image information of the hardware.
The second aspect of the present invention provides an image processing-based dispensing path generating method, which adopts the image processing-based dispensing path generating system according to any one of the first aspect, and the path generating method includes:
acquiring overall structural image information of the hardware according to the design information of the hardware;
determining the center and edge contour information of the hardware according to the overall structural image information of the hardware;
according to the overall structural image information of the hardware, and combining the design information of the hardware, carrying out coloring segmentation on the hardware to obtain a hardware color partition map;
according to the center and edge position information of the hardware, acquiring the edge coordinate positions of each color subarea in the color subarea image of the hardware, and generating the edge track information of each color subarea outline in the color subarea image of the hardware;
performing color recognition on the hardware color partition map to obtain a plurality of same-color areas in the hardware color partition map, and combining the edge track information of each color partition contour to obtain the position information of the plurality of same-color areas in the hardware color partition map;
integrating the position information of a plurality of same-color areas in the hardware color partition map to obtain track information of the plurality of same-color areas in the hardware color partition map;
and generating the track information of dispensing of the same-color areas in the hardware color partition map according to the track information of the plurality of same-color areas in the hardware color partition map.
In one possible embodiment, the method for determining the center and edge profile information of the hardware includes:
image processing is carried out on the overall structure image information of the hardware, and the image information of the hardware is obtained;
selecting a point at will in the image information of the hardware as a datum point of the hardware;
constructing coordinates in image information of the hardware according to the datum point of the hardware, and determining edge contour coordinates of the hardware by combining the overall construction image information of the hardware;
and integrating a plurality of groups of edge contour coordinates on the hardware according to the overall structural image information of the hardware, and obtaining the edge position track coordinates of the hardware.
In a possible embodiment, the method for determining edge profile coordinates of a hardware further includes:
according to the image information of the hardware, and combining the datum point of the hardware, a two-dimensional coordinate value of the overall structure of the hardware is obtained;
processing a plurality of two-dimensional coordinate values of the overall hardware structure to acquire all two-dimensional coordinate information of the hardware;
and according to the overall structural image information of the hardware, and combining all two-dimensional coordinates of the hardware, determining all three-dimensional coordinate information of the hardware.
In one possible embodiment, a method for generating edge trajectory information for each color bin outline in a hardware color bin map includes:
performing color recognition on the hardware color partition map to obtain a color outline map of the hardware;
according to the color outline of the hardware, taking a datum point in the image information of the hardware as a reference point, and obtaining coordinates of an outline track of the color outline of the hardware to obtain coordinates of the outline track of the color outline;
and according to a plurality of groups of colors in the color partition map, integrating data by combining with the contour track coordinates of the color contour map of the plurality of groups of colors, and obtaining the edge track information of each color partition contour in the color partition map of the hardware.
In a possible embodiment, the method for generating dispensing trace information of the same color area in the hardware color partition map further includes:
acquiring coordinate information of the same color area according to the edge track information of each color subarea outline in the hardware color subarea graph;
data integration is carried out on the coordinate information of the same color area in the hardware color partition diagram, and dispensing track information of the same color area in the hardware color partition diagram is obtained;
according to the dispensing track information of the same color area in the hardware color partition chart, and combining the design information of the hardware, selecting a corresponding dispensing head;
and according to the dispensing track information of the same color area in the hardware color partition chart, performing dispensing operation by using the corresponding dispensing heads.
In a possible embodiment, the method for dispensing by using the corresponding dispensing head comprises the following steps:
according to the design information of the hardware, the size of the dispensing type of the same color area is obtained, and the number of dispensing heads with different sizes of the same color area is determined;
according to the dispensing track information of the same color area in the hardware color partition chart, and combining the dispensing type and the dispensing size of the same color area, respectively determining the dispensing working points of dispensing heads with different sizes;
according to the coordinate information in the hardware color partition map, judging the point positions of the same type of dispensing heads, which need to be subjected to dispensing, so as to obtain dispensing opening and closing information of the dispensing heads;
and according to the dispensing opening and closing information of the dispensing head, and combining the dispensing track information of the same color area in the hardware color partition chart, performing dispensing operation by using the dispensing head.
In a possible embodiment, the method for obtaining dispensing opening and closing information of the dispensing head includes:
taking each coordinate point in the coordinate information in the hardware color partition map as a filling unit to obtain all filling units in the hardware color partition map;
any filling unit is selected as a dispensing starting point, and color information and coordinate information of the dispensing starting point are obtained at the same time;
according to the design information of hardware, pre-dispensing points with the same color of a dispensing starting point are obtained;
and judging whether the glue head of the spot is opened or closed according to the coordinate information of the pre-dispensing spot and the coordinate information of the dispensing starting point.
A third aspect of the present invention provides a computer storage medium having a computer program stored thereon, wherein the program when executed by a processor implements a dispensing path generating method based on image processing as set forth in any one of the second aspects.
The beneficial effects of the invention are as follows:
according to the embodiment of the invention, the image acquisition module is used for acquiring the overall structural image of the hardware, the image processing module and the coordinate adding module are used for processing and acquiring the overall structural outline and region coordinate information of the hardware, the overall information of the hardware can be accurately and precisely mastered, the color recognition module is used for acquiring the edge outline and region positions of different color regions on the hardware, and the dispensing track coordinates of the hardware can be accurately determined according to the outline and region of the hardware, so that the high-precision correct reference basis is provided for the subsequent generation of the dispensing track path of the hardware, and the debugging and modification of the subsequent dispensing path are reduced. The technical problem that the path generation effect of the color point glue on the hardware is poor in the prior art is effectively solved, the accuracy of the subsequent point glue path generation result of the hardware is guaranteed, and therefore the point glue processing efficiency of the product is effectively improved.
Drawings
Fig. 1 is a schematic structural diagram of a portion of a dispensing path generating system based on image processing according to an embodiment of the present invention;
fig. 2 is an overall flow diagram of a dispensing path generating method based on image processing according to an embodiment of the present invention;
fig. 3 is a first partial flowchart of a dispensing path generating method based on image processing according to an embodiment of the present invention;
FIG. 4 is a second partial flowchart of a method for generating a dispensing path based on image processing according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for obtaining dispensing opening and closing information of a dispensing head in a dispensing path generating method based on image processing according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention 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 embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are merely used to explain the relative positional relationship, movement, etc. between the components in a particular posture (as shown in the drawings), and if the particular posture is changed, the directional indicator is changed accordingly.
In the present invention, unless specifically stated and limited otherwise, the terms "connected," "affixed," and the like are to be construed broadly, and for example, "affixed" may be a fixed connection, a removable connection, or an integral body; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is 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 at least one such feature. In addition, the meaning of "and/or" as it appears throughout includes three parallel schemes, for example "A and/or B", including the A scheme, or the B scheme, or the scheme where A and B are satisfied simultaneously. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
Referring to fig. 1-5, in order to achieve the purpose of solving the technical problem of poor path generation effect of color point glue on hardware in the prior art, the invention provides a glue dispensing path generation system based on image processing in a first aspect in this embodiment, and the path generation method processes and acquires the overall structural outline and region coordinate information of the hardware by collecting the overall structural image of the hardware in advance, can accurately grasp the overall information of the hardware with high precision, then acquires the edge outline and region positions of different color regions on the hardware, and can accurately determine the glue dispensing track coordinates of the hardware according to the outline and region of the hardware, so as to ensure that the subsequent glue dispensing track generation of the hardware provides a high-precision correct reference basis, and reduce the debugging and modification of the subsequent glue dispensing path. The technical problem that the path generation effect of the color point glue on the hardware is poor in the prior art is effectively solved, the accuracy of the subsequent point glue path generation result of the hardware is guaranteed, and therefore the point glue processing efficiency of the product is effectively improved.
Referring to fig. 1, specifically, a dispensing path generating system based on image processing includes:
the image acquisition module can acquire the image of the marked hardware through acquisition equipment or design software so as to acquire the image information of the hardware. The image processing module is electrically connected with the image acquisition module and is used for carrying out image processing on the image information of the hardware to obtain the overall structure image information of the hardware. The coordinate adding module is electrically connected with the image processing module, so that the coordinate adding module is used for carrying out coordinate adding on the overall structure image information of the hardware, and the coordinate information of each outline area of the overall structure image information of the hardware is obtained. And then the color recognition module is electrically connected with the image processing module, and the color recognition module is used for carrying out color recognition on the overall structure image information of the hardware so as to recognize the region type on the overall structure image information of the hardware. In this embodiment, the image acquisition module acquires the overall structural image of the hardware, and then the image processing module and the coordinate adding module process and acquire the overall structural outline and region coordinate information of the hardware, so that the overall information of the hardware can be accurately and precisely mastered, then the edge outlines and region positions of different color regions on the hardware are acquired through the color recognition module, and then the dispensing track coordinates of the hardware can be accurately determined according to the outline and region of the hardware, so that the follow-up generation of a high-precision correct reference basis for the dispensing track path of the hardware is ensured, and the debugging and modification of the follow-up dispensing path are reduced. The technical problem that the path generation effect of the color point glue on the hardware is poor in the prior art is effectively solved, the accuracy of the subsequent point glue path generation result of the hardware is guaranteed, and therefore the point glue processing efficiency of the product is effectively improved. In order to meet the requirement of enabling the coordinate adding module to attach the coordinates of the hardware to be more fit to the practical application, the coordinate adding type of the coordinate adding module comprises: and carrying out plane two-dimensional coordinates and/or space three-dimensional coordinates on the overall structural image information of the hardware. The coordinate adding module can perform one or more combination operations of plane two-dimensional coordinate adding and space three-dimensional coordinate adding on the whole construction image information of the hardware.
It should be noted that in this embodiment, in some implementations, the path generation system may communicate using any currently known or future developed network protocol, such as HTTP (Hyper Text Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In this embodiment, in order to explain how to generate a dispensing path of a hardware subjected to color marking in detail, the second aspect of the present invention provides a dispensing path generating method based on image processing, where the dispensing path generating method adopts a dispensing path generating system based on image processing described in any one of the first aspects, and the generating method obtains the overall structure outline and area information of the hardware by obtaining the overall structure outline and area information of the hardware in advance, can accurately and precisely master the overall information of the hardware, and then obtains edge outlines and area positions of different color areas on the hardware, and then can accurately determine dispensing track coordinates of the hardware according to the outline and area of the hardware, so as to ensure that a high-precision correct reference basis is provided for generating a subsequent dispensing track path of the hardware, and reduce debugging and modification of the subsequent dispensing path. The technical problem that the path generation effect of the color point glue on the hardware is poor in the prior art is effectively solved, the accuracy of the subsequent point glue path generation result of the hardware is guaranteed, and therefore the point glue processing efficiency of the product is effectively improved.
Referring to fig. 2 to 5, specifically, the generating method includes:
acquiring overall structural image information of the hardware according to the design information of the hardware; the design software can be converted into a plan view (such as a design drawing converted into a BMP or PNG format picture or CAD, IF, step format) according to the design drawing of the hardware through CAD, UG, soldworks and the like. The design drawing of the hardware is input into editing software, then coordinates are added according to the design drawing of the hardware, so that each coordinate point on the overall structure of the hardware is obtained, the overall structure image information of the hardware is analyzed conveniently, and then the center point on the hardware and the track position of the upper edge of the hardware are obtained. And determining the center and edge contour information of the hardware according to the overall structural image information of the hardware.
According to the overall structural image information of the hardware, and combining the design information of the hardware, carrying out coloring segmentation on the hardware to obtain a hardware color partition map; the color distribution of each construction point position on the hardware is determined according to the design information of the hardware, so that the hardware can meet the machining and forming requirements. And coloring each construction point on the hardware according to the center and edge position information of the hardware so as to determine the edge coordinate positions of each color subarea in the color subarea map of the hardware, and integrating the edge coordinate positions of each color subarea in the color subarea map of the hardware according to the color integration data to generate the edge track information of each color subarea outline in the color subarea map of the hardware. In a possible embodiment, in order to reduce the track generation errors caused by excessive colors, a dispensing track generation mode is provided herein, so as to ensure that the dispensing path generation of each color partition on the hardware can be mastered with high precision. Specifically, performing color recognition on the hardware color partition map to obtain a plurality of same-color areas in the hardware color partition map, and combining edge track information of each color partition contour to obtain position information of the plurality of same-color areas in the hardware color partition map; the color recognition software or the integrated module can be used for recognizing the colors in the color partition map of the hardware, so that different colors on the hardware can be distinguished, and the regions with the same colors can be subjected to coordinate integration, so that the follow-up determination of the same-color dispensing track of the hardware is facilitated. Integrating the position information of a plurality of same-color areas in the hardware color partition map to obtain track information of the plurality of same-color areas in the hardware color partition map; and generating the track information of dispensing of the same-color areas in the hardware color partition map according to the track information of the plurality of same-color areas in the hardware color partition map. In this embodiment, the overall information of the hardware can be accurately and precisely mastered, then the edge contours and the region positions of the different color regions on the hardware are obtained, and then the dispensing track coordinates of the hardware can be accurately determined according to the contours and the regions of the hardware, so that the subsequent generation of the dispensing track path of the hardware is guaranteed to provide a high-precision correct reference basis, and the debugging and modification of the subsequent dispensing path are reduced. The technical problem that the path generation effect of the color point glue on the hardware is poor in the prior art is effectively solved, the accuracy of the subsequent point glue path generation result of the hardware is guaranteed, and therefore the point glue processing efficiency of the product is effectively improved.
Referring to fig. 2 and 3, in this embodiment, in order to facilitate understanding of how the center and edge position information of the hardware is obtained, the following example is given. Specifically, the method for determining the center and edge profile information of the hardware comprises the following steps:
image processing is carried out on the overall structure image information of the hardware, and the image information of the hardware is obtained; the whole structure image information and the design information of the hardware can be processed to obtain the plane image of the hardware, so that the plane image of the hardware can be attached by the coordinate base points. Namely, a point is arbitrarily selected from the image information of the hardware and is used as a datum point of the hardware; coordinate addition of a two-dimensional coordinate system is constructed in the image information of the hardware according to the datum point of the hardware, and then coordinate values on all construction points on the hardware can be determined according to the overall construction image information or design information of the hardware, so that edge contour coordinates of the hardware can be determined conveniently. And then, integrating a plurality of groups of edge contour coordinates on the hardware to obtain the edge position track coordinates of the hardware. Namely, coordinate values of each construction point position on the hardware can be used as a dispensing basis for subsequent dispensing operation.
In this embodiment, in order to facilitate understanding of how to obtain the edge track information of each color partition contour in the hardware color partition map, the following examples are given herein. Specifically, the method for generating the edge track information of each color partition outline in the hardware color partition map comprises the following steps:
color identification is carried out on the color partition map of the hardware by utilizing acquisition equipment (such as a camera or a color acquisition device) to obtain a color outline map of the hardware; the whole color of the hardware can be determined by utilizing a wired or wireless mode, so that the distribution of each color on the dispensing surface of the hardware can be mastered conveniently. And then, according to the color distribution condition of the hardware, utilizing the datum points on the image information of the hardware to determine the color distribution coordinate condition on the hardware. Namely, according to the color outline of the hardware, taking a datum point in the image information of the hardware as a reference point, and acquiring coordinates of the outline track of the color outline of the hardware to obtain coordinates of the outline track of the color outline; and then, data integration is carried out according to the color distribution condition and the color distribution coordinates in the color partition map of the hardware, so that the specific condition of the color distribution coordinates of the overall structure of the hardware can be mastered accurately and precisely. And integrating data according to a plurality of groups of colors in the color partition map and combining the contour track coordinates of the color contour map of the plurality of groups of colors to obtain the edge track information of each color partition contour in the color partition map of the hardware.
In this embodiment, in order to facilitate understanding how the dispensing trajectory information is obtained in the same color area in the color partition map of the hardware, the following example is given here. Specifically, the method for generating the dispensing track information of the same-color area in the hardware color partition map further comprises the following steps:
acquiring coordinate information of the same color area according to the edge track information of each color subarea outline in the hardware color subarea graph; the software identification or collection module can be utilized to carry out data integration on the coordinates of the same color area according to the color condition of the color partition map of the hardware so as to obtain the dispensing track information of the same color area in the color partition map of the hardware; so as to facilitate the subsequent combination of the design information of hardware and the selection of corresponding dispensing heads; the manual mode can be adopted, the dispensing heads with different sizes and specifications are selected according to the design information and the overall structure of the hardware, and the dispensing heads with different sizes and specifications are used for dispensing the hardware (namely, in order to accelerate the dispensing speed, the dispensing heads with different sizes can be used for dispensing in the same color region, and if the dispensing heads are used for processing needle heads, the processing of the needle heads can be omitted). Namely, according to the dispensing track information of the same color area in the hardware color partition chart, the corresponding dispensing heads are utilized for dispensing.
In this embodiment, in order to facilitate understanding how to select the type of the dispensing head on the hardware and make the corresponding dispensing operation, the following examples are given herein. Specifically, the method for dispensing by using the corresponding dispensing head comprises the following steps:
according to the design information of the hardware, the size of the dispensing type of the same color area is obtained, and the number of dispensing heads with different sizes of the same color area is determined; and selecting corresponding dispensing heads according to the size of the dispensing types in the dispensing areas on the hardware so as to meet the requirement of subsequently dispensing the same color area.
According to the dispensing track information of the same color area in the hardware color partition chart, and combining the dispensing type and the dispensing size of the same color area, respectively determining the dispensing working points of dispensing heads with different sizes; and the filling size is divided according to the same color area in the color partition diagram on the hardware, so that the same color dispensing coordinates of the dispensing heads with different sizes are obtained.
According to the coordinate information in the hardware color partition map, judging the point positions of the same type of dispensing heads, which need to be subjected to dispensing, so as to obtain dispensing opening and closing information of the dispensing heads; and then continuously judging coordinates according to the obtained same color dispensing coordinates of the dispensing heads with different sizes so as to grasp the sequence of the dispensing heads at the opening and closing time points, namely, carrying out path setting planning on the dispensing parameters of the dispensing heads with the same size according to the dispensing requirements in the same color area (for example, path track coordinates of the dispensing heads, path track dispensing speed of the dispensing heads and dispensing opening and closing point time on the dispensing heads can be planned, namely, dispensing opening and closing information of the dispensing heads is used according to the dispensing track information of the same color area in a hardware color partition diagram, and dispensing is carried out by using the dispensing heads, namely, each index of the dispensing heads is imported into hardware coloring software according to the automatically generated track, and dispensing test and parameter fine adjustment (for example, the difference of an electromagnetic valve, a dispensing valve, a needle head, air pressure and the like may need to be fine-adjusted).
In this embodiment, in order to facilitate understanding of how to apply the dispensing opening and closing information of the dispensing head on the hardware, the following examples are given herein. Specifically, the method for obtaining the dispensing opening and closing information of the dispensing head comprises the following steps:
taking each coordinate point in the coordinate information in the hardware color partition map as a filling unit to obtain all filling units in the hardware color partition map; the method comprises the steps of taking coordinate points in a color partition diagram on hardware as a filling unit, and then obtaining filling unit information in the color partition diagram of the hardware. Then any filling unit is selected as a dispensing starting point, and color information and coordinate information of the dispensing starting point are obtained at the same time; according to the design information of the hardware, the pre-dispensing points with the same color of the dispensing starting point are obtained, namely, according to the overall design information of the hardware, the dispensing points which are the same as the dispensing starting point on the hardware are obtained and determined, according to the coordinate information of the pre-dispensing points and the coordinate information of the dispensing starting point, whether a filling unit between the pre-dispensing points and the dispensing starting point is continuous or not is judged, whether the dispensing heads are continuously opened or closed is judged, namely, if the dispensing starting point is (x, y), the pre-dispensing points are (x+a, y+b), if a, b are within +/-1, the dispensing heads can be judged to be in a continuous opening or closing state, if not, the opening or closing condition of the dispensing heads is required to be selected according to the displacement points, and the specification of the dispensing heads between the dispensing starting point and the pre-dispensing points is the same.
In this embodiment, if each point on the dispensing working surface of the hardware is not on the same plane, the dispensing track of the hardware may be obtained in a three-dimensional coordinate additional manner, and in order to facilitate understanding how to obtain each contour coordinate on the dispensing surface of the hardware, the following description is made. Specifically, the method for determining the edge contour coordinates of the hardware further includes: according to the image information of the hardware, and combining the datum point of the hardware, a two-dimensional coordinate value of the overall structure of the hardware is obtained; processing a plurality of two-dimensional coordinate values of the overall hardware structure to acquire all two-dimensional coordinate information of the hardware; according to the overall structure image information of the hardware, the plane two-dimensional coordinates of the dispensing surface of the hardware are obtained according to the mode, then the height information of different dispensing areas is determined according to various design information of the overall structure of the hardware, and then the Z-axis coordinate information value is determined according to the height information. Namely, according to the overall structural image information of the hardware, and combining all two-dimensional coordinates of the hardware, all three-dimensional coordinate information of the hardware is determined. So as to realize the acquisition of the three-dimensional information of the integral structure on the hardware.
A third aspect of the present invention provides a computer-readable medium having stored thereon a computer program, wherein the program, when executed by a processor, implements a dispensing path generating method based on image processing as set forth in any one of the first aspects. The computer readable medium in this embodiment may write computer program code for performing the operations of some embodiments of the present disclosure in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (10)

1. An image processing-based dispensing path generation system, the path generation system comprising:
the image acquisition module is used for acquiring image information of hardware;
the image processing module is electrically connected with the image acquisition module and is used for processing the image information of the hardware to obtain the overall structural image information of the hardware;
the coordinate adding module is electrically connected with the image processing module and is used for carrying out coordinate adding on the overall structural image information of the hardware so as to obtain the coordinate information of each outline area of the overall structural image information of the hardware;
the color recognition module is electrically connected with the image processing module and is used for carrying out color recognition on the overall structure image information of the hardware so as to recognize the region type on the overall structure image information of the hardware.
2. The image processing-based dispensing path generation system of claim 1, wherein the coordinate attachment type of the coordinate attachment module comprises:
and carrying out plane two-dimensional coordinates and/or space three-dimensional coordinates on the overall structural image information of the hardware.
3. An image processing-based dispensing path generation method, characterized in that the image processing-based dispensing path generation system according to any one of claims 1 or 2 is adopted, the path generation method comprising:
acquiring overall structural image information of the hardware according to the design information of the hardware;
determining the center and edge contour information of the hardware according to the overall structural image information of the hardware;
according to the overall structural image information of the hardware, and combining the design information of the hardware, carrying out coloring segmentation on the hardware to obtain a hardware color partition map;
according to the center and edge position information of the hardware, acquiring the edge coordinate positions of each color subarea in the color subarea image of the hardware, and generating the edge track information of each color subarea outline in the color subarea image of the hardware;
performing color recognition on the hardware color partition map to obtain a plurality of same-color areas in the hardware color partition map, and combining the edge track information of each color partition contour to obtain the position information of the plurality of same-color areas in the hardware color partition map;
integrating the position information of a plurality of same-color areas in the hardware color partition map to obtain track information of the plurality of same-color areas in the hardware color partition map;
and generating the track information of dispensing of the same-color areas in the hardware color partition map according to the track information of the plurality of same-color areas in the hardware color partition map.
4. The method for generating a dispensing path based on image processing according to claim 3, wherein the method for determining the center and edge profile information of the hardware comprises:
image processing is carried out on the overall structure image information of the hardware, and the image information of the hardware is obtained;
selecting a point at will in the image information of the hardware as a datum point of the hardware;
constructing coordinates in image information of the hardware according to the datum point of the hardware, and determining edge contour coordinates of the hardware by combining the overall construction image information of the hardware;
and integrating a plurality of groups of edge contour coordinates on the hardware according to the overall structural image information of the hardware, and obtaining the edge position track coordinates of the hardware.
5. The method for generating a dispensing path based on image processing according to claim 4, wherein the method for determining edge profile coordinates of hardware further comprises:
according to the image information of the hardware, and combining the datum point of the hardware, a two-dimensional coordinate value of the overall structure of the hardware is obtained;
processing a plurality of two-dimensional coordinate values of the overall hardware structure to acquire all two-dimensional coordinate information of the hardware;
and according to the overall structural image information of the hardware, and combining all two-dimensional coordinates of the hardware, determining all three-dimensional coordinate information of the hardware.
6. The method for generating a dispensing path based on image processing according to claim 4, wherein the method for generating edge track information of each color partition contour in the hardware color partition map comprises:
performing color recognition on the hardware color partition map to obtain a color outline map of the hardware;
according to the color outline of the hardware, taking a datum point in the image information of the hardware as a reference point, and obtaining coordinates of an outline track of the color outline of the hardware to obtain coordinates of the outline track of the color outline;
and according to a plurality of groups of colors in the color partition map, integrating data by combining with the contour track coordinates of the color contour map of the plurality of groups of colors, and obtaining the edge track information of each color partition contour in the color partition map of the hardware.
7. The method for generating a dispensing path based on image processing according to claim 6, wherein the method for generating dispensing track information of a same color area in a hardware color partition map further comprises:
acquiring coordinate information of the same color area according to the edge track information of each color subarea outline in the hardware color subarea graph;
data integration is carried out on the coordinate information of the same color area in the hardware color partition diagram, and dispensing track information of the same color area in the hardware color partition diagram is obtained;
according to the dispensing track information of the same color area in the hardware color partition chart, and combining the design information of the hardware, selecting a corresponding dispensing head;
and according to the dispensing track information of the same color area in the hardware color partition chart, performing dispensing operation by using the corresponding dispensing heads.
8. The method for generating a dispensing path based on image processing according to claim 7, wherein the method for performing the dispensing operation by using the corresponding dispensing head comprises:
according to the design information of the hardware, the size of the dispensing type of the same color area is obtained, and the number of dispensing heads with different sizes of the same color area is determined;
according to the dispensing track information of the same color area in the hardware color partition chart, and combining the dispensing type and the dispensing size of the same color area, respectively determining the dispensing working points of dispensing heads with different sizes;
according to the coordinate information in the hardware color partition map, judging the point positions of the same type of dispensing heads, which need to be subjected to dispensing, so as to obtain dispensing opening and closing information of the dispensing heads;
and according to the dispensing opening and closing information of the dispensing head, and combining the dispensing track information of the same color area in the hardware color partition chart, performing dispensing operation by using the dispensing head.
9. The method for generating a dispensing path based on image processing as claimed in claim 8, wherein the method for obtaining dispensing opening and closing information of the dispensing head comprises:
taking each coordinate point in the coordinate information in the hardware color partition map as a filling unit to obtain all filling units in the hardware color partition map;
any filling unit is selected as a dispensing starting point, and color information and coordinate information of the dispensing starting point are obtained at the same time;
according to the design information of hardware, pre-dispensing points with the same color of a dispensing starting point are obtained;
and judging whether the glue head of the spot is opened or closed according to the coordinate information of the pre-dispensing spot and the coordinate information of the dispensing starting point.
10. A computer storage medium having stored thereon a computer program, wherein the program when executed by a processor implements a method of generating a dispensing path based on image processing as claimed in any of claims 3-9.
CN202311490141.1A 2023-11-10 2023-11-10 Dispensing path generation system, method and storage medium based on image processing Active CN117237337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311490141.1A CN117237337B (en) 2023-11-10 2023-11-10 Dispensing path generation system, method and storage medium based on image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311490141.1A CN117237337B (en) 2023-11-10 2023-11-10 Dispensing path generation system, method and storage medium based on image processing

Publications (2)

Publication Number Publication Date
CN117237337A true CN117237337A (en) 2023-12-15
CN117237337B CN117237337B (en) 2024-03-19

Family

ID=89098542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311490141.1A Active CN117237337B (en) 2023-11-10 2023-11-10 Dispensing path generation system, method and storage medium based on image processing

Country Status (1)

Country Link
CN (1) CN117237337B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134061A (en) * 2019-04-08 2019-08-16 珠海诚锋电子科技有限公司 A kind of automatically dropping glue method and device based on machine vision
CN113198692A (en) * 2021-05-19 2021-08-03 飓蜂科技(苏州)有限公司 High-precision dispensing method and device suitable for batch products
CN113284191A (en) * 2021-06-10 2021-08-20 广东奥普特科技股份有限公司 Dispensing method, system, equipment and storage medium based on visual guidance
KR20220160912A (en) * 2021-05-28 2022-12-06 주식회사 엠브이솔루션 Apparatus for dispensing path estimation using image analysis
CN115463805A (en) * 2022-08-04 2022-12-13 东莞市慧视智能科技有限公司 Dispensing method and dispensing system based on dispensing path
CN115471451A (en) * 2022-08-04 2022-12-13 东莞市慧视智能科技有限公司 Dispensing system based on dispensing path
WO2023010633A1 (en) * 2021-08-03 2023-02-09 武汉华星光电技术有限公司 Dispensing method for display panel and dispensing device for display panel
CN115731297A (en) * 2021-08-25 2023-03-03 深圳群宾精密工业有限公司 Method and device for guiding dispensing, computer equipment and storage medium
CN116943979A (en) * 2023-07-31 2023-10-27 苏州福斯特万电子科技有限公司 Dispensing track generation method, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134061A (en) * 2019-04-08 2019-08-16 珠海诚锋电子科技有限公司 A kind of automatically dropping glue method and device based on machine vision
CN113198692A (en) * 2021-05-19 2021-08-03 飓蜂科技(苏州)有限公司 High-precision dispensing method and device suitable for batch products
KR20220160912A (en) * 2021-05-28 2022-12-06 주식회사 엠브이솔루션 Apparatus for dispensing path estimation using image analysis
CN113284191A (en) * 2021-06-10 2021-08-20 广东奥普特科技股份有限公司 Dispensing method, system, equipment and storage medium based on visual guidance
WO2023010633A1 (en) * 2021-08-03 2023-02-09 武汉华星光电技术有限公司 Dispensing method for display panel and dispensing device for display panel
CN115731297A (en) * 2021-08-25 2023-03-03 深圳群宾精密工业有限公司 Method and device for guiding dispensing, computer equipment and storage medium
CN115463805A (en) * 2022-08-04 2022-12-13 东莞市慧视智能科技有限公司 Dispensing method and dispensing system based on dispensing path
CN115471451A (en) * 2022-08-04 2022-12-13 东莞市慧视智能科技有限公司 Dispensing system based on dispensing path
CN116943979A (en) * 2023-07-31 2023-10-27 苏州福斯特万电子科技有限公司 Dispensing track generation method, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张宽 等: "基于工件自动识别的视觉点胶系统研究", 组合机床与自动化加工技术, no. 07, pages 48 - 52 *

Also Published As

Publication number Publication date
CN117237337B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
CN108932736A (en) Two-dimensional laser radar Processing Method of Point-clouds and dynamic robot pose calibration method
CN102135417B (en) Full-automatic three-dimension characteristic extracting method
CN102062587B (en) Laser sensor-based method for determining poses of multiple mobile robots
CN110202573B (en) Full-automatic hand-eye calibration and working plane calibration method and device
EP0898247A2 (en) Method of synthesizing measurement data of free-form surface
CN106799745A (en) A kind of industrial machinery arm precision calibration method based on collocating kriging
JP2004213332A (en) Calibration device, calibration method, program for calibration, and calibration mending tool
CN111805051A (en) Groove cutting method, device, electronic equipment and system
CN106202742B (en) A kind of method and device that dimensional chain for assembly generates
CN103324804B (en) Aircraft structure inside compresses boss automatic generation method
US8255077B2 (en) Apparatus, method and program for creating tool reference plane
CN110440761B (en) Processing method of aerial photogrammetry data of unmanned aerial vehicle
CN104567893B (en) A kind of method and apparatus for building fine map
US20180374237A1 (en) Method, system and apparatus for determining a pose for an object
CN106056121A (en) Satellite assembly workpiece fast-identification method based on SIFT image feature matching
CN110120081B (en) Method, device and storage equipment for generating lane markings of electronic map
CN106403873A (en) Method for establishing workpiece measurement coordinate system based on curved surface benchmark
WO2021103558A1 (en) Rgb-d data fusion-based robot vision guiding method and apparatus
CN109559347A (en) Object identifying method, device, system and storage medium
CN117237337B (en) Dispensing path generation system, method and storage medium based on image processing
CN110081862A (en) A kind of localization method of object, positioning device, electronic equipment and can storage medium
CN104525668B (en) Shape method adjusted by the drift of a kind of multi-point forming processing curve
WO2021051361A1 (en) High-precision map positioning method and system, platform and computer-readable storage medium
CN111899277A (en) Moving object detection method and device, storage medium and electronic device
CN113781639B (en) Quick construction method for digital model of large-scene road infrastructure

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