CN113620614A - Method, device and equipment for removing ink on glass surface and storage medium - Google Patents

Method, device and equipment for removing ink on glass surface and storage medium Download PDF

Info

Publication number
CN113620614A
CN113620614A CN202110853442.0A CN202110853442A CN113620614A CN 113620614 A CN113620614 A CN 113620614A CN 202110853442 A CN202110853442 A CN 202110853442A CN 113620614 A CN113620614 A CN 113620614A
Authority
CN
China
Prior art keywords
image
glass
ink
relative position
shot
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.)
Pending
Application number
CN202110853442.0A
Other languages
Chinese (zh)
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 Ruofette Technology Co ltd
Original Assignee
Shenzhen Ruofette 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 Ruofette Technology Co ltd filed Critical Shenzhen Ruofette Technology Co ltd
Priority to CN202110853442.0A priority Critical patent/CN113620614A/en
Publication of CN113620614A publication Critical patent/CN113620614A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • CCHEMISTRY; METALLURGY
    • C03GLASS; MINERAL OR SLAG WOOL
    • C03CCHEMICAL COMPOSITION OF GLASSES, GLAZES OR VITREOUS ENAMELS; SURFACE TREATMENT OF GLASS; SURFACE TREATMENT OF FIBRES OR FILAMENTS MADE FROM GLASS, MINERALS OR SLAGS; JOINING GLASS TO GLASS OR OTHER MATERIALS
    • C03C23/00Other surface treatment of glass not in the form of fibres or filaments
    • C03C23/0075Cleaning of glass
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B08CLEANING
    • B08BCLEANING IN GENERAL; PREVENTION OF FOULING IN GENERAL
    • B08B11/00Cleaning flexible or delicate articles by methods or apparatus specially adapted thereto
    • B08B11/04Cleaning flexible or delicate articles by methods or apparatus specially adapted thereto specially adapted for plate glass, e.g. prior to manufacture of windshields
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/33Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
    • G06T7/337Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods involving reference images or patches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30121CRT, LCD or plasma display

Abstract

The application relates to a method, a device, equipment and a storage medium for removing ink on the surface of glass, wherein the method comprises the following steps: receiving a shot image sent by a camera, wherein the shot image comprises a contour image of glass and a reserved groove image; extracting a glass image from the shot image according to the outline image; comparing the image of the glass with a preset standard image, determining the position of ink according to the color difference condition of pixel points between the image of the glass and the preset standard image, and obtaining an ink image on the surface of the glass; determining a first relative position of ink with respect to a reserve tank based on the reserve tank image and the ink image; controlling a laser to carry out fixed-point removal on the ink on the surface of the glass according to the first relative position; and displaying the clearing result through a display screen. The application has the technical effects that: the printing ink on the glass is automatically removed, time and labor are saved, and the removal efficiency of the printing ink is improved.

Description

Method, device and equipment for removing ink on glass surface and storage medium
Technical Field
The application relates to the technical field of glass processing, in particular to a method, a device, equipment and a storage medium for removing ink on the surface of glass.
Background
Glass is commonly used in the high-tech field because of having the advantages of good wear resistance, high light transmittance, high dielectric constant, good conductivity and the like, is gradually becoming a hot material for protecting glass of an intelligent terminal, and has occupied a place in intelligent watches, intelligent mobile phones and high-end computer screens.
In the glass processing industry, after the silk-screen printing process, the glass is stained with redundant ink, so that the redundant ink on the glass needs to be erased before the film coating process; the laser cleaning technology can quickly clean attachments, coatings and the like on the surface of a substrate, and the principle is that substances on the surface of the substrate absorb heat quickly to form shock waves and change the shock waves into particles to be removed under the action of focused laser.
At present when clearing up the printing ink on glass surface, need rely on the position of staff's manual work discernment glass surface printing ink, then the manual operation laser instrument clears away the printing ink on the glass surface for the process of clearing away glass surface printing ink is wasted time and energy and efficiency is lower.
Disclosure of Invention
In order to help solve the problems that the process of removing the ink on the surface of the glass is time-consuming and labor-consuming and the efficiency is low, the application provides a method, a device, equipment and a storage medium for removing the ink on the surface of the glass.
In a first aspect, the present application provides a method for removing ink from a glass surface, which adopts the following technical scheme: the method comprises the following steps: receiving a shot image sent by a camera, wherein the shot image comprises a contour image of glass and a reserved groove image;
extracting a glass image from the shot image according to the outline image;
comparing the image of the glass with a preset standard image, determining the position of ink according to the color difference condition of pixel points between the image of the glass and the preset standard image, and obtaining an ink image on the surface of the glass;
determining a first relative position of ink with respect to a reserve tank based on the reserve tank image and the ink image;
controlling a laser to carry out fixed-point removal on the ink on the surface of the glass according to the first relative position;
and displaying the clearing result through a display screen.
By the technical scheme, the position of the ink on the glass can be quickly determined by comparing the shot image of the glass to be processed with the standard image, and then the laser can automatically clear the ink on the glass according to the first relative position of the ink in the shot image relative to the reserved groove, so that time and labor are saved, and the ink clearing efficiency is improved; meanwhile, the mode that the position of the printing ink is determined by utilizing image comparison and identification reduces the possibility that part of printing ink points are difficult to find by workers due to small volume and are then omitted during cleaning, so that the printing ink cleaning effect on the surface of the glass is further improved.
Preferably, the extracting the image of the glass from the captured image according to the contour image includes:
if the outline image of the glass in the shot image is incomplete, generating azimuth adjustment information according to the azimuth corresponding to the area where the outline image of the glass is incomplete;
controlling a camera to adjust the shooting position according to the direction adjustment information, shooting the glass again, and transmitting a shot image until the outline image of the glass in the shot image is complete;
and extracting a glass image from the shot image according to the contour image.
Through above-mentioned technical scheme, the profile image of glass is incomplete in the picture of shooing, and when partial glass's image was not shot promptly, the shooting position to the camera was adjusted according to adjustment information automatically for the camera can carry out complete shooting to glass, and the image that has reduced partial glass is not shot, leads to partial ink dot to be omitted the unable possibility of cleaing away, thereby has further promoted the clear away effect of glass surface printing ink.
Preferably, the determining a first relative position of ink with respect to the reserve tank based on the reserve tank image and the ink image comprises:
determining the central point of the reserved slot according to the reserved slot image;
and calculating the farthest distance and the nearest distance between the ink image and the center point of the reserve tank, and setting the farthest distance and the nearest distance as a first relative position of the ink relative to the reserve tank.
Through the technical scheme, the approximate outline information of the ink can be determined by determining the closest distance and the farthest distance between the ink image and the reserved groove, so that the laser can be used for completely cleaning the outline information of the ink, the possibility that partial ink remains after the laser is cleaned is reduced, and the cleaning effect of the ink on the surface of the glass is further improved.
Preferably, the clearing result comprises clearing success and clearing failure;
the displaying the clearing result through the display screen comprises:
controlling the camera to shoot the glass again and extracting the image of the glass in the shot image;
comparing the glass image with a preset standard image, and if the colors of pixel points between the glass image and the preset standard image are inconsistent, displaying and clearing failure through a display screen; otherwise, the display screen displays that the clearing is successful.
Through the technical scheme, after the laser instrument is clear away the printing ink on glass surface, shoot glass's image information and standard image once more and compare, if the color of pixel is inconsistent between glass's image and the predetermined standard image, then represent that the glass surface still has the printing ink that is not cleared up, otherwise represent that the printing ink on glass surface has been cleared up completely, thereby reached the automatic effect of carrying out the inspection to the effect of clearing away, so that the staff can be according to the result that the display screen shows, learn the effect of clearing away of glass surface printing ink fast, need not the manual work and carry out the quality control to glass, use manpower sparingly and improved glass's quality control effect.
Preferably, the displaying, by the display screen, the clearing failure includes:
determining a second relative position of the ink with respect to the outline from the outline image and the ink image;
controlling a laser to carry out fixed-point removal on the ink on the surface of the glass according to the second relative position;
and comparing the glass image with the preset standard image again, and if the colors of the pixel points between the glass image and the preset standard image are not consistent, displaying and clearing failure through a display screen.
According to the technical scheme, after the ink on the surface of the glass is removed by the laser, if the color of a pixel point between the image of the glass and a preset standard image is detected to be inconsistent by the system, a second relative position of the ink relative to the outline is determined according to the outline image and the ink image; and then the ink is removed again according to the second relative position, thereby further improving the removing effect of the glass surface.
Preferably, the determining a second relative position of the ink with respect to the reserve tank based on the outline image and the ink image includes:
determining the middle point of each straight line side of the glass according to the contour image;
and calculating the closest distance between the ink image and the midpoint of each straight line side, and setting the obtained corresponding relation between the closest distance and the midpoint of the straight line side as a second relative position of the ink relative to the reserved groove.
Through above-mentioned technical scheme, through the mode of confirming the interval between four straight line side central points of printing ink point and glass, can follow the profile information of four point locations determination printing ink points to the laser instrument can be according to the more accurate printing ink to the glass surface of profile information and clear away.
Preferably, the displaying, by the display screen, the clearing failure includes:
adjusting the shooting position of the camera according to a preset adjusting instruction, shooting the glass again and transmitting a shot image;
extracting a glass image from the shot image according to the outline image;
comparing the image of the glass with a preset standard image, determining the position of ink according to the color difference condition of pixel points between the image of the glass and the preset standard image, and obtaining an ink image on the surface of the glass;
determining a third relative position of the ink with respect to the reserve tank based on the reserve tank image and the ink image;
controlling a laser to carry out fixed-point removal on the ink on the surface of the glass according to the third relative position;
and comparing the glass image with the preset standard image again, and if the colors of the pixel points between the glass image and the preset standard image are not consistent, displaying and clearing failure through a display screen.
Through the technical scheme, the residual glass of the printing ink still exists after the glass is cleared away twice, the shooting position of the camera is adjusted to obtain the image of the glass again, the position of the printing ink is located again according to the image of the glass, the influence of the shooting position and the light ray on the position location of the printing ink point is reduced, and therefore the clearing effect of the printing ink on the surface of the glass is further improved.
In a second aspect, the present application provides a glass surface ink removing device, which adopts the following technical scheme: the device comprises: the shot image receiving module is used for receiving shot images sent by the camera, and the shot images comprise contour images of glass and reserved groove images;
the glass image extraction module is used for extracting a glass image from the shot image according to the outline image;
the ink image determining module is used for comparing the image of the glass with a preset standard image, determining the position of ink according to the color difference condition of pixel points between the image of the glass and the preset standard image, and obtaining an ink image on the surface of the glass;
a first relative position determination module for determining a first relative position of the ink with respect to the reserve tank based on the reserve tank image and the ink image;
the ink fixed-point removing module is used for controlling the laser to remove the ink on the surface of the glass at a fixed point according to the first relative position;
and the clearing result display module is used for displaying the clearing result through the display screen.
In a third aspect, the present application provides a computer device, which adopts the following technical solution: comprising a memory and a processor, the memory having stored thereon a computer program that can be loaded by the processor and executed to perform any of the methods for ink removal from glass surfaces as described above.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions: a computer program is stored which can be loaded by a processor and which can perform any of the methods described above for removing ink from a glass surface.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the position of the ink on the glass can be quickly determined by comparing the shot image of the glass to be processed with the standard image, and then the laser can automatically clear the ink on the glass according to the first relative position of the ink in the shot image relative to the reserved groove, so that time and labor are saved, and the ink clearing efficiency is improved;
2. after the glass with residual ink is cleared twice, the shooting position of the camera is adjusted to obtain the image of the glass again, the position of the ink is located again according to the image of the glass, the influence of the shooting position and the light ray on the position location of the ink point is reduced, and therefore the clearing effect of the ink on the surface of the glass is further improved.
Drawings
FIG. 1 is a schematic view showing a structure of a glass to be processed in the related art.
FIG. 2 is a flow chart of a method for removing ink from a glass surface according to one embodiment of the present application.
FIG. 3 is a schematic illustration of an embodiment of the present application showing a glass outline image with no detail.
FIG. 4 is a schematic diagram illustrating a first relative position according to an embodiment of the present application.
FIG. 5 is a schematic diagram illustrating another first relative position according to an embodiment of the present application.
FIG. 6 is a schematic diagram illustrating a second relative position in an embodiment of the present application.
FIG. 7 is a schematic diagram illustrating another second relative position in an embodiment of the present application.
FIG. 8 is a block diagram of a glass surface ink removal device according to an embodiment of the present application.
Reference numerals: 310. a photographed image receiving module; 320. a glass image extraction module; 330. an ink image determination module; 340. a first relative position determination module; 350. an ink fixed-point clearing module; 360. and clearing the result display module.
Detailed Description
The present application is described in further detail below with reference to figures 1-8.
The application discloses glass surface printing ink removing method, this method is based on a printing ink removing device, printing ink removing device includes control system, a work platform for placing pending glass and a display screen for showing the processing result, the last camera that is used for shooing pending glass and the laser instrument that is used for cleaing away glass surface printing ink of installing through the manipulator respectively of work platform, camera and laser instrument accessible manipulator remove and turn to, and camera and laser instrument all are controlled by control system, pending glass is shown as figure 1, including the glass body, the last reservation tank that has seted up of glass body, the reservation tank is the rectangle of rule, be stained with a plurality of printing ink on the glass body.
In one embodiment, as shown in fig. 2, a method for removing ink from a glass surface is provided,
the method comprises the following steps:
and S100, receiving the shot image sent by the camera.
The shot image comprises a glass outline image and a reserved groove image, wherein the glass outline image is a glass image, and the reserved groove image is an image of a reserved groove in glass.
And S200, extracting a glass image from the shot image according to the contour image.
Specifically, according to the contour line of the outer edge of the contour image, the image information located inside the contour line is extracted from the whole shot image, so that the subsequent comparison and identification are facilitated.
In one embodiment, as shown in fig. 3, extracting an image of glass from a captured image according to a contour image includes: if the glass outline image in the shot image is incomplete, generating azimuth adjustment information according to the range corresponding to the incomplete area of the glass outline image, and judging that the glass outline image in the shot image is incomplete when the size of the glass image extracted according to the glass outer edge outline is not consistent with that of a preset standard image, wherein the preset standard image is a glass image with a standard size and the surface of which is not provided with ink; the azimuth adjustment information can be determined according to the position of the area with the incomplete contour, and if the area with the incomplete contour is positioned at the lower position of the whole shot image, the corresponding azimuth adjustment information controls the camera to move downwards; controlling the camera to adjust the shooting position according to the generated azimuth adjustment information, shooting the glass again and transmitting the shot image until the outline image of the glass in the shot image is complete; the system can accurately extract the complete image of the glass, the possibility that the extracted outline image of the glass is incomplete, and part of ink in the non-shot area is difficult to remove is reduced, and the ink removing effect on the surface of the glass is further improved.
And S300, determining the position of the ink and obtaining an ink image on the surface of the glass.
Specifically, when ink is adhered to the glass, the area where the ink is located can present black different from the color of the glass, namely, the color of a pixel point corresponding to the ink is black, the image of the glass is compared with a preset standard image, and according to the color difference condition of the pixel point between the image of the glass and the preset standard image, the position of the ink can be determined and the ink image on the surface of the glass can be obtained.
S400, determining a first relative position of the ink relative to the reserve tank according to the reserve tank image and the ink image.
Specifically, as shown in fig. 4, first, midpoints a1, a2, A3, and a4 of four sides on the gutter are determined, respectively, then a reference point D1 is arbitrarily selected from the target ink image, distances L1, L2, L3, and L4 between the reference point D1 and the four midpoints are determined, and the four distances and the corresponding relationship between the distances and the midpoints are set as a first relative position.
In one embodiment, as shown in FIG. 5, determining a first relative position of ink with respect to the reserve tank based on the reserve tank image and the ink image includes: firstly, determining a center point Z1 of a reserved groove image according to the boundary of the reserved groove, then respectively determining a farthest distance L5 and a closest distance L6 between an area where target ink is located and the center point, and setting the farthest distance L5 and the closest distance L6 as first relative positions of the ink relative to the reserved groove; the farthest distance L5 and the closest distance L6 can embody the spacing of the ink with respect to the center point Z1 and the range of the area in which the ink itself is located, thereby improving the accuracy of the first relative position.
And S500, controlling a laser to carry out fixed-point removal on the ink on the surface of the glass according to the first relative position.
Specifically, according to the first relative position, the system can determine the relative position between each ink point and the reserve tank, and then, with the reserve tank as a reference point, the system controls the laser to move to the ink position to remove the ink according to the relative position between each ink point and the reserve tank.
And S600, displaying the clearing result through a display screen.
Specifically, after the laser is cleaned, the display screen can display a cleaning result in the display screen according to the working state of the laser, for example, "to be cleaned", "cleaning in progress" or "cleaned" and the like, so that a user can conveniently know the current cleaning condition according to the cleaning result displayed by the display screen.
In one embodiment, the clearing results include clearing success and clearing failure, and displaying the clearing results via the display screen includes: after the laser executes all the instructions of the first relative position, controlling the camera to shoot the glass again and extract the image of the glass in the shot image, then comparing the shot image of the glass with a preset standard image again, and if the colors of pixel points between the image of the glass and the preset standard image are inconsistent, displaying and clearing failure through a display screen; otherwise, displaying the successful clearing through the display screen; therefore, the effect of automatically performing quality inspection on the cleaned glass after the laser performs the operation of cleaning the printing ink is achieved, so that a worker can quickly know the cleaning result of the current glass according to the display of the display screen, the worker does not need to manually perform quality inspection on the glass, and time and labor are saved; meanwhile, the possibility that part of the glass which is not completely removed is qualified by quality inspection due to the fact that part of the ink with small volume is difficult to perceive when the glass is manually inspected by quality is reduced, errors of manual quality inspection are reduced, and the qualification rate of the glass is improved.
In one embodiment, displaying the clearing failure via the display screen comprises: if the color of the pixel point between the image of the glass and the preset standard image is inconsistent, determining a second relative position of the ink relative to the contour according to the contour image and the ink image, as shown in fig. 6, the determining process of the second relative position may be determining a distance L7 between any point D2 in the ink image and a straight line midpoint a5 close to the reserve tank in the contour line, and setting the distance L7 as the second relative position of the ink relative to the reserve tank; then, the laser is controlled again to carry out fixed-point clearing on the ink on the surface of the glass according to the obtained second relative position, then the image of the glass is compared with the preset standard image again, and if the colors of pixel points between the image of the glass and the preset standard image are not consistent, clearing failure is displayed through the display screen; if the second relative position is not obtained, the failure of clearing is directly displayed through a display screen; when the removal is not thorough according to the first relative position, the second relative position is determined again according to the outline range, and the ink on the glass is removed at fixed points again, so that the removal effect of the ink on the surface of the glass is further improved.
In one embodiment, as shown in FIG. 7, determining the second relative position of the ink with respect to the reserve tank based on the outline image and the ink image includes: the determination process of the second relative position may further be: firstly, determining midpoints A6, A7, A8 and A9 of four straight line sides of the glass according to the contour image, then respectively calculating the nearest distances L8, L9, L10 and L11 between the contour of the outer edge of the ink image and the midpoint of each straight line side, and determining the corresponding relation between the four obtained distances and the midpoints as a second relative position; through the mode of confirming four shortest distances, can obtain four points positions of evenly arranging at printing ink image outer fringe, and then arrange according to four points positions and can obtain the basic scope of printing ink to the laser instrument can clear away printing ink according to the second relative position is accurate, thereby has further promoted the effect of cleaing away of glass surface printing ink.
In one embodiment, displaying the clearing failure via the display screen comprises: if the colors of the pixel points between the image of the glass and the preset standard image are inconsistent, adjusting the shooting position of the camera according to a preset adjusting instruction, shooting the glass again and transmitting the shot image; the preset adjusting instruction can be that the shooting position is moved up by one centimeter or moved down by one centimeter, and the like, and the influence of light on the shooting effect can be reduced by adjusting the shooting position, so that the possibility that part of ink is difficult to shoot under the influence of illumination is reduced; after receiving the shot image, the system extracts the glass image from the shot image according to the outline image again, compares the glass image with the preset standard image again, determining the position of the ink and obtaining the ink image on the glass surface according to the color difference condition of the pixel points between the image of the glass and the preset standard image, determining a third relative position of the ink with respect to the reserve tank based on the image of the reserve tank and the image of the ink, the third relative position being determined in a manner consistent with the determination of the first relative position, controlling the laser again to carry out fixed-point removal on the ink on the surface of the glass according to the third relative position, and comparing the glass image with the preset standard image again after the clearing is finished, and if the colors of the pixel points between the glass image and the preset standard image are not consistent, displaying the failure of clearing through a display screen.
According to the method for removing the printing ink on the surface of the glass, the printing ink on the surface of the glass can be automatically removed, the quality of the treated glass can be automatically detected after the printing ink is removed, the possibility that workers waste time and labor and have poor effects when manually cleaning and detecting the printing ink on the surface of the glass is reduced, labor is saved, and the removing effect of the printing ink on the surface of the glass is improved.
Fig. 2 is a schematic flow chart of an online store pushing method in one embodiment. It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows; the steps are not limited to be performed in the exact order disclosed, and steps may be performed in other orders, unless explicitly stated otherwise; and at least some of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, a glass surface ink removal device comprises:
a shot image receiving module 310, configured to receive a shot image sent by a camera, where the shot image includes an outline image of glass and a reserved slot image;
a glass image extraction module 320 for extracting an image of glass from the photographed image based on the outline image;
the ink image determining module 330 is configured to compare the image of the glass with a preset standard image, determine a position of ink according to a color difference condition of a pixel point between the image of the glass and the preset standard image, and obtain an ink image on the surface of the glass;
a first relative position determination module 340 for determining a first relative position of the ink with respect to the reserve tank based on the reserve tank image and the ink image;
the ink fixed-point removing module 350 is used for controlling the laser to remove the ink on the glass surface at a fixed point according to the first relative position;
and a clearing result display module 360 for displaying the clearing result through the display screen.
In one embodiment, the ink image determining module 330 is further configured to, if the outline image of the glass in the captured image is incomplete, generate the orientation adjustment information according to an orientation corresponding to the incomplete area of the outline image of the glass; controlling the camera to adjust the shooting position according to the azimuth adjustment information, shooting the glass again and transmitting the shot image until the outline image of the glass in the shot image is complete; an image of the glass is extracted from the captured image based on the contour image.
In one embodiment, the first relative position determining module 340 is further configured to determine a center point of the pre-groove according to the pre-groove image; and calculating the farthest distance and the closest distance between the ink image and the center point of the reserve tank, and setting the farthest distance and the closest distance as a first relative position of the ink relative to the reserve tank.
In one embodiment, the clearing result includes a clearing success and a clearing failure, and the clearing result display module 360 is further configured to control the camera to shoot the glass again and extract an image of the glass in the shot image; comparing the glass image with a preset standard image, and if the colors of pixel points between the glass image and the preset standard image are inconsistent, displaying and clearing failure through a display screen; otherwise, the display screen displays that the clearing is successful.
In one embodiment, the cleaning result display module 360 is further configured to determine a second relative position of the ink with respect to the outline based on the outline image and the ink image; controlling a laser to carry out fixed-point removal on the ink on the surface of the glass according to the second relative position; and comparing the glass image with the preset standard image again, and if the colors of the pixel points between the glass image and the preset standard image are not consistent, displaying and clearing failure through a display screen.
In one embodiment, the cleaning result display module 360 is further configured to determine the midpoint of each linear side of the glass from the contour image; and calculating the closest distance between the ink image and the midpoint of each straight line side, and setting the obtained corresponding relation between the closest distance and the midpoint of each straight line side as a second relative position of the ink relative to the reserved groove.
In one embodiment, the clearing result display module 360 is further configured to adjust the shooting position of the camera according to a preset adjustment instruction, shoot the glass again, and transmit the shot image; extracting a glass image from the shot image according to the outline image; comparing the image of the glass with a preset standard image, determining the position of ink according to the color difference condition of pixel points between the image of the glass and the preset standard image, and obtaining an ink image on the surface of the glass; determining a third relative position of the ink with respect to the reserve tank based on the reserve tank image and the ink image; controlling a laser to carry out fixed-point removal on the ink on the surface of the glass according to the third relative position; and comparing the glass image with the preset standard image again, and if the colors of the pixel points between the glass image and the preset standard image are not consistent, displaying and clearing failure through a display screen.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the above-described glass surface ink removal method. The steps of the glass surface ink removal method herein may be the steps in the glass surface ink removal methods of the respective embodiments described above.
In one embodiment, there is provided a computer readable storage medium storing a computer program capable of being loaded by a processor and executing the method for removing ink from a glass surface as described above, the computer readable storage medium comprising, for example: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The present embodiment is only for explaining the present invention, and it is not limited to the present invention, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent law within the scope of the claims of the present invention.

Claims (10)

1. A method for removing ink from a glass surface, the method comprising:
receiving a shot image sent by a camera, wherein the shot image comprises a contour image of glass and a reserved groove image;
extracting a glass image from the shot image according to the outline image;
comparing the image of the glass with a preset standard image, determining the position of ink according to the color difference condition of pixel points between the image of the glass and the preset standard image, and obtaining an ink image on the surface of the glass;
determining a first relative position of ink with respect to a reserve tank based on the reserve tank image and the ink image;
controlling a laser to carry out fixed-point removal on the ink on the surface of the glass according to the first relative position;
and displaying the clearing result through a display screen.
2. The method according to claim 1, wherein the extracting an image of the glass from the captured image based on the profile image comprises:
if the outline image of the glass in the shot image is incomplete, generating azimuth adjustment information according to the azimuth corresponding to the area where the outline image of the glass is incomplete;
controlling a camera to adjust the shooting position according to the direction adjustment information, shooting the glass again, and transmitting a shot image until the outline image of the glass in the shot image is complete;
and extracting a glass image from the shot image according to the contour image.
3. The method of claim 1,
determining a first relative position of ink with respect to a reserve tank based on the reserve tank image and the ink image, comprising:
determining the central point of the reserved slot according to the reserved slot image;
and calculating the farthest distance and the nearest distance between the ink image and the center point of the reserve tank, and setting the farthest distance and the nearest distance as a first relative position of the ink relative to the reserve tank.
4. The method of claim 1, wherein the purge result comprises a purge success and a purge failure;
the displaying the clearing result through the display screen comprises:
controlling the camera to shoot the glass again and extracting the image of the glass in the shot image;
comparing the glass image with a preset standard image, and if the colors of pixel points between the glass image and the preset standard image are inconsistent, displaying and clearing failure through a display screen; otherwise, the display screen displays that the clearing is successful.
5. The method of claim 4, wherein the displaying the clearing failure via the display screen comprises:
determining a second relative position of the ink with respect to the outline from the outline image and the ink image;
controlling a laser to carry out fixed-point removal on the ink on the surface of the glass according to the second relative position;
and comparing the glass image with the preset standard image again, and if the colors of the pixel points between the glass image and the preset standard image are not consistent, displaying and clearing failure through a display screen.
6. The method of claim 5, wherein determining a second relative position of ink with respect to the reserve tank from the outline image and the ink image comprises:
determining the middle point of each straight line side of the glass according to the contour image;
and calculating the closest distance between the ink image and the midpoint of each straight line side, and setting the obtained corresponding relation between the closest distance and the midpoint of the straight line side as a second relative position of the ink relative to the reserved groove.
7. The method of claim 5, wherein the displaying the clearing failure via the display screen comprises:
adjusting the shooting position of the camera according to a preset adjusting instruction, shooting the glass again and transmitting a shot image;
extracting a glass image from the shot image according to the outline image;
comparing the image of the glass with a preset standard image, determining the position of ink according to the color difference condition of pixel points between the image of the glass and the preset standard image, and obtaining an ink image on the surface of the glass;
determining a third relative position of the ink with respect to the reserve tank based on the reserve tank image and the ink image;
controlling a laser to carry out fixed-point removal on the ink on the surface of the glass according to the third relative position;
and comparing the glass image with the preset standard image again, and if the colors of the pixel points between the glass image and the preset standard image are not consistent, displaying and clearing failure through a display screen.
8. A glass surface ink removal device, comprising:
the shot image receiving module (310) is used for receiving shot images sent by the camera, and the shot images comprise contour images of the glass and reserved groove images;
a glass image extraction module (320) for extracting an image of glass from the captured image according to the outline image;
the ink image determining module (330) is used for comparing the image of the glass with a preset standard image, determining the position of ink according to the color difference condition of pixel points between the image of the glass and the preset standard image, and obtaining an ink image on the surface of the glass;
a first relative position determination module (340) for determining a first relative position of ink with respect to the reserve tank based on the reserve tank image and the ink image;
the ink fixed-point removing module (350) is used for controlling the laser to carry out fixed-point removing on the ink on the glass surface according to the first relative position;
and the clearing result display module (360) is used for displaying the clearing result through the display screen.
9. A computer device comprising a memory and a processor, the memory having stored thereon a computer program that can be loaded by the processor and that executes the method according to any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which can be loaded by a processor and which executes the method of any one of claims 1 to 7.
CN202110853442.0A 2021-07-27 2021-07-27 Method, device and equipment for removing ink on glass surface and storage medium Pending CN113620614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110853442.0A CN113620614A (en) 2021-07-27 2021-07-27 Method, device and equipment for removing ink on glass surface and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110853442.0A CN113620614A (en) 2021-07-27 2021-07-27 Method, device and equipment for removing ink on glass surface and storage medium

Publications (1)

Publication Number Publication Date
CN113620614A true CN113620614A (en) 2021-11-09

Family

ID=78381221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110853442.0A Pending CN113620614A (en) 2021-07-27 2021-07-27 Method, device and equipment for removing ink on glass surface and storage medium

Country Status (1)

Country Link
CN (1) CN113620614A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611147A (en) * 2015-10-30 2016-05-25 北京旷视科技有限公司 Shooting method and device
CN106587650A (en) * 2016-10-25 2017-04-26 伯恩高新科技(惠州)有限公司 Reworking method for locally defective silk screen glass
CN107169965A (en) * 2017-06-13 2017-09-15 福耀集团(上海)汽车玻璃有限公司 A kind of method and device of inspection glass
CN107367515A (en) * 2017-07-14 2017-11-21 华南理工大学 A kind of ultrathin flexible IC substrate ink foreign matter detection systems and method
CN107392906A (en) * 2017-08-10 2017-11-24 芜湖德海机器人科技有限公司 A kind of cleaning glass method based on multiple IMAQ and manipulator
CN109613002A (en) * 2018-11-21 2019-04-12 腾讯科技(深圳)有限公司 A kind of glass defect detection method, apparatus and storage medium
CN110596128A (en) * 2018-05-25 2019-12-20 上海翌视信息技术有限公司 Sheet glass edge flaw detection system based on image acquisition
CN112085707A (en) * 2020-08-18 2020-12-15 北京华夏视科技术股份有限公司 Printed matter color detection method, device, equipment and medium
CN112784900A (en) * 2021-01-22 2021-05-11 深圳壹账通智能科技有限公司 Image target comparison method and device, computer equipment and readable storage medium
CN112960899A (en) * 2021-03-12 2021-06-15 蓝思科技(长沙)有限公司 Glass breaking method and glass product
CN113034488A (en) * 2021-04-13 2021-06-25 荣旗工业科技(苏州)股份有限公司 Visual detection method of ink-jet printed matter
CN113066389A (en) * 2019-12-26 2021-07-02 杭州海康威视数字技术股份有限公司 Method and device for processing Light Emitting Diode (LED) lamp panel

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611147A (en) * 2015-10-30 2016-05-25 北京旷视科技有限公司 Shooting method and device
CN106587650A (en) * 2016-10-25 2017-04-26 伯恩高新科技(惠州)有限公司 Reworking method for locally defective silk screen glass
CN107169965A (en) * 2017-06-13 2017-09-15 福耀集团(上海)汽车玻璃有限公司 A kind of method and device of inspection glass
CN107367515A (en) * 2017-07-14 2017-11-21 华南理工大学 A kind of ultrathin flexible IC substrate ink foreign matter detection systems and method
CN107392906A (en) * 2017-08-10 2017-11-24 芜湖德海机器人科技有限公司 A kind of cleaning glass method based on multiple IMAQ and manipulator
CN110596128A (en) * 2018-05-25 2019-12-20 上海翌视信息技术有限公司 Sheet glass edge flaw detection system based on image acquisition
CN109613002A (en) * 2018-11-21 2019-04-12 腾讯科技(深圳)有限公司 A kind of glass defect detection method, apparatus and storage medium
CN113066389A (en) * 2019-12-26 2021-07-02 杭州海康威视数字技术股份有限公司 Method and device for processing Light Emitting Diode (LED) lamp panel
CN112085707A (en) * 2020-08-18 2020-12-15 北京华夏视科技术股份有限公司 Printed matter color detection method, device, equipment and medium
CN112784900A (en) * 2021-01-22 2021-05-11 深圳壹账通智能科技有限公司 Image target comparison method and device, computer equipment and readable storage medium
CN112960899A (en) * 2021-03-12 2021-06-15 蓝思科技(长沙)有限公司 Glass breaking method and glass product
CN113034488A (en) * 2021-04-13 2021-06-25 荣旗工业科技(苏州)股份有限公司 Visual detection method of ink-jet printed matter

Similar Documents

Publication Publication Date Title
CN111307818A (en) Visual online detection method for laser welding spot of lithium battery tab
CN108876768B (en) Shadow defect detection method for light guide plate
CN108345085A (en) Focus method and focusing system
CN109862345B (en) Method and system for testing field angle
CN109227352B (en) Substrate defect repairing method and system
JP2007285754A (en) Flaw detection method and flaw detector
CN110930368B (en) Method for extracting characteristics of real-time welding image of sheet lap weld
CN114119535A (en) Laser cleaning effect on-line monitoring method based on visual detection
CN111724383A (en) Camera module black spot detection system based on turntable
CN111915485B (en) Rapid splicing method and system for feature point sparse workpiece images
CN113828948B (en) Plate edge searching method, calibration system and edge searching system of laser cutting machine
CN111627073A (en) Calibration method, calibration device and storage medium based on human-computer interaction
CN114979469A (en) Camera mechanical error calibration method and system based on machine vision comparison
CN114612418A (en) Method, device and system for detecting surface defects of mouse shell and electronic equipment
CN114113116A (en) Accurate detection process method for micro-defects on surface of large-diameter element
CN113620614A (en) Method, device and equipment for removing ink on glass surface and storage medium
CN115526820A (en) Workpiece detection method and equipment
US8274597B2 (en) System and method for measuring a border of an image of an object
CN110658215B (en) PCB automatic splicing detection method and device based on machine vision
CN117132583A (en) Wafer defect detection method and device, electronic equipment and nonvolatile storage medium
CN110672620B (en) Chip defect detection method and system
CN116758425A (en) Automatic acceptance checking method and device for large-base photovoltaic power station
CN113298076B (en) Method, device, equipment and medium for collecting correction data of plane processing equipment
CN113727022B (en) Method and device for collecting inspection image, electronic equipment and storage medium
CN116060256A (en) Battery cell glue dripping method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211109