[go: up one dir, main page]

CN117724665B - Line scanning visual positioning UV printing system and image processing method thereof - Google Patents

Line scanning visual positioning UV printing system and image processing method thereof Download PDF

Info

Publication number
CN117724665B
CN117724665B CN202311547648.6A CN202311547648A CN117724665B CN 117724665 B CN117724665 B CN 117724665B CN 202311547648 A CN202311547648 A CN 202311547648A CN 117724665 B CN117724665 B CN 117724665B
Authority
CN
China
Prior art keywords
image
printed
line
printing
unit
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
CN202311547648.6A
Other languages
Chinese (zh)
Other versions
CN117724665A (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 Zhongzhi Vision Technology Co ltd
Original Assignee
Shenzhen Zhongzhi Vision 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 Shenzhen Zhongzhi Vision Technology Co ltd filed Critical Shenzhen Zhongzhi Vision Technology Co ltd
Priority to CN202311547648.6A priority Critical patent/CN117724665B/en
Publication of CN117724665A publication Critical patent/CN117724665A/en
Application granted granted Critical
Publication of CN117724665B publication Critical patent/CN117724665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention provides a line scanning visual positioning UV printing system and an image processing method thereof, wherein the line scanning visual positioning UV printing system comprises: the device configuration module is used for configuring the image acquisition device, the image processing device and the visual positioning UV printing device; the image acquisition module is used for acquiring an original image of a target to be printed by using image acquisition equipment; the image processing module is used for processing the original image by utilizing the image processing equipment to generate image data to be printed; and the printing execution module is used for printing and generating a target image of a target to be printed according to the image data to be printed by utilizing the visual positioning UV printing equipment. According to the invention, the line scanning camera is combined with the visual positioning UV printing equipment to construct the image printing system and process the original image of the target to be printed, so that the image processing and printing quality is improved, and the high-requirement image processing requirement can be met.

Description

一种线扫视觉定位UV打印系统及其图像处理方法A line scanning vision positioning UV printing system and image processing method thereof

技术领域Technical Field

本发明涉及图像打印处理技术领域,尤其涉及一种线扫视觉定位UV打印系统及其图像处理方法。The present invention relates to the technical field of image printing and processing, and in particular to a line scanning vision positioning UV printing system and an image processing method thereof.

背景技术Background Art

UV打印机(Ultraviolet LED Inkjet Printer)是一种高科技的免制版全彩色数码印刷机,不受材料限制,可以在T恤、移门、柜门、推拉门、玻璃、板材、各种标牌、水晶、PVC、亚克力、金属、塑料、石材、皮革等表面进行彩色照片级印刷,无需制版一次印刷完成,操作简单方便,印刷图像速度快;普通的UV打印机在打印产品的时候,需要先在电脑上排版,提前打印好定位框,再把产品放置在定位款内,才能实现单个产品打印或者是批量产品的打印;视觉定位UV打印机在打印产品时,不需要打印产品定位框,就可以精准打印产品;UV printer (Ultraviolet LED Inkjet Printer) is a high-tech full-color digital printing machine without plate making. It is not limited by materials and can perform color photo-level printing on T-shirts, sliding doors, cabinet doors, sliding doors, glass, plates, various signs, crystal, PVC, acrylic, metal, plastic, stone, leather and other surfaces. It can complete printing in one time without plate making. It is simple and convenient to operate and print images quickly. When printing products, ordinary UV printers need to typeset on the computer first, print the positioning frame in advance, and then place the product in the positioning frame to realize single product printing or batch product printing. When printing products, visual positioning UV printers do not need to print product positioning frames, and can accurately print products.

在仓储物流、汽车制造、3C电子、锂电新能源等行业,基于2D、3D机器视觉检测的应用越来越普遍,尤其是在大型部件、片材、圆柱型工件外观检测过程中,对工件测量、质量检查、目标定位、缺陷检测的检测要求较高,传统的相机获取图像的精度不够高,使得对图像中的细微缺陷的分辨缺乏准确性;线扫相机可以稳定检测抽取的细微缺陷,并广泛应用在机器视觉应用方案中;In the warehousing and logistics, automobile manufacturing, 3C electronics, lithium battery and new energy industries, the application of 2D and 3D machine vision inspection is becoming more and more common, especially in the appearance inspection process of large parts, sheets and cylindrical workpieces. The inspection requirements for workpiece measurement, quality inspection, target positioning and defect detection are high. The accuracy of traditional cameras in acquiring images is not high enough, which makes the resolution of subtle defects in the image lack of accuracy. Line scan cameras can stably detect extracted subtle defects and are widely used in machine vision application solutions.

因此,有必要提供一种线扫视觉定位UV打印系统及其图像处理方法。Therefore, it is necessary to provide a line scanning vision positioning UV printing system and an image processing method thereof.

发明内容Summary of the invention

本发明提供了一种线扫视觉定位UV打印系统及其图像处理方法,通过利用线扫相机结合视觉定位UV打印设备,构建图像打印系统,并对待打印目标的原始图像进行处理,提高了图像处理和打印的质量,可满足高要求的图像处理需求。The present invention provides a line scan vision positioning UV printing system and an image processing method thereof. By utilizing a line scan camera in combination with a vision positioning UV printing device, an image printing system is constructed, and the original image of a target to be printed is processed, thereby improving the quality of image processing and printing, and meeting high-demand image processing requirements.

本发明提供了一种线扫视觉定位UV打印系统,包括:The present invention provides a line scanning visual positioning UV printing system, comprising:

设备配置模块,用于配置图像获取设备、图像处理设备和视觉定位UV打印设备;Equipment configuration module, used to configure image acquisition equipment, image processing equipment and visual positioning UV printing equipment;

图像获取模块,用于利用图像获取设备,获取待打印目标的原始图像;An image acquisition module is used to acquire an original image of a target to be printed using an image acquisition device;

图像处理模块,用于利用图像处理设备,将原始图像处理生成待打印图像数据;An image processing module, used to process the original image using an image processing device to generate image data to be printed;

打印执行模块,用于利用视觉定位UV打印设备,根据待打印图像数据,打印生成待打印目标的目标图像。The printing execution module is used to utilize visual positioning of the UV printing device to print and generate a target image of the target to be printed according to the image data to be printed.

进一步地,设备配置模块包括图像获取设备配置单元、图像处理设备配置单元、打印设备配置单元和设备连接单元;Further, the device configuration module includes an image acquisition device configuration unit, an image processing device configuration unit, a printing device configuration unit and a device connection unit;

图像获取设备配置单元,用于将线扫相机配置为图像获取设备;An image acquisition device configuration unit, used to configure the line scan camera as an image acquisition device;

图像处理设备配置单元,用于将视觉控制器配置为图像处理设备;视觉控制器包括处理器和若干个扩展接口;An image processing device configuration unit, used to configure the visual controller as an image processing device; the visual controller includes a processor and a plurality of expansion interfaces;

打印设备配置单元,用于将视觉定位UV打印机配置为视觉定位UV打印设备;A printing device configuration unit, used for configuring the visual positioning UV printer as a visual positioning UV printing device;

设备连接单元,用于利用扩展接口,将线扫相机和视觉定位UV打印机分别与视觉控制器连接。The device connection unit is used to connect the line scan camera and the visual positioning UV printer to the visual controller respectively by using the expansion interface.

进一步地,图像获取模块包括图像获取信号设置单元、图像获取执行单元和图像获取调整单元;Further, the image acquisition module includes an image acquisition signal setting unit, an image acquisition execution unit and an image acquisition adjustment unit;

图像获取信号设置单元,用于基于处理器,预设基准图像;获取基准图像中的行图像和帧图像,并设置行图像与行触发信号的第一匹配数据对,设置帧图像与帧触发信号的第二匹配数据对;基于第一匹配数据对和第二匹配数据对,获得用于图像获取的行触发信号和帧触发信号;An image acquisition signal setting unit is used to preset a reference image based on a processor; acquire a row image and a frame image in the reference image, and set a first matching data pair between the row image and the row trigger signal, and set a second matching data pair between the frame image and the frame trigger signal; based on the first matching data pair and the second matching data pair, obtain a row trigger signal and a frame trigger signal for image acquisition;

图像获取执行单元,用于基于处理器将行触发信号和帧触发信号发送至线扫相机,由线扫相机进行图像采集,获得待打印目标的第一原始图像;An image acquisition execution unit, configured to send a line trigger signal and a frame trigger signal to a line scan camera based on a processor, so that the line scan camera performs image acquisition to obtain a first original image of a target to be printed;

图像获取调整单元,用于获取第一原始图像的行图像和帧图像,比较第一原始图像的行图像和帧图像与基准图像的行图像和帧图像的像素点数量值,获得若干个行图像像素点数量差值和帧图像像素点数量差值;若行图像像素点数量差值或帧图像像素点数量差值大于预设的差值阈值,则按照预设的调整频率幅度,调整行触发信号和帧触发信号的发射频率幅度,生成第一行触发信号和第一帧触发信号,将第一行触发信号和第一帧触发信号发送至线扫相机,再次进行图像采集,并再次进行像素点数量差值比较,当行图像像素点数量差值和帧图像像素点数量差值均小于预设的差值阈值时,生成待打印目标的原始图像。An image acquisition adjustment unit is used to acquire a row image and a frame image of a first original image, compare the row image and the frame image of the first original image with the row image and the frame image of a reference image in terms of the number of pixel points, and obtain a plurality of row image pixel point difference values and frame image pixel point difference values; if the row image pixel point difference value or the frame image pixel point difference value is greater than a preset difference threshold, the emission frequency amplitude of the row trigger signal and the frame trigger signal is adjusted according to a preset adjustment frequency amplitude, a first row trigger signal and a first frame trigger signal are generated, the first row trigger signal and the first frame trigger signal are sent to a line scan camera, image acquisition is performed again, and pixel point difference comparison is performed again; when the row image pixel point difference value and the frame image pixel point difference value are both less than the preset difference threshold value, an original image of the target to be printed is generated.

进一步地,图像处理模块包括图像导入单元、图像编辑单元和待打印图像数据生成单元;Further, the image processing module includes an image importing unit, an image editing unit and a to-be-printed image data generating unit;

图像导入单元,用于基于视觉控制器中的机器视觉软件,将原始图像读取导入视觉控制器;An image import unit, used for reading and importing the original image into the vision controller based on the machine vision software in the vision controller;

图像编辑单元,用于基于视觉控制器中的机器视觉软件,对原始图像进行编辑处理,生成待处理图像;An image editing unit, used for editing the original image based on the machine vision software in the vision controller to generate an image to be processed;

待打印图像数据生成单元,用于根据待处理图像,生成待打印图像数据。The to-be-printed image data generating unit is used to generate the to-be-printed image data according to the to-be-processed image.

进一步地,图像编辑单元包括图像检测识别子单元和图像内容项测量子单元;Further, the image editing unit includes an image detection and recognition subunit and an image content item measurement subunit;

图像检测识别子单元,用于基于预设的图像模板对原始图像进行匹配,并根据机器视觉软件中的检测识别算法进行检测识别,获得检测识别图像;The image detection and recognition subunit is used to match the original image based on a preset image template, and to perform detection and recognition according to the detection and recognition algorithm in the machine vision software to obtain a detection and recognition image;

图像内容项测量子单元,用于对检测识别图像的预设内容项进行几何量的测量,获得若干个测量数据,并根据测量数据生成待打印图像数据。The image content item measurement subunit is used to measure the geometric quantities of the preset content items of the detected and recognized image, obtain a number of measurement data, and generate image data to be printed according to the measurement data.

进一步地,图像检测识别子单元包括匹配图像确定分子单元、匹配图像分析分子单元和匹配图像测量实施分子单元;Further, the image detection and recognition subunit includes a matching image determination molecular unit, a matching image analysis molecular unit and a matching image measurement implementation molecular unit;

匹配图像确定分子单元,用于基于预设的图像模板,对原始图像进行模板匹配,获得若干个局部匹配图像;The matching image determination molecular unit is used to perform template matching on the original image based on a preset image template to obtain a number of local matching images;

匹配图像分析分子单元,用于基于聚类算法,对局部匹配图像进行聚类分析,获得若干个聚类图像集;聚类图像集包括若干个局部匹配图像;The matching image analysis molecular unit is used to perform cluster analysis on the local matching image based on the clustering algorithm to obtain a number of cluster image sets; the cluster image set includes a number of local matching images;

匹配图像测量实施分子单元,用于基于AI检索程序,在预设的测量算法库中,调用适用于聚类图像集的检测识别算法,实现对聚类图像集中的局部匹配图像的单次或多次的检测识别,根据检测识别结果,生成检测识别图像。The matching image measurement implementation molecular unit is used to call the detection and recognition algorithm suitable for the clustered image set in the preset measurement algorithm library based on the AI retrieval program, to realize single or multiple detection and recognition of the local matching images in the clustered image set, and to generate a detection and recognition image according to the detection and recognition results.

进一步地,图像内容项测量子单元包括待打印像素数据获取分子单元和待打印图像数据生成分子单元;Further, the image content item measurement subunit includes a to-be-printed pixel data acquisition molecular unit and a to-be-printed image data generation molecular unit;

待打印像素数据获取分子单元,用于基于预设的测量数据与待打印像素数据的匹配库,获取与测量数据相匹配的待打印像素数据;A pixel data acquisition unit for to-be-printed is used to acquire pixel data for to-be-printed that matches the measurement data based on a preset matching library of measurement data and pixel data for to-be-printed;

待打印图像数据生成分子单元,用于提取待打印像素数据中的像素,并基于预设的像素与图像强度值的匹配对应关系,获得若干个图像强度值,基于图像强度值的大小顺序和占比分布,生成待打印图像数据的生成顺序,根据生成顺序,结合待打印像素数据,生成待打印图像数据。The molecular unit for generating image data to be printed is used to extract pixels from the pixel data to be printed, and obtain a number of image intensity values based on a preset matching correspondence between pixels and image intensity values, and generate a generation order of the image data to be printed based on the size order and proportion distribution of the image intensity values. According to the generation order, the image data to be printed is generated in combination with the pixel data to be printed.

进一步地,打印执行模块包括打印命令生成单元和打印操作执行单元;Further, the print execution module includes a print command generation unit and a print operation execution unit;

打印命令生成单元,用于基于图像处理设备,生成打印命令;A print command generating unit, used for generating a print command based on an image processing device;

打印操作执行单元,用于基于视觉定位UV打印设备,接收打印命令和待打印图像数据,打印生成待打印目标的目标图像。The printing operation execution unit is used to visually locate the UV printing device, receive the printing command and the image data to be printed, and print and generate the target image of the target to be printed.

进一步地,还包括图像打印管理模块,用于基于微服务技术,构建图像打印管理平台,并应用于图像打印管理;图像打印管理模块包括图像打印管理平台设置单元和图像打印管理单元;Furthermore, it also includes an image printing management module, which is used to build an image printing management platform based on microservice technology and applied to image printing management; the image printing management module includes an image printing management platform setting unit and an image printing management unit;

图像打印管理平台设置单元,用于基于视觉控制器与云平台构建图像打印管理平台,并基于微服务架构,设置图像数据存储微服务和图像数据访问微服务,并设置若干个微服务用户端,以及设置微服务用户端的对目标图像的打印使用权限;An image printing management platform setting unit is used to build an image printing management platform based on the visual controller and the cloud platform, and to set an image data storage microservice and an image data access microservice based on the microservice architecture, and to set a number of microservice client terminals, and to set the printing and use rights of the microservice client terminals to the target image;

图像打印管理单元,用于基于图像打印管理平台,管理微服务用户端对目标图像的打印使用。The image printing management unit is used to manage the printing and use of the target image by the microservice client based on the image printing management platform.

本发明提供了一种图像处理方法,包括:The present invention provides an image processing method, comprising:

S1:配置图像获取设备、图像处理设备和视觉定位UV打印设备;S1: Configure image acquisition equipment, image processing equipment and visual positioning UV printing equipment;

S2:利用图像获取设备,获取待打印目标的原始图像;S2: using an image acquisition device to acquire an original image of the target to be printed;

S3:利用图像处理设备,将原始图像处理生成待打印图像数据;S3: Using an image processing device to process the original image to generate image data to be printed;

S4:利用视觉定位UV打印设备,根据待打印图像数据,打印生成待打印目标的目标图像。S4: Using visual positioning UV printing equipment, according to the image data to be printed, print and generate a target image of the target to be printed.

本发明与现有技术相比,具有如下的优点和有益效果:通过利用线扫相机结合视觉定位UV打印设备,构建图像打印系统,并对待打印目标的原始图像进行处理,提高了图像处理和打印的质量,可满足高要求的图像处理需求。Compared with the prior art, the present invention has the following advantages and beneficial effects: by utilizing a line scan camera in combination with a visual positioning UV printing device, an image printing system is constructed, and the original image of the target to be printed is processed, thereby improving the quality of image processing and printing, and meeting high-demand image processing requirements.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

图1为一种线扫视觉定位UV打印系统结构示意图;FIG1 is a schematic diagram of the structure of a line scanning vision positioning UV printing system;

图2为一种线扫视觉定位UV打印系统设备配置模块的结构示意图;FIG2 is a schematic diagram of a configuration module of a line scanning vision positioning UV printing system;

图3为一种图像处理方法的方法步骤示意图。FIG. 3 is a schematic diagram of method steps of an image processing method.

具体实施方式DETAILED DESCRIPTION

以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

本发明提供了一种线扫视觉定位UV打印系统,如图1所示,包括:The present invention provides a line scanning visual positioning UV printing system, as shown in FIG1 , comprising:

设备配置模块,用于配置图像获取设备、图像处理设备和视觉定位UV打印设备;Equipment configuration module, used to configure image acquisition equipment, image processing equipment and visual positioning UV printing equipment;

图像获取模块,用于利用图像获取设备,获取待打印目标的原始图像;An image acquisition module is used to acquire an original image of a target to be printed using an image acquisition device;

图像处理模块,用于利用图像处理设备,将原始图像处理生成待打印图像数据;An image processing module, used to process the original image using an image processing device to generate image data to be printed;

打印执行模块,用于利用视觉定位UV打印设备,根据待打印图像数据,打印生成待打印目标的目标图像。The printing execution module is used to utilize visual positioning of the UV printing device to print and generate a target image of the target to be printed according to the image data to be printed.

上述技术方案的工作原理为:设备配置模块,用于配置图像获取设备、图像处理设备和视觉定位UV打印设备;The working principle of the above technical solution is as follows: the equipment configuration module is used to configure the image acquisition equipment, the image processing equipment and the visual positioning UV printing equipment;

图像获取模块,用于利用图像获取设备,获取待打印目标的原始图像;An image acquisition module is used to acquire an original image of a target to be printed using an image acquisition device;

图像处理模块,用于利用图像处理设备,将原始图像处理生成待打印图像数据;An image processing module, used to process the original image using an image processing device to generate image data to be printed;

打印执行模块,用于利用视觉定位UV打印设备,根据待打印图像数据,打印生成待打印目标的目标图像。The printing execution module is used to utilize visual positioning of the UV printing device to print and generate a target image of the target to be printed according to the image data to be printed.

上述技术方案的有益效果为:采用本实施例提供的方案,通过利用线扫相机结合视觉定位UV打印设备,构建图像打印系统,并对待打印目标的原始图像进行处理,提高了图像处理和打印的质量,可满足高要求的图像处理需求。The beneficial effects of the above technical solution are: by adopting the solution provided in this embodiment, an image printing system is constructed by using a line scan camera combined with a visual positioning UV printing device, and the original image of the target to be printed is processed, thereby improving the quality of image processing and printing, and meeting high-demand image processing requirements.

在一个实施例中,如图2所示,设备配置模块包括图像获取设备配置单元、图像处理设备配置单元、打印设备配置单元和设备连接单元;In one embodiment, as shown in FIG2 , the device configuration module includes an image acquisition device configuration unit, an image processing device configuration unit, a printing device configuration unit, and a device connection unit;

图像获取设备配置单元,用于将线扫相机配置为图像获取设备;An image acquisition device configuration unit, used to configure the line scan camera as an image acquisition device;

图像处理设备配置单元,用于将视觉控制器配置为图像处理设备;视觉控制器包括处理器和若干个扩展接口;An image processing device configuration unit, used to configure the visual controller as an image processing device; the visual controller includes a processor and a plurality of expansion interfaces;

打印设备配置单元,用于将视觉定位UV打印机配置为视觉定位UV打印设备;A printing device configuration unit, used for configuring the visual positioning UV printer as a visual positioning UV printing device;

设备连接单元,用于利用扩展接口,将线扫相机和视觉定位UV打印机分别与视觉控制器连接。The device connection unit is used to connect the line scan camera and the visual positioning UV printer to the visual controller respectively by using the expansion interface.

上述技术方案的工作原理为:设备配置模块包括图像获取设备配置单元、图像处理设备配置单元、打印设备配置单元和设备连接单元;The working principle of the above technical solution is as follows: the device configuration module includes an image acquisition device configuration unit, an image processing device configuration unit, a printing device configuration unit and a device connection unit;

图像获取设备配置单元,用于将线扫相机配置为图像获取设备;An image acquisition device configuration unit, used to configure the line scan camera as an image acquisition device;

图像处理设备配置单元,用于将视觉控制器配置为图像处理设备;视觉控制器包括处理器和若干个扩展接口;An image processing device configuration unit, used to configure the visual controller as an image processing device; the visual controller includes a processor and a plurality of expansion interfaces;

打印设备配置单元,用于将视觉定位UV打印机配置为视觉定位UV打印设备;A printing device configuration unit, used for configuring the visual positioning UV printer as a visual positioning UV printing device;

设备连接单元,用于利用扩展接口,将线扫相机和视觉定位UV打印机分别与视觉控制器连接。The device connection unit is used to connect the line scan camera and the visual positioning UV printer to the visual controller respectively by using the expansion interface.

上述技术方案的有益效果为:采用本实施例提供的方案,通过配置具体的图像获取设备、图像处理设备和打印设备,可保证打印系统的硬件设备的齐全完备。The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, by configuring specific image acquisition equipment, image processing equipment and printing equipment, it can be ensured that the hardware equipment of the printing system is complete.

在一个实施例中,图像获取模块包括图像获取信号设置单元、图像获取执行单元和图像获取调整单元;In one embodiment, the image acquisition module includes an image acquisition signal setting unit, an image acquisition execution unit, and an image acquisition adjustment unit;

图像获取信号设置单元,用于基于处理器,预设基准图像;获取基准图像中的行图像和帧图像,并设置行图像与行触发信号的第一匹配数据对,设置帧图像与帧触发信号的第二匹配数据对;基于第一匹配数据对和第二匹配数据对,获得用于图像获取的行触发信号和帧触发信号;An image acquisition signal setting unit is used to preset a reference image based on a processor; acquire a row image and a frame image in the reference image, and set a first matching data pair between the row image and the row trigger signal, and set a second matching data pair between the frame image and the frame trigger signal; based on the first matching data pair and the second matching data pair, obtain a row trigger signal and a frame trigger signal for image acquisition;

图像获取执行单元,用于基于处理器将行触发信号和帧触发信号发送至线扫相机,由线扫相机进行图像采集,获得待打印目标的第一原始图像;An image acquisition execution unit, configured to send a line trigger signal and a frame trigger signal to a line scan camera based on a processor, so that the line scan camera performs image acquisition to obtain a first original image of a target to be printed;

图像获取调整单元,用于获取第一原始图像的行图像和帧图像,比较第一原始图像的行图像和帧图像与基准图像的行图像和帧图像的像素点数量值,获得若干个行图像像素点数量差值和帧图像像素点数量差值;若行图像像素点数量差值或帧图像像素点数量差值大于预设的差值阈值,则按照预设的调整频率幅度,调整行触发信号和帧触发信号的发射频率幅度,生成第一行触发信号和第一帧触发信号,将第一行触发信号和第一帧触发信号发送至线扫相机,再次进行图像采集,并再次进行像素点数量差值比较,当行图像像素点数量差值和帧图像像素点数量差值均小于预设的差值阈值时,生成待打印目标的原始图像。An image acquisition adjustment unit is used to acquire a row image and a frame image of a first original image, compare the row image and the frame image of the first original image with the row image and the frame image of a reference image in terms of the number of pixel points, and obtain a plurality of row image pixel point difference values and frame image pixel point difference values; if the row image pixel point difference value or the frame image pixel point difference value is greater than a preset difference threshold, the emission frequency amplitude of the row trigger signal and the frame trigger signal is adjusted according to a preset adjustment frequency amplitude, a first row trigger signal and a first frame trigger signal are generated, the first row trigger signal and the first frame trigger signal are sent to a line scan camera, image acquisition is performed again, and pixel point difference comparison is performed again; when the row image pixel point difference value and the frame image pixel point difference value are both less than the preset difference threshold value, an original image of the target to be printed is generated.

上述技术方案的工作原理为:图像获取模块包括图像获取信号设置单元、图像获取执行单元和图像获取调整单元;The working principle of the above technical solution is as follows: the image acquisition module includes an image acquisition signal setting unit, an image acquisition execution unit and an image acquisition adjustment unit;

图像获取信号设置单元,用于基于处理器,预设基准图像;获取基准图像中的行图像和帧图像,并设置行图像与行触发信号的第一匹配数据对,设置帧图像与帧触发信号的第二匹配数据对;基于第一匹配数据对和第二匹配数据对,获得用于图像获取的行触发信号和帧触发信号;An image acquisition signal setting unit is used to preset a reference image based on a processor; acquire a row image and a frame image in the reference image, and set a first matching data pair between the row image and the row trigger signal, and set a second matching data pair between the frame image and the frame trigger signal; based on the first matching data pair and the second matching data pair, obtain a row trigger signal and a frame trigger signal for image acquisition;

图像获取执行单元,用于基于处理器将行触发信号和帧触发信号发送至线扫相机,由线扫相机进行图像采集,获得待打印目标的第一原始图像;An image acquisition execution unit, configured to send a line trigger signal and a frame trigger signal to a line scan camera based on a processor, so that the line scan camera performs image acquisition to obtain a first original image of a target to be printed;

图像获取调整单元,用于获取第一原始图像的行图像和帧图像,比较第一原始图像的行图像和帧图像与基准图像的行图像和帧图像的像素点数量值,获得若干个行图像像素点数量差值和帧图像像素点数量差值;若行图像像素点数量差值或帧图像像素点数量差值大于预设的差值阈值,则按照预设的调整频率幅度,调整行触发信号和帧触发信号的发射频率幅度,生成第一行触发信号和第一帧触发信号,将第一行触发信号和第一帧触发信号发送至线扫相机,再次进行图像采集,并再次进行像素点数量差值比较,当行图像像素点数量差值和帧图像像素点数量差值均小于预设的差值阈值时,生成待打印目标的原始图像。An image acquisition adjustment unit is used to acquire a row image and a frame image of a first original image, compare the row image and the frame image of the first original image with the row image and the frame image of a reference image in terms of the number of pixel points, and obtain a plurality of row image pixel point difference values and frame image pixel point difference values; if the row image pixel point difference value or the frame image pixel point difference value is greater than a preset difference threshold, the emission frequency amplitude of the row trigger signal and the frame trigger signal is adjusted according to a preset adjustment frequency amplitude, a first row trigger signal and a first frame trigger signal are generated, the first row trigger signal and the first frame trigger signal are sent to a line scan camera, image acquisition is performed again, and pixel point difference comparison is performed again; when the row image pixel point difference value and the frame image pixel point difference value are both less than the preset difference threshold value, an original image of the target to be printed is generated.

上述技术方案的有益效果为:采用本实施例提供的方案,通过对原始图像获取信号的设置、图像获取的执行以及图像获取的调整,可保证原始图像获取的质量。The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, the quality of the original image acquisition can be guaranteed by setting the original image acquisition signal, executing the image acquisition and adjusting the image acquisition.

在一个实施例中,图像处理模块包括图像导入单元、图像编辑单元和待打印图像数据生成单元;In one embodiment, the image processing module includes an image importing unit, an image editing unit, and a to-be-printed image data generating unit;

图像导入单元,用于基于视觉控制器中的机器视觉软件,将原始图像读取导入视觉控制器;An image import unit, used for reading and importing the original image into the vision controller based on the machine vision software in the vision controller;

图像编辑单元,用于基于视觉控制器中的机器视觉软件,对原始图像进行编辑处理,生成待处理图像;An image editing unit, used for editing the original image based on the machine vision software in the vision controller to generate an image to be processed;

待打印图像数据生成单元,用于根据待处理图像,生成待打印图像数据。The to-be-printed image data generating unit is used to generate the to-be-printed image data according to the to-be-processed image.

上述技术方案的工作原理为:图像处理模块包括图像导入单元、图像编辑单元和待打印图像数据生成单元;The working principle of the above technical solution is as follows: the image processing module includes an image import unit, an image editing unit and a unit for generating image data to be printed;

图像导入单元,用于基于视觉控制器中的机器视觉软件,将原始图像读取导入视觉控制器;An image import unit, used for reading and importing the original image into the vision controller based on the machine vision software in the vision controller;

图像编辑单元,用于基于视觉控制器中的机器视觉软件,对原始图像进行编辑处理,生成待处理图像;An image editing unit, used for editing the original image based on the machine vision software in the vision controller to generate an image to be processed;

待打印图像数据生成单元,用于根据待处理图像,生成待打印图像数据。The to-be-printed image data generating unit is used to generate the to-be-printed image data according to the to-be-processed image.

上述技术方案的有益效果为:采用本实施例提供的方案,通过对图像的编辑处理,可保证将原始图像转换为待打印图像数据,为后续的打印提供必备条件。The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, through the editing and processing of the image, it is possible to ensure that the original image is converted into image data to be printed, thereby providing the necessary conditions for subsequent printing.

在一个实施例中,图像编辑单元包括图像检测识别子单元和图像内容项测量子单元;In one embodiment, the image editing unit includes an image detection and recognition subunit and an image content item measurement subunit;

图像检测识别子单元,用于基于预设的图像模板对原始图像进行匹配,并根据机器视觉软件中的检测识别算法进行检测识别,获得检测识别图像;The image detection and recognition subunit is used to match the original image based on a preset image template, and to perform detection and recognition according to the detection and recognition algorithm in the machine vision software to obtain a detection and recognition image;

图像内容项测量子单元,用于对检测识别图像的预设内容项进行几何量的测量,获得若干个测量数据,并根据测量数据生成待打印图像数据。The image content item measurement subunit is used to measure the geometric quantities of the preset content items of the detected and recognized image, obtain a number of measurement data, and generate image data to be printed according to the measurement data.

上述技术方案的工作原理为:图像编辑单元包括图像检测识别子单元和图像内容项测量子单元;The working principle of the above technical solution is as follows: the image editing unit includes an image detection and recognition subunit and an image content item measurement subunit;

图像检测识别子单元,用于基于预设的图像模板对原始图像进行匹配,并根据机器视觉软件中的检测识别算法进行检测识别,获得检测识别图像;The image detection and recognition subunit is used to match the original image based on a preset image template, and to perform detection and recognition according to the detection and recognition algorithm in the machine vision software to obtain a detection and recognition image;

图像内容项测量子单元,用于对检测识别图像的预设内容项进行几何量的测量,获得若干个测量数据,并根据测量数据生成待打印图像数据。The image content item measurement subunit is used to measure the geometric quantities of the preset content items of the detected and recognized image, obtain a number of measurement data, and generate image data to be printed according to the measurement data.

上述技术方案的有益效果为:采用本实施例提供的方案,通过对图像的检测识别和内容项测量,可保证获得准确的待打印图像数据。The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, accurate image data to be printed can be obtained through detection and recognition of the image and measurement of content items.

在一个实施例中,图像检测识别子单元包括匹配图像确定分子单元、匹配图像分析分子单元和匹配图像测量实施分子单元;In one embodiment, the image detection and recognition subunit includes a matching image determination molecular unit, a matching image analysis molecular unit, and a matching image measurement implementation molecular unit;

匹配图像确定分子单元,用于基于预设的图像模板,对原始图像进行模板匹配,获得若干个局部匹配图像;The matching image determination molecular unit is used to perform template matching on the original image based on a preset image template to obtain a number of local matching images;

匹配图像分析分子单元,用于基于聚类算法,对局部匹配图像进行聚类分析,获得若干个聚类图像集;聚类图像集包括若干个局部匹配图像;The matching image analysis molecular unit is used to perform cluster analysis on the local matching image based on the clustering algorithm to obtain a number of cluster image sets; the cluster image set includes a number of local matching images;

匹配图像测量实施分子单元,用于基于AI检索程序,在预设的测量算法库中,调用适用于聚类图像集的检测识别算法,实现对聚类图像集中的局部匹配图像的单次或多次的检测识别,根据检测识别结果,生成检测识别图像。The matching image measurement implementation molecular unit is used to call the detection and recognition algorithm suitable for the clustered image set in the preset measurement algorithm library based on the AI retrieval program, to realize single or multiple detection and recognition of the local matching images in the clustered image set, and to generate a detection and recognition image according to the detection and recognition results.

上述技术方案的工作原理为:图像检测识别子单元包括匹配图像确定分子单元、匹配图像分析分子单元和匹配图像测量实施分子单元;The working principle of the above technical solution is as follows: the image detection and recognition subunit includes a matching image determination molecular unit, a matching image analysis molecular unit and a matching image measurement implementation molecular unit;

匹配图像确定分子单元,用于基于预设的图像模板,对原始图像进行模板匹配,获得若干个局部匹配图像;The matching image determination molecular unit is used to perform template matching on the original image based on a preset image template to obtain a number of local matching images;

匹配图像分析分子单元,用于基于聚类算法,对局部匹配图像进行聚类分析,获得若干个聚类图像集;聚类图像集包括若干个局部匹配图像;The matching image analysis molecular unit is used to perform cluster analysis on the local matching image based on the clustering algorithm to obtain a number of cluster image sets; the cluster image set includes a number of local matching images;

匹配图像测量实施分子单元,用于基于AI检索程序,在预设的测量算法库中,调用适用于聚类图像集的检测识别算法,实现对聚类图像集中的局部匹配图像的单次或多次的检测识别,根据检测识别结果,生成检测识别图像。The matching image measurement implementation molecular unit is used to call the detection and recognition algorithm suitable for the clustered image set in the preset measurement algorithm library based on the AI retrieval program, to realize single or multiple detection and recognition of the local matching images in the clustered image set, and to generate a detection and recognition image according to the detection and recognition results.

上述技术方案的有益效果为:采用本实施例提供的方案,通过利用模板和聚类算法以及AI检索程序在预设的测量算法库进行检索,可获得准确的检测识别图像。The beneficial effect of the above technical solution is: by adopting the solution provided in this embodiment, by using templates and clustering algorithms and AI retrieval programs to search in a preset measurement algorithm library, accurate detection and recognition images can be obtained.

在一个实施例中,图像内容项测量子单元包括待打印像素数据获取分子单元和待打印图像数据生成分子单元;In one embodiment, the image content item measurement subunit includes a to-be-printed pixel data acquisition subunit and a to-be-printed image data generation subunit;

待打印像素数据获取分子单元,用于基于预设的测量数据与待打印像素数据的匹配库,获取与测量数据相匹配的待打印像素数据;A pixel data acquisition unit for to-be-printed is used to acquire pixel data for to-be-printed that matches the measurement data based on a preset matching library of measurement data and pixel data for to-be-printed;

待打印图像数据生成分子单元,用于提取待打印像素数据中的像素,并基于预设的像素与图像强度值的匹配对应关系,获得若干个图像强度值,基于图像强度值的大小顺序和占比分布,生成待打印图像数据的生成顺序,根据生成顺序,结合待打印像素数据,生成待打印图像数据。The molecular unit for generating image data to be printed is used to extract pixels from the pixel data to be printed, and obtain a number of image intensity values based on a preset matching correspondence between pixels and image intensity values, and generate a generation order of the image data to be printed based on the size order and proportion distribution of the image intensity values. According to the generation order, the image data to be printed is generated in combination with the pixel data to be printed.

上述技术方案的工作原理为:图像内容项测量子单元包括待打印像素数据获取分子单元和待打印图像数据生成分子单元;The working principle of the above technical solution is as follows: the image content item measurement subunit includes a to-be-printed pixel data acquisition molecular unit and a to-be-printed image data generation molecular unit;

待打印像素数据获取分子单元,用于基于预设的测量数据与待打印像素数据的匹配库,获取与测量数据相匹配的待打印像素数据;A pixel data acquisition unit for to-be-printed is used to acquire pixel data for to-be-printed that matches the measurement data based on a preset matching library of measurement data and pixel data for to-be-printed;

待打印图像数据生成分子单元,用于提取待打印像素数据中的像素,并基于预设的像素与图像强度值的匹配对应关系,获得若干个图像强度值,基于图像强度值的大小顺序和占比分布,生成待打印图像数据的生成顺序,根据生成顺序,结合待打印像素数据,生成待打印图像数据。The molecular unit for generating image data to be printed is used to extract pixels from the pixel data to be printed, and obtain a number of image intensity values based on a preset matching correspondence between pixels and image intensity values, and generate a generation order of the image data to be printed based on the size order and proportion distribution of the image intensity values. According to the generation order, the image data to be printed is generated in combination with the pixel data to be printed.

上述技术方案的有益效果为:采用本实施例提供的方案,通过对待打印像素数据获取,并基于像素与图像强度值的匹配对应关系,生成待打印图像数据,可保证待打印图像数据生成的准确性。The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, the pixel data to be printed is acquired, and the image data to be printed is generated based on the matching correspondence between the pixel and the image intensity value, so that the accuracy of the generated image data to be printed can be guaranteed.

在一个实施例中,打印执行模块包括打印命令生成单元和打印操作执行单元;In one embodiment, the print execution module includes a print command generation unit and a print operation execution unit;

打印命令生成单元,用于基于图像处理设备,生成打印命令;A print command generating unit, used for generating a print command based on an image processing device;

打印操作执行单元,用于基于视觉定位UV打印设备,接收打印命令和待打印图像数据,打印生成待打印目标的目标图像。The printing operation execution unit is used to visually locate the UV printing device, receive the printing command and the image data to be printed, and print and generate the target image of the target to be printed.

上述技术方案的工作原理为:打印执行模块包括打印命令生成单元和打印操作执行单元;The working principle of the above technical solution is as follows: the print execution module includes a print command generation unit and a print operation execution unit;

打印命令生成单元,用于基于图像处理设备,生成打印命令;A print command generating unit, used for generating a print command based on an image processing device;

打印操作执行单元,用于基于视觉定位UV打印设备,接收打印命令和待打印图像数据,打印生成待打印目标的目标图像。The printing operation execution unit is used to visually locate the UV printing device, receive the printing command and the image data to be printed, and print and generate the target image of the target to be printed.

上述技术方案的有益效果为:采用本实施例提供的方案,通过根据打印命令和待打印图像数据,打印生成待打印目标的目标图像,保证了打印执行的可靠性。The beneficial effect of the above technical solution is: by adopting the solution provided by this embodiment, the target image of the target to be printed is generated according to the print command and the image data to be printed, thereby ensuring the reliability of the printing execution.

在一个实施例中,还包括图像打印管理模块,用于基于微服务技术,构建图像打印管理平台,并应用于图像打印管理;图像打印管理模块包括图像打印管理平台设置单元和图像打印管理单元;In one embodiment, it also includes an image printing management module, which is used to build an image printing management platform based on microservice technology and apply it to image printing management; the image printing management module includes an image printing management platform setting unit and an image printing management unit;

图像打印管理平台设置单元,用于基于视觉控制器与云平台构建图像打印管理平台,并基于微服务架构,设置图像数据存储微服务和图像数据访问微服务,并设置若干个微服务用户端,以及设置微服务用户端的对目标图像的打印使用权限;An image printing management platform setting unit is used to build an image printing management platform based on the visual controller and the cloud platform, and to set an image data storage microservice and an image data access microservice based on the microservice architecture, and to set a number of microservice client terminals, and to set the printing and use rights of the microservice client terminals to the target image;

图像打印管理单元,用于基于图像打印管理平台,管理微服务用户端对目标图像的打印使用。The image printing management unit is used to manage the printing and use of the target image by the microservice client based on the image printing management platform.

上述技术方案的工作原理为:还包括图像打印管理模块,用于基于微服务技术,构建图像打印管理平台,并应用于图像打印管理;图像打印管理模块包括图像打印管理平台设置单元和图像打印管理单元;The working principle of the above technical solution is: it also includes an image printing management module, which is used to build an image printing management platform based on microservice technology and applied to image printing management; the image printing management module includes an image printing management platform setting unit and an image printing management unit;

图像打印管理平台设置单元,用于基于视觉控制器与云平台构建图像打印管理平台,并基于微服务架构,设置图像数据存储微服务和图像数据访问微服务,并设置若干个微服务用户端,以及设置微服务用户端的对目标图像的打印使用权限;An image printing management platform setting unit is used to build an image printing management platform based on the visual controller and the cloud platform, and to set an image data storage microservice and an image data access microservice based on the microservice architecture, and to set a number of microservice client terminals, and to set the printing and use rights of the microservice client terminals to the target image;

图像打印管理单元,用于基于图像打印管理平台,管理微服务用户端对目标图像的打印使用。The image printing management unit is used to manage the printing and use of the target image by the microservice client based on the image printing management platform.

上述技术方案的有益效果为:采用本实施例提供的方案,通过基于微服务技术,构建图像打印管理平台,并应用于图像打印管理,可提高图像打印管理的智能化水平,有利于图像打印的高效使用。The beneficial effect of the above technical solution is: by adopting the solution provided in this embodiment, by building an image printing management platform based on microservice technology and applying it to image printing management, the intelligence level of image printing management can be improved, which is conducive to the efficient use of image printing.

本发明提供了一种图像处理方法,如图3所示,包括:The present invention provides an image processing method, as shown in FIG3 , comprising:

S1:配置图像获取设备、图像处理设备和视觉定位UV打印设备;S1: Configure image acquisition equipment, image processing equipment and visual positioning UV printing equipment;

S2:利用图像获取设备,获取待打印目标的原始图像;S2: using an image acquisition device to acquire an original image of the target to be printed;

S3:利用图像处理设备,将原始图像处理生成待打印图像数据;S3: Using an image processing device to process the original image to generate image data to be printed;

S4:利用视觉定位UV打印设备,根据待打印图像数据,打印生成待打印目标的目标图像。S4: Using visual positioning UV printing equipment, according to the image data to be printed, print and generate a target image of the target to be printed.

上述技术方案的工作原理为:S1:配置图像获取设备、图像处理设备和视觉定位UV打印设备;The working principle of the above technical solution is as follows: S1: configure an image acquisition device, an image processing device and a visual positioning UV printing device;

S2:利用图像获取设备,获取待打印目标的原始图像;S2: using an image acquisition device to acquire an original image of the target to be printed;

S3:利用图像处理设备,将原始图像处理生成待打印图像数据;S3: Using an image processing device to process the original image to generate image data to be printed;

S4:利用视觉定位UV打印设备,根据待打印图像数据,打印生成待打印目标的目标图像。S4: Using visual positioning UV printing equipment, according to the image data to be printed, print and generate a target image of the target to be printed.

上述技术方案的有益效果为:采用本实施例提供的方案,通过利用线扫相机结合视觉定位UV打印设备,构建图像打印系统,并对待打印目标的原始图像进行处理,提高了图像处理的质量,可满足高要求的图像处理需求。The beneficial effect of the above technical solution is: by adopting the solution provided in this embodiment, an image printing system is constructed by using a line scan camera combined with a visual positioning UV printing device, and the original image of the target to be printed is processed, thereby improving the quality of image processing and meeting high-demand image processing requirements.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (9)

1. A line glance localization UV printing system, comprising:
The device configuration module is used for configuring the image acquisition device, the image processing device and the visual positioning UV printing device;
The image acquisition module is used for acquiring an original image of a target to be printed by using image acquisition equipment;
the image processing module is used for processing the original image by utilizing the image processing equipment to generate image data to be printed;
the printing execution module is used for utilizing the visual positioning UV printing equipment to print and generate a target image of a target to be printed according to the image data to be printed;
The image acquisition module comprises an image acquisition signal setting unit, an image acquisition executing unit and an image acquisition adjusting unit;
An image acquisition signal setting unit for presetting a reference image based on the processor; acquiring a line image and a frame image in a reference image, setting a first matching data pair of the line image and a line trigger signal, and setting a second matching data pair of the frame image and the frame trigger signal; acquiring a row trigger signal and a frame trigger signal for image acquisition based on the first matching data pair and the second matching data pair;
The image acquisition execution unit is used for sending the line trigger signal and the frame trigger signal to the line scanning camera based on the processor, and the line scanning camera is used for acquiring images to obtain a first original image of a target to be printed;
The image acquisition and adjustment unit is used for acquiring line images and frame images of the first original image, comparing the pixel point number values of the line images and the frame images of the first original image and the line images and the frame images of the reference image, and obtaining a plurality of line image pixel point number difference values and frame image pixel point number difference values; if the difference value of the number of the pixels of the line image or the difference value of the number of the pixels of the frame image is larger than a preset difference value threshold, the transmitting frequency amplitude of the line trigger signal and the frame trigger signal is adjusted according to the preset adjusting frequency amplitude, a first line trigger signal and a first frame trigger signal are generated, the first line trigger signal and the first frame trigger signal are sent to a line scanning camera, image acquisition is carried out again, the difference value of the number of the pixels of the line image is compared again, and when the difference value of the number of the pixels of the line image and the difference value of the number of the pixels of the frame image are smaller than the preset difference value threshold, an original image of a target to be printed is generated.
2. The line glance localization UV printing system of claim 1, wherein the device configuration module comprises an image acquisition device configuration unit, an image processing device configuration unit, a printing device configuration unit, and a device connection unit;
an image acquisition device configuration unit configured to configure a line scan camera as an image acquisition device;
An image processing apparatus configuration unit configured to configure the vision controller as an image processing apparatus; the visual controller comprises a processor and a plurality of expansion interfaces;
A printing device configuration unit configured to configure the visual positioning UV printer as a visual positioning UV printing device;
And the equipment connection unit is used for respectively connecting the line scanning camera and the visual positioning UV printer with the visual controller by utilizing the expansion interface.
3. A line glance localization UV printing system according to claim 2, wherein the image processing module comprises an image importing unit, an image editing unit and an image data generating unit to be printed;
An image importing unit for importing the original image reading into the vision controller based on machine vision software in the vision controller;
The image editing unit is used for editing the original image based on machine vision software in the vision controller to generate an image to be processed;
and the image data to be printed generating unit is used for generating image data to be printed according to the image to be processed.
4. A line glance localization UV printing system as claimed in claim 3, wherein the image editing unit comprises an image detection recognition subunit and an image content item measurement subunit;
The image detection and identification subunit is used for matching the original image based on a preset image template, and carrying out detection and identification according to a detection and identification algorithm in machine vision software to obtain a detection and identification image;
And the image content item measuring subunit is used for measuring the geometric quantity of the preset content item of the detection and identification image, obtaining a plurality of measurement data and generating image data to be printed according to the measurement data.
5. The line glance localization UV printing system of claim 4, wherein the image detection recognition subunit includes a matched image determination subunit, a matched image analysis subunit, and a matched image measurement implementation subunit;
The matching image determining molecular unit is used for carrying out template matching on the original image based on a preset image template to obtain a plurality of local matching images;
the matching image analysis molecular unit is used for carrying out cluster analysis on the local matching images based on a clustering algorithm to obtain a plurality of clustered image sets; the cluster image set comprises a plurality of local matching images;
and the matched image measurement implementation molecular unit is used for calling a detection and identification algorithm suitable for the clustered image set in a preset measurement algorithm library based on an AI retrieval program, realizing single or multiple detection and identification of the local matched images in the clustered image set, and generating a detection and identification image according to the detection and identification result.
6. A line glance localization UV printing system according to claim 4, wherein the image content item measurement subunit comprises a pixel data acquisition subunit to be printed and an image data generation subunit to be printed;
The pixel data to be printed obtaining molecular unit is used for obtaining pixel data to be printed matched with the measurement data based on a preset matching library of the measurement data and the pixel data to be printed;
The image data generation sub-unit is used for extracting pixels in the pixel data to be printed, obtaining a plurality of image intensity values based on a matching corresponding relation between preset pixels and the image intensity values, generating a generation sequence of the image data to be printed based on the size sequence and the duty ratio distribution of the image intensity values, and generating the image data to be printed by combining the pixel data to be printed according to the generation sequence.
7. The line glance localization UV printing system of claim 1, wherein the print execution module comprises a print command generation unit and a print operation execution unit;
a print command generation unit configured to generate a print command based on the image processing apparatus;
And the printing operation execution unit is used for receiving the printing command and the image data to be printed based on the visual positioning UV printing equipment and printing and generating a target image of the target to be printed.
8. The line glance localization UV printing system of claim 2, further comprising an image print management module for constructing an image print management platform based on a micro-service technology and applying to image print management; the image printing management module comprises an image printing management platform setting unit and an image printing management unit;
The image printing management platform setting unit is used for constructing an image printing management platform based on the visual controller and the cloud platform, setting image data storage micro-service and image data access micro-service based on the micro-service architecture, setting a plurality of micro-service user terminals, and setting printing use permission of the micro-service user terminals for target images;
and the image printing management unit is used for managing the printing use of the micro-service user side on the target image based on the image printing management platform.
9. An image processing method, comprising:
s1, configuring an image acquisition device, an image processing device and a visual positioning UV printing device;
S2, acquiring an original image of a target to be printed by using image acquisition equipment;
presetting a reference image based on a processor; acquiring a line image and a frame image in a reference image, setting a first matching data pair of the line image and a line trigger signal, and setting a second matching data pair of the frame image and the frame trigger signal; acquiring a row trigger signal and a frame trigger signal for image acquisition based on the first matching data pair and the second matching data pair;
based on a processor, a line trigger signal and a frame trigger signal are sent to a line scanning camera, and the line scanning camera acquires images to obtain a first original image of a target to be printed;
Acquiring a line image and a frame image of a first original image, and comparing pixel point number values of the line image and the frame image of the first original image with pixel point number values of the line image and the frame image of a reference image to acquire a plurality of line image pixel point number difference values and frame image pixel point number difference values; if the difference value of the number of the pixels of the line image or the difference value of the number of the pixels of the frame image is larger than a preset difference value threshold, adjusting the transmitting frequency amplitude of the line trigger signal and the frame trigger signal according to the preset adjusting frequency amplitude, generating a first line trigger signal and a first frame trigger signal, transmitting the first line trigger signal and the first frame trigger signal to a line scanning camera, acquiring the image again, comparing the difference value of the number of the pixels again, and generating an original image of a target to be printed when the difference value of the number of the pixels of the line image and the difference value of the number of the pixels of the frame image are smaller than the preset difference value threshold;
s3, processing the original image by using image processing equipment to generate image data to be printed;
and S4, printing and generating a target image of the target to be printed according to the image data to be printed by using the visual positioning UV printing equipment.
CN202311547648.6A 2023-11-20 2023-11-20 Line scanning visual positioning UV printing system and image processing method thereof Active CN117724665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311547648.6A CN117724665B (en) 2023-11-20 2023-11-20 Line scanning visual positioning UV printing system and image processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311547648.6A CN117724665B (en) 2023-11-20 2023-11-20 Line scanning visual positioning UV printing system and image processing method thereof

Publications (2)

Publication Number Publication Date
CN117724665A CN117724665A (en) 2024-03-19
CN117724665B true CN117724665B (en) 2024-11-01

Family

ID=90206181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311547648.6A Active CN117724665B (en) 2023-11-20 2023-11-20 Line scanning visual positioning UV printing system and image processing method thereof

Country Status (1)

Country Link
CN (1) CN117724665B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118578801A (en) * 2024-05-21 2024-09-03 广州市森扬电子科技有限公司 A multi-target positioning printing method, device and storage medium based on flat panel
CN118605819B (en) * 2024-05-30 2025-03-21 广州兰旗机电科技有限公司 Ultraviolet printer and printing method based on artificial intelligence visual recognition

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116489341A (en) * 2023-04-28 2023-07-25 深圳市光太科技有限公司 Debugging method and device of line scanning camera for printing test and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2964930C (en) * 2014-10-21 2018-07-10 Rolf Silbert Method and apparatus for printing on an object having a curved surface
US10265911B1 (en) * 2015-05-13 2019-04-23 Marvell International Ltd. Image-based monitoring and feedback system for three-dimensional printing
JP6454048B1 (en) * 2018-07-26 2019-01-16 株式会社アイエヌジー Image transfer sheet, image transfer sheet manufacturing method, and image transfer method
KR20220003936A (en) * 2020-07-02 2022-01-11 (주)에이치디테크 Operation method and printing error prevention system using machine vision
CN115476583B (en) * 2021-05-31 2023-08-15 深圳市汉森软件有限公司 Image printing method, device, equipment and storage medium
CN116766806A (en) * 2022-03-09 2023-09-19 森大(深圳)技术有限公司 Printing method, device, equipment and storage medium based on image real-time deviation correction
CN117078586A (en) * 2023-05-05 2023-11-17 北京工业大学 Defect detection and repair method for insufficient resin filling in DLP 3D printing process
CN116494667A (en) * 2023-06-12 2023-07-28 苏州市森泓技术有限公司 UV lamp positioning method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116489341A (en) * 2023-04-28 2023-07-25 深圳市光太科技有限公司 Debugging method and device of line scanning camera for printing test and electronic equipment

Also Published As

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

Similar Documents

Publication Publication Date Title
CN117724665B (en) Line scanning visual positioning UV printing system and image processing method thereof
US20180260669A1 (en) Image processing apparatus, image processing method, template generation apparatus, object recognition processor, and object recognition processing program
CN108986086A (en) The detection of typographical display panel inkjet printing picture element flaw and classification method and its device
CN108701234A (en) Licence plate recognition method and cloud system
CN109759713B (en) Rapid marking method and rapid marking system based on CCD image recognition
Le et al. UHDB31: A dataset for better understanding face recognition across pose and illumination variation
CN105976389A (en) Mobile phone baseboard connector defect detection method
CN116416250A (en) Finished product detecting system of fast food canned product production line
WO2021031446A1 (en) Offline individual handwriting recognition system and method employing two-dimensional dynamic feature
CN111242057A (en) Product sorting system, method, computer device and storage medium
CN114266764A (en) Character integrity detection method and device for printed label
CN113393424A (en) Defect detection system, method and device based on artificial intelligence image processing
CN110443803A (en) A kind of printed matter picture quality detection method and device
TW201445458A (en) Testing device and method for camera
CN115769256A (en) Segmentation of continuous dynamic scan
US11908214B2 (en) Object management system
Guo et al. The introduction of AOI in PCB defect detection based on linear array camera
JP2016206909A (en) Information processor, and information processing method
WO2022258077A3 (en) Remote sensing image feature discretization method and apparatus based on ii-type fuzzy rough model, storage medium, and computer device.
CN206740657U (en) A kind of image detection device of washing machine thin film switch
CN112270254A (en) A method and device for processing element matching information based on camera vision
US20230351779A1 (en) Authenticity collation system and authenticity collation method
Navghane et al. Machine vision based approach for automated keypad inspection
CN119359651B (en) Device and method for detecting surface flatness of wood-plastic board
JP7583395B2 (en) Image processing device, image processing method, image processing program, image classification device, and trained model generated thereby

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