CN111062941B - Point light source fault detection device and method - Google Patents

Point light source fault detection device and method Download PDF

Info

Publication number
CN111062941B
CN111062941B CN201911413299.2A CN201911413299A CN111062941B CN 111062941 B CN111062941 B CN 111062941B CN 201911413299 A CN201911413299 A CN 201911413299A CN 111062941 B CN111062941 B CN 111062941B
Authority
CN
China
Prior art keywords
image
point
fault
lamp
points
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
CN201911413299.2A
Other languages
Chinese (zh)
Other versions
CN111062941A (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 Ex Lighting Technology Holdings Co Ltd
Original Assignee
Shenzhen Ex Lighting Technology Holdings 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 Ex Lighting Technology Holdings Co Ltd filed Critical Shenzhen Ex Lighting Technology Holdings Co Ltd
Priority to CN201911413299.2A priority Critical patent/CN111062941B/en
Publication of CN111062941A publication Critical patent/CN111062941A/en
Application granted granted Critical
Publication of CN111062941B publication Critical patent/CN111062941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • 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/30164Workpiece; Machine component

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the invention provides a point light source fault detection device and a point light source fault detection method, wherein the device comprises the following steps: the lamp spot image acquisition module is used for acquiring real-time images of all the lamp spots contained in the point light source according to a preset frequency; the image processing module is used for processing the real-time image and the pre-stored standard image when all the light points of the point light source are lighted so as to obtain a target image of suspected fault points displayed with the light points and a template image marked with the position of each light point; the fault point determining module is used for comparing the template image with the target image and determining suspected fault points corresponding to the lamp points of the template image in the target image as actual fault points; and the fault information generation module is used for correspondingly sending out fault information according to the actual fault points in the target image. The embodiment can effectively detect the light source light faults.

Description

Point light source fault detection device and method
Technical Field
The embodiment of the invention relates to the technical field of lamp equipment, in particular to a point light source fault detection device and method.
Background
The existing point light source landscape lamp generally needs to monitor the working state of a point light source in real time, generates fault information immediately when the point light source generates faults, and is convenient to maintain. In the existing fault monitoring method, a controller of a point light source generally sends a request for testing an address code to the point light source, and if the point light source cannot return the address code to the controller, the controller judges that the point light source has a fault. However, when the point light source can still communicate normally and the point light source is in fault such as normal on or normal off due to the fact that the point light source cannot be controlled effectively, the fault monitoring method can have a fault judgment condition, the fault of the point light source cannot be found timely, and maintenance is not facilitated.
Disclosure of Invention
The technical problem to be solved by the embodiment of the invention is to provide the point light source fault detection device which can effectively detect the light faults of the point light source.
The technical problem to be solved by the embodiment of the invention is to provide a point light source lamp fault detection method which can effectively detect the lamp fault of the point light source.
In order to solve the technical problems, the embodiment of the invention provides the following technical scheme: a point light source lamp failure detection device, comprising:
The lamp spot image acquisition module is used for acquiring real-time images of all the lamp spots contained in the point light source according to a preset frequency;
The image processing module is used for processing the real-time image and the pre-stored standard image when all the light points of the point light source are lighted so as to obtain a target image of suspected fault points displayed with the light points and a template image marked with the position of each light point;
The fault point determining module is used for comparing the template image with the target image and determining suspected fault points corresponding to the lamp points of the template image in the target image as actual fault points; and
And the fault information generation module is used for correspondingly sending out fault information according to the actual fault points in the target image.
Further, the image processing module includes:
the storage unit is used for pre-storing standard images of all the point light sources when all the point light sources are lighted;
The gray processing unit is used for gray processing the standard image and the real-time image;
the position determining unit is used for sequentially adopting a pre-stored edge detection model and a pattern detection model for the standard image after gray level processing, and marking each preset pattern detected randomly in the pattern detection process as a lamp point so as to obtain a template image marked with the position of each lamp point;
The suspected fault point determining unit is used for analyzing and processing the standard image and the real-time image after gray processing and two continuously acquired real-time images to determine a target image of the suspected fault point with the lamp point.
Further, the suspected fault point determining unit includes:
the first suspected fault point generation subunit is used for sequentially binarizing, differentiating and denoising the standard image and the real-time image after gray processing, determining the denoised differential image as a first image to be tested, and determining a target with a first preset color in the denoised differential image as a first suspected fault point of the lamp point;
The second suspected fault point generating subunit is used for sequentially carrying out background color removal, image difference and denoising on two continuously acquired real-time images, determining a denoised difference picture as a second image to be detected, and determining a target with a second preset color exceeding a preset proportion in the denoised difference picture as a second suspected fault point of the lamp point;
And the comprehensive processing subunit is used for determining the first image to be detected and the second image to be detected as target images, and correspondingly determining the first suspected fault point and the second suspected fault point as the suspected fault points of the first image to be detected and the second image to be detected respectively.
Further, the edge detection model and the pattern detection model are respectively a Canny edge detection model and a Hough circle detection model.
Further, the device further comprises:
And the work order generation module is used for generating a maintenance work order according to the fault information and a pre-stored corresponding relation table of the position of the actual fault point in the target image and the lamp point model.
On the other hand, in order to solve the above technical problems, the embodiment of the present invention provides the following technical solutions: a point light source fault detection method comprises the following steps:
Acquiring real-time images of all the light points contained in the point light source according to a preset frequency;
Processing the real-time image and a pre-stored standard image when all the light points of the point light source are lighted to obtain a target image of suspected fault points displayed with the light points and a template image marked with the positions of each light point;
comparing the template image with the target image, and determining suspected fault points corresponding to the lamp points of the template image in the target image as actual fault points; and
And correspondingly sending out fault information according to the actual fault point in the target image.
Further, the processing the real-time image and the pre-stored standard image when all the light points of the point light source are lighted to obtain a target image of suspected fault points displayed with the light points and a template image marked with the positions of each light point comprises: pre-storing standard images of all the point light sources when all the point light sources are lighted;
gray processing is carried out on the standard image and the real-time image;
Sequentially adopting a pre-stored edge detection model and a pattern detection model for the standard image after gray level processing, and marking each preset pattern arbitrarily detected in the pattern detection process as a lamp point so as to obtain a template image marked with the position of each lamp point;
and analyzing and processing the standard image and the real-time image after gray processing and the two continuously acquired real-time images to determine a target image of the suspected fault point with the lamp point.
Further, the analyzing the standard image and the real-time image after gray processing and the two real-time images obtained continuously, and determining the target image of the suspected fault point with the lamp point comprises:
Sequentially carrying out binarization, image difference and denoising on the standard image and the real-time image after gray level processing, determining the denoised difference image as a first image to be tested, and determining a target with a first preset color in the denoised difference image as a first suspected fault point of the lamp point;
sequentially removing background color, image difference and denoising the two continuously acquired real-time images, determining the denoised difference images as second images to be detected, and determining targets with second preset colors exceeding a preset proportion in the denoised difference images as second suspected fault points of the lamp points;
And determining the first image to be detected and the second image to be detected as target images, and correspondingly determining the first suspected fault point and the second suspected fault point as the suspected fault points of the first image to be detected and the second image to be detected respectively.
Further, the edge detection model and the pattern detection model are respectively a Canny edge detection model and a Hough circle detection model.
Further, the method comprises the following steps:
And generating a maintenance work order according to the fault information and a pre-stored corresponding relation table of the position of the actual fault point in the target image and the lamp point model.
After the technical scheme is adopted, the embodiment of the invention has at least the following beneficial effects: according to the embodiment of the invention, the real-time images of all the lamp points contained in the point light source are acquired according to the preset frequency through the lamp point image acquisition module, the image processing module processes the real-time images and the pre-stored standard images of all the lamp points of the point light source when the lamp points are all lighted so as to acquire the target image of the suspected fault point displayed with the lamp point and the template image marked with the position of each lamp point, so that the fault point determination module compares the template image marked with the position of each lamp point with the target image of the suspected fault point displayed with the lamp point, determines the suspected fault point corresponding to the lamp point of the template image in the target image as an actual fault point, judges whether the lamp point is faulty according to the lighting condition of each lamp point when the point light source specifically works, and avoids misjudgment that the lamp point of the point light source cannot be controlled and communication is normal, and can effectively detect the lamp fault of the point light source; and then sending out fault information according to the actual fault point correspondence in the target image by a fault information generation module, and timely feeding back the fault information to maintenance personnel.
Drawings
Fig. 1 is a schematic diagram of a template image of an alternative embodiment of the spot light failure detection apparatus of the present invention.
Fig. 2 is a schematic diagram of a real-time image of an alternative embodiment of the point light source fault detection device of the present invention.
Fig. 3 is a schematic diagram of a real-time image and a standard image difference principle of an alternative embodiment of the point light source fault detection device of the present invention.
Fig. 4 is a schematic diagram of a real-time image of another alternative embodiment of the point light source fault detection device of the present invention.
Fig. 5 is a schematic diagram of an alternative embodiment of the point light source fault detection device according to the present invention, which is an adjacent image of the real-time image shown in fig. 4.
Fig. 6 is a schematic diagram of a point light source fault detection device according to an alternative embodiment of the present invention, wherein the real-time image shown in fig. 4 is differentiated from an adjacent image.
Fig. 7 is a block diagram of an alternative embodiment of the spot light failure detection apparatus of the present invention.
Fig. 8 is a block diagram of an image processing module of an alternative embodiment of the spot light failure detection apparatus according to the present invention.
Fig. 9 is a block schematic diagram of an alternative fault point determining unit of an alternative embodiment of the point light source fault detecting device of the present invention.
Fig. 10 is a block diagram of another alternative embodiment of the spot light failure detection apparatus of the present invention.
FIG. 11 is a flowchart illustrating steps of an alternative embodiment of a point light source fault detection method according to the present invention.
Fig. 12 is a flowchart showing a step S2 of an alternative embodiment of the point light source fault detection method according to the present invention.
Fig. 13 is a flowchart showing a specific step of step S34 of an alternative embodiment of the point light source fault detection method according to the present invention.
Detailed Description
The application will be described in further detail with reference to the drawings and the specific examples. It should be understood that the following exemplary embodiments and descriptions are only for the purpose of illustrating the application and are not to be construed as limiting the application, and that the embodiments and features of the embodiments of the application may be combined with one another without conflict.
As shown in fig. 1 to 7, an alternative embodiment of the present invention provides a point light source lamp failure detection apparatus, including:
A lamp spot image acquisition module 1 for acquiring a real-time image of each lamp spot included in the point light source at a predetermined frequency;
The image processing module 3 is used for processing the real-time image and the pre-stored standard image when all the light points of the point light source are lighted to obtain a target image of suspected fault points displayed with the light points and a template image A marked with the position a of each light point; the fault point determining module 5 is configured to compare the template image a with the target image, and determine a suspected fault point corresponding to the lamp point position of the template image a in the target image as an actual fault point c; and
And the fault information generation module 7 is used for correspondingly sending out fault information according to the actual fault point c in the target image.
In the embodiments of fig. 1-6, a filled-in circular pattern is indicative of a non-lit or fail-safe light point, and a non-filled circular pattern is indicative of a lit or fail-safe light point. It will be understood that the real-time image B1 shown in fig. 2, the real-time image B2 shown in fig. 4, and the adjacent image D shown in fig. 5 and shown in fig. 4 are all real-time images of the respective light points mentioned in the present invention.
According to the embodiment of the invention, the real-time images of all the light points contained in the point light source are acquired according to the preset frequency through the light point image acquisition module 1, the image processing module 3 processes the real-time images and the pre-stored standard images of all the light points of the point light source when the point light source is lightened so as to acquire the target image of the suspected fault point displayed with the light point and the template image A marked with the position a of each light point, so that the fault point determination module 5 compares the template image marked with the position of each light point with the target image of the suspected fault point displayed with the light point, determines the suspected fault point corresponding to the position a of the light point of the template image A in the target image as an actual fault point c, judges whether the light point is faulty according to the lighting condition of each light point when the point light source is particularly operated, avoids the misjudgment that the light point of the point light source cannot be controlled and is normally communicated, and can effectively detect the light fault of the light source; and then, fault information is correspondingly sent out according to the actual fault points in the target image through a fault information generation module 7, the fault information is timely fed back to maintenance personnel, and the maintenance efficiency is improved.
In yet another alternative embodiment of the present invention, as shown in fig. 8, the image processing module 3 includes:
a storage unit 30 for pre-storing standard images of all the point lights of the point light source when all the point lights are lighted;
a gradation processing unit 32 for performing gradation processing on the standard image and the real-time image;
A position determining unit 34, configured to sequentially apply a pre-stored edge detection model and a pattern detection model to the standard image after gray processing, and mark each predetermined pattern arbitrarily detected in the pattern detection process as a lamp point, so as to obtain a template image a marked with a position a of each lamp point;
The suspected fault point determining unit 36 is configured to analyze and process the standard image and the real-time image after gray processing and two continuously acquired real-time images, and determine a target image of the suspected fault point with the lamp point displayed.
According to the embodiment of the invention, the standard images of all the light points of the point light source are prestored in the storage unit 30, the gray processing unit 32 carries out gray processing on the standard images and the real-time images, then the position determining unit 34 sequentially adopts a prestored edge detection model and a pattern detection model on the standard images after gray processing, each preset pattern which is arbitrarily detected in the pattern detection process is marked as a light point so as to obtain the template image A marked with the position a of each light point, and finally the suspected fault point determining unit 36 carries out analysis processing on the standard images and the real-time images after gray processing and the two continuously acquired real-time images to determine the target images of the suspected fault points displayed with the light points, so that the template image A and the target images of the suspected fault points displayed with the light points can be effectively generated, and the image processing efficiency is high.
In another alternative embodiment of the present invention, as shown in fig. 9, the suspected fault point determining unit 36 includes:
The first suspected fault point generating subunit 361 is configured to sequentially binarize, image difference and denoise the standard image and the real-time image after gray processing, determine the denoised differential image as a first to-be-detected image C1, and determine a target with a first predetermined color in the denoised differential image as a first suspected fault point b1 of the lamp point;
The second suspected fault point generating subunit 363 is configured to sequentially perform background color removal, image difference and denoising on two continuously acquired real-time images, determine the denoised difference image as a second image to be detected C2, and determine a target with a second predetermined color exceeding a predetermined proportion in the denoised difference image as a second suspected fault point b2 of the lamp point;
The comprehensive processing subunit 365 is configured to determine the first to-be-detected image C1 and the second to-be-detected image C2 as target images, and correspondingly determine the first suspected fault point b1 and the second suspected fault point b2 as suspected fault points of the first to-be-detected image C1 and the second to-be-detected image C2, respectively.
According to the embodiment of the invention, the standard image and the real-time image after gray processing are sequentially binarized, image differentiated and denoised through the first suspected fault point generation subunit 361, the denoised differential image is determined to be the first to-be-detected image C1, the target with the first preset color in the denoised differential image is determined to be the first suspected fault point b1 of the lamp point, the second suspected fault point generation subunit 363 sequentially denoises the two continuously acquired real-time images, the denoised differential image is determined to be the second to-be-detected image C2, the target with the second preset color exceeding the preset proportion in the denoised differential image is determined to be the second suspected fault point b2 of the lamp point, and finally the comprehensive processing subunit 365 synthesizes, so that the first suspected fault point b1 (normally-down fault) and the second suspected fault point b2 (normally-on fault) of the lamp point contained in the point light source can be effectively detected. In specific implementation, sequentially removing the background color of two continuously acquired real-time images, adopting a pre-stored multi-threshold segmentation model, separating three-channel images into R, G, B images, then respectively carrying out threshold segmentation on the three channels, setting a preset threshold, merging the three channels after threshold segmentation, realizing the picture background color removal, and displaying the information of the highlight part by the picture, so that the normally-lighted lamp points in the images can be displayed.
In yet another alternative embodiment of the present invention, the edge detection model and the pattern detection model are a Canny edge detection model and a Hough circle detection model, respectively. According to the embodiment of the invention, the Canny edge detection model and the Hough circle detection model are respectively adopted as the edge detection model and the pattern detection model, so that the detection efficiency is high; the point light source is generally in a circular pattern, and the position of the point light source is effectively identified by adopting a Hough circle detection model.
In addition, the general processing steps of the Canny edge detection model are to use gaussian filtering to denoise the picture, calculate image gradient values and gradient directions, non-maximum suppression, and apply dual threshold detection to determine true and potential edges.
Then, the general processing steps of the Hough circle detection model are that firstly, an accumulator linked list is created and is composed of each pixel cell in the image, the accumulator linked list is initialized, and then cell values which can be a circle center are accumulated according to a circle equation for edge points of each image; when the accumulator linked list reaches a set threshold, verification is performed to judge whether the accumulator contains enough characteristic points, if so, the detected circle is output, otherwise, the accumulator linked list is initialized until the whole image is detected.
In yet another alternative embodiment of the present invention, as shown in fig. 10, the apparatus further comprises:
And the work order generation module 9 is used for generating a maintenance work order according to the fault information and a pre-stored corresponding relation table of the position of the actual fault point c in the target image and the lamp point model.
In the embodiment of the invention, the work order generating module 9 is used for generating the maintenance work order according to the fault information and the pre-stored corresponding relation table of the position of the actual fault point c in the target image and the lamp point model, and maintenance personnel directly replace the lamp point model according to the maintenance work order, so that the maintenance efficiency is improved.
On the other hand, as shown in fig. 11, an embodiment of the present invention provides a method for detecting a point failure of a point light source, including the following steps:
S1: acquiring real-time images of all the light points contained in the point light source according to a preset frequency;
S2: processing the real-time image and a pre-stored standard image when all the light points of the point light source are lighted to obtain a target image of suspected fault points displayed with the light points and a template image A marked with the position a of each light point;
S3: comparing the template image A with the target image, and determining a suspected fault point corresponding to the lamp point position a of the template image A in the target image as an actual fault point c; and
S4: and correspondingly sending out fault information according to the actual fault point c in the target image.
According to the embodiment of the invention, through the method, the real-time image of each lamp point contained in the point light source is obtained according to the preset frequency, the real-time image and the pre-stored standard image of each lamp point of the point light source when all the lamp points are lighted are processed to obtain the target image of the suspected fault point displayed with the lamp point and the template image A marked with the position a of each lamp point, so that the template image marked with the position a of each lamp point is compared with the target image of the suspected fault point displayed with the lamp point, the suspected fault point corresponding to the position a of the lamp point of the template image A in the target image is determined as the actual fault point c, whether the lamp point is faulty is judged according to the lighting condition of each lamp point when the point light source specifically works, the misjudgment that the lamp point of the point light source cannot be controlled and communication is normal is avoided, and the light fault of the light source can be effectively detected; and then sending out fault information according to the actual fault point correspondence in the target image, and timely feeding back the fault information to maintenance personnel to improve maintenance efficiency.
In an alternative embodiment of the present invention, as shown in fig. 12, the step S2 includes:
s21: pre-storing standard images of all the point light sources when all the point light sources are lighted;
s22: gray processing is carried out on the standard image and the real-time image;
S23: sequentially adopting a pre-stored edge detection model and a pattern detection model for the standard image after gray level processing, and marking each preset pattern arbitrarily detected in the pattern detection process as a lamp point so as to obtain a template image A marked with the position a of each lamp point;
s24: and analyzing and processing the standard image and the real-time image after gray processing and the two continuously acquired real-time images to determine a target image of the suspected fault point with the lamp point.
According to the embodiment of the invention, through the method, the standard image when all the light points of the point light source are lighted is prestored, gray processing is carried out on the standard image and the real-time image, then a prestored edge detection model and a prestored pattern detection model are sequentially adopted on the standard image after gray processing, each preset pattern which is arbitrarily detected in the pattern detection process is marked as the light point, so that a template image A marked with the position a of each light point is obtained, finally analysis processing is carried out on the standard image and the real-time image after gray processing and two continuously obtained real-time images, the target image of the suspected fault point of the light point is determined, the template image A and the target image of the suspected fault point of the light point is effectively generated, and the image processing efficiency is high.
In another alternative embodiment of the present invention, as shown in fig. 13, the step S24 includes:
S241: sequentially carrying out binarization, image difference and denoising on the standard image and the real-time image after gray level processing, determining the denoised difference image as a first image to be tested, and determining a target with a first preset color in the denoised difference image as a first suspected fault point of the lamp point;
S242: sequentially removing background color, image difference and denoising the two continuously acquired real-time images, determining the denoised difference images as second images to be detected, and determining targets with second preset colors exceeding a preset proportion in the denoised difference images as second suspected fault points of the lamp points;
s243: and determining the first image to be detected and the second image to be detected as target images, and correspondingly determining the first suspected fault point and the second suspected fault point as the suspected fault points of the first image to be detected and the second image to be detected respectively.
In yet another alternative embodiment of the present invention, the edge detection model and the pattern detection model are respectively a Canny edge detection model and a Hough circle detection model.
According to the embodiment of the invention, through the method, binarization, image difference and denoising are sequentially carried out on the standard image and the real-time image after gray processing, the denoised difference image is determined to be a first to-be-detected image C1, a target with a first preset color in the denoised difference image is determined to be a first suspected fault point b1 of a lamp point, background color removal, image difference and denoising are sequentially carried out on two continuously acquired real-time images, the denoised difference image is determined to be a second to-be-detected image C2, a target with a second preset color exceeding a preset proportion in the denoised difference image is determined to be a second suspected fault point b2 of the lamp point, and finally synthesis is carried out, so that the first suspected fault point b1 (normally-down fault) and the second suspected fault point b2 (normally-on fault) of the lamp point contained in the point light source can be effectively detected.
In yet another alternative embodiment of the present invention, the method further comprises the steps of:
s5: and generating a maintenance work order according to the fault information and a pre-stored corresponding relation table of the position of the actual fault point c in the target image and the lamp point model.
According to the method, the maintenance work order is generated according to the fault information and the pre-stored corresponding relation table of the position of the actual fault point c in the target image and the lamp point model, and maintenance staff directly replace the lamp point model according to the corresponding maintenance work order, so that maintenance efficiency is improved.
The functionality of the embodiments of the present invention, if implemented in the form of software functional modules or units and sold or used as a stand-alone product, may be stored in a computing device readable storage medium. Based on such understanding, a part of the present invention that contributes to the prior art or a part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes. In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are all within the scope of the present invention.

Claims (6)

1. A point light source lamp failure detection apparatus, the apparatus comprising:
The lamp spot image acquisition module is used for acquiring real-time images of all the lamp spots contained in the point light source according to a preset frequency;
The image processing module is used for processing the real-time image and the pre-stored standard image when all the light points of the point light source are lighted so as to obtain a target image of suspected fault points displayed with the light points and a template image marked with the position of each light point;
The fault point determining module is used for comparing the template image with the target image and determining suspected fault points corresponding to the lamp points of the template image in the target image as actual fault points; and
The fault information generation module is used for correspondingly sending out fault information according to the actual fault points in the target image;
The image processing module includes:
the storage unit is used for pre-storing standard images of all the point light sources when all the point light sources are lighted;
The gray processing unit is used for gray processing the standard image and the real-time image;
the position determining unit is used for sequentially adopting a pre-stored edge detection model and a pattern detection model for the standard image after gray level processing, and marking each preset pattern detected randomly in the pattern detection process as a lamp point so as to obtain a template image marked with the position of each lamp point;
the suspected fault point determining unit is used for analyzing and processing the standard image and the real-time image after gray processing and two continuously acquired real-time images to determine a target image of the suspected fault point with the lamp point;
The suspected fault point determining unit includes:
the first suspected fault point generation subunit is used for sequentially binarizing, differentiating and denoising the standard image and the real-time image after gray processing, determining the denoised differential image as a first image to be tested, and determining a target with a first preset color in the denoised differential image as a first suspected fault point of the lamp point;
The second suspected fault point generating subunit is used for sequentially carrying out background color removal, image difference and denoising on two continuously acquired real-time images, determining a denoised difference picture as a second image to be detected, and determining a target with a second preset color exceeding a preset proportion in the denoised difference picture as a second suspected fault point of the lamp point;
And the comprehensive processing subunit is used for determining the first image to be detected and the second image to be detected as target images, and correspondingly determining the first suspected fault point and the second suspected fault point as the suspected fault points of the first image to be detected and the second image to be detected respectively.
2. The point light source lamp point fault detection device according to claim 1, wherein the edge detection model and the pattern detection model are a Canny edge detection model and a Hough circle detection model, respectively.
3. The point light source lamp point failure detection apparatus as claimed in claim 1, further comprising:
And the work order generation module is used for generating a maintenance work order according to the fault information and a pre-stored corresponding relation table of the position of the actual fault point in the target image and the lamp point model.
4. A method for detecting a point light source failure, the method comprising the steps of:
Acquiring real-time images of all the light points contained in the point light source according to a preset frequency;
Gray processing is carried out on a standard image and a real-time image when all the pre-stored point light sources are lighted;
Sequentially adopting a pre-stored edge detection model and a pattern detection model for the standard image after gray level processing, and marking each preset pattern arbitrarily detected in the pattern detection process as a lamp point so as to obtain a template image marked with the position of each lamp point;
Sequentially carrying out binarization, image difference and denoising on the standard image and the real-time image after gray level processing, determining the denoised difference image as a first image to be tested, and determining a target with a first preset color in the denoised difference image as a first suspected fault point of the lamp point;
sequentially removing background color, image difference and denoising the two continuously acquired real-time images, determining the denoised difference images as second images to be detected, and determining targets with second preset colors exceeding a preset proportion in the denoised difference images as second suspected fault points of the lamp points;
determining the first image to be detected and the second image to be detected as target images, and correspondingly determining the first suspected fault point and the second suspected fault point as the suspected fault points of the first image to be detected and the second image to be detected respectively;
comparing the template image with the target image, and determining suspected fault points corresponding to the lamp points of the template image in the target image as actual fault points; and
And correspondingly sending out fault information according to the actual fault point in the target image.
5. The point light source lamp point fault detection method as claimed in claim 4, wherein the edge detection model and the pattern detection model are a Canny edge detection model and a Hough circle detection model, respectively.
6. The point light source lamp point fault detection method as claimed in claim 4, further comprising the steps of:
And generating a maintenance work order according to the fault information and a pre-stored corresponding relation table of the position of the actual fault point in the target image and the lamp point model.
CN201911413299.2A 2019-12-31 2019-12-31 Point light source fault detection device and method Active CN111062941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911413299.2A CN111062941B (en) 2019-12-31 2019-12-31 Point light source fault detection device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911413299.2A CN111062941B (en) 2019-12-31 2019-12-31 Point light source fault detection device and method

Publications (2)

Publication Number Publication Date
CN111062941A CN111062941A (en) 2020-04-24
CN111062941B true CN111062941B (en) 2024-04-19

Family

ID=70306028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911413299.2A Active CN111062941B (en) 2019-12-31 2019-12-31 Point light source fault detection device and method

Country Status (1)

Country Link
CN (1) CN111062941B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113146404B (en) * 2020-05-29 2022-10-14 浙江大学 Automatic detection device for complex curved surface component
CN111929032B (en) * 2020-09-23 2021-01-22 歌尔股份有限公司 Light source detection method, detection device and readable storage medium
CN112954853B (en) * 2021-02-04 2022-04-29 深圳爱克莱特科技股份有限公司 LED screen lamp point fault detection device and method

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01277781A (en) * 1988-04-30 1989-11-08 Nippon Telegr & Teleph Corp <Ntt> Testing apparatus for integrated circuit
JP2010054421A (en) * 2008-08-29 2010-03-11 Toppan Printing Co Ltd Inspection method and inspection device
CN202676612U (en) * 2012-07-19 2013-01-16 华南师范大学 Device used for testing LED circuit chip
JP2013155019A (en) * 2012-01-31 2013-08-15 Mitsubishi Electric Corp Device and method for checking illumination of elevator
CN104318879A (en) * 2014-10-20 2015-01-28 京东方科技集团股份有限公司 Display device and display device failure analysis system and method
CN104535356A (en) * 2015-01-19 2015-04-22 中南大学 Method and system for monitoring rope arrangement faults of drum steel wire rope on basis of machine vision
CN105703827A (en) * 2016-04-22 2016-06-22 成都英鑫光电科技有限公司 Optical connector fault detection method and device and controller
CN106409197A (en) * 2016-11-21 2017-02-15 西安诺瓦电子科技有限公司 LED lamp board fault detection method
CN107255874A (en) * 2017-08-10 2017-10-17 国网重庆市电力公司电力科学研究院 A kind of electric energy meter liquid-crystal apparatus fault detection method and system
CN107301637A (en) * 2017-05-22 2017-10-27 南京理工大学 Nearly rectangle plane shape industrial products surface flaw detecting method
CN107563301A (en) * 2017-08-09 2018-01-09 上海炬宏信息技术有限公司 Red signal detection method based on image processing techniques
JP2019067373A (en) * 2017-10-02 2019-04-25 大日本印刷株式会社 Feature image generation device, inspection equipment, feature image generation method and feature image generation program
CN109697735A (en) * 2019-01-14 2019-04-30 刘翔宇 Visible light image processing method for positioning in faced chamber under intelligent lamp
CN110335271A (en) * 2019-07-10 2019-10-15 浙江铁素体智能科技有限公司 A kind of infrared detection method and device of electrical component failures

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01277781A (en) * 1988-04-30 1989-11-08 Nippon Telegr & Teleph Corp <Ntt> Testing apparatus for integrated circuit
JP2010054421A (en) * 2008-08-29 2010-03-11 Toppan Printing Co Ltd Inspection method and inspection device
JP2013155019A (en) * 2012-01-31 2013-08-15 Mitsubishi Electric Corp Device and method for checking illumination of elevator
CN202676612U (en) * 2012-07-19 2013-01-16 华南师范大学 Device used for testing LED circuit chip
CN104318879A (en) * 2014-10-20 2015-01-28 京东方科技集团股份有限公司 Display device and display device failure analysis system and method
CN104535356A (en) * 2015-01-19 2015-04-22 中南大学 Method and system for monitoring rope arrangement faults of drum steel wire rope on basis of machine vision
CN105703827A (en) * 2016-04-22 2016-06-22 成都英鑫光电科技有限公司 Optical connector fault detection method and device and controller
CN106409197A (en) * 2016-11-21 2017-02-15 西安诺瓦电子科技有限公司 LED lamp board fault detection method
CN107301637A (en) * 2017-05-22 2017-10-27 南京理工大学 Nearly rectangle plane shape industrial products surface flaw detecting method
CN107563301A (en) * 2017-08-09 2018-01-09 上海炬宏信息技术有限公司 Red signal detection method based on image processing techniques
CN107255874A (en) * 2017-08-10 2017-10-17 国网重庆市电力公司电力科学研究院 A kind of electric energy meter liquid-crystal apparatus fault detection method and system
JP2019067373A (en) * 2017-10-02 2019-04-25 大日本印刷株式会社 Feature image generation device, inspection equipment, feature image generation method and feature image generation program
CN109697735A (en) * 2019-01-14 2019-04-30 刘翔宇 Visible light image processing method for positioning in faced chamber under intelligent lamp
CN110335271A (en) * 2019-07-10 2019-10-15 浙江铁素体智能科技有限公司 A kind of infrared detection method and device of electrical component failures

Also Published As

Publication number Publication date
CN111062941A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
CN111062941B (en) Point light source fault detection device and method
CN106097361B (en) Defect area detection method and device
CN110309033B (en) Fault monitoring method, device and system
GB2554361A8 (en) Automatic image based object damage assessment
CN108683907A (en) Optics module picture element flaw detection method, device and equipment
CN111289538B (en) PCB element detection system and detection method based on machine vision
KR20180004046A (en) Apparatus and method for inspection
CN103308523B (en) Method for detecting multi-scale bottleneck defects, and device for achieving method
CN107561737B (en) Method, device and tool for automatically adjusting IPC (International Process control) parameters of AOI (automatic Option identification) system
CN113870257B (en) Method and device for detecting and classifying defects of printed circuit board and computer storage medium
US11315229B2 (en) Method for training defect detector
WO1999056469A1 (en) Method and system for detecting errors in a sample image
CN114419038A (en) Method and device for identifying surface defects of hub, storage medium and electronic equipment
CN108802052A (en) A kind of detecting system and its detection method about slide fastener defect
CN115205291B (en) Circuit board detection method, device, equipment and medium
CN104867145A (en) IC element solder joint defect detection method based on VIBE model
WO2019159853A1 (en) Image processing device, image processing method, and recording medium
CN105205803A (en) Display panel defect detection method
CN113780484B (en) Industrial product defect detection method and device
CN111426693A (en) Quality defect detection system and detection method thereof
CN107607205A (en) Wire harness color sequences detecting system and method
CN107958452B (en) Method, device and system for monitoring running attitude of vehicle wheel set
CN109102486B (en) Surface defect detection method and device based on machine learning
CN105572133A (en) Flaw detection method and device
CN112380968A (en) Detection method, detection device, electronic equipment and storage medium

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