CN109257594A - TV delivery detection method, device and computer readable storage medium - Google Patents
TV delivery detection method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN109257594A CN109257594A CN201811365183.1A CN201811365183A CN109257594A CN 109257594 A CN109257594 A CN 109257594A CN 201811365183 A CN201811365183 A CN 201811365183A CN 109257594 A CN109257594 A CN 109257594A
- Authority
- CN
- China
- Prior art keywords
- information
- television set
- image
- text
- detection method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 93
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 230000005540 biological transmission Effects 0.000 claims abstract description 20
- 238000012360 testing method Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 description 18
- 239000000243 solution Substances 0.000 description 14
- 238000000034 method Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 238000004519 manufacturing process Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000001914 filtration Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000007689 inspection Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000000877 morphologic effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000003708 edge detection Methods 0.000 description 2
- 238000011897 real-time detection Methods 0.000 description 2
- 239000013598 vector Substances 0.000 description 2
- 241000167854 Bourreria succulenta Species 0.000 description 1
- 238000013019 agitation Methods 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000005260 corrosion Methods 0.000 description 1
- 230000007797 corrosion Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005530 etching Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 238000003706 image smoothing Methods 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 238000002347 injection Methods 0.000 description 1
- 239000007924 injection Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/004—Diagnosis, testing or measuring for television systems or their details for digital television systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/04—Diagnosis, testing or measuring for television systems or their details for receivers
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a kind of TV delivery detection method, device and computer readable storage mediums, comprising the following steps: when detecting that television set reaches detection zone, control sender unit is instructed to the television transmission default control;The image information of the television set is acquired and identifies, to obtain the text information in described image information, wherein described image information is the execution result information that the television set executes that screen is shown after the default control instructs;The implementing result of the default control instruction is obtained according to the text information.Because the present invention can reach when region is gone in detection detecting television set to the television transmission control instruction, and identify the execution result information that show of screen after television set executes control instruction, to solve the problems, such as to need that employee's operation television set exits factory mode and whether subjective judgement television set exits factory mode successfully when detect television set.
Description
Technical field
The present invention relates to television set detection field more particularly to a kind of TV delivery detection methods, device and computer
Readable storage medium storing program for executing.
Background technique
As industrial reform agitation is whistled, each company all carrying forward vigorously intelligence manufacture strategy, realize factory without
Peopleization, manufacture is intelligent, further breaks through industry technology barrier, reduces manual resource cost.
Factory is unmanned, it is most important that is embodied in production detection.But the factory of television set production model at present
Operation detection generally requires employee and first carries out exiting factory mode operation to television set, and then observation television machine is based on exiting work
The prompt information that factory's mode operational order returns goes confirmation television set to exit whether factory mode succeeds.It is needed under this operation mode
Wanting Manufacturing Worker to operate, television set exits factory mode and whether subjective judgement television set exits factory mode success, and increases
Produce manual resource cost required for television set.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of TV delivery detection method, device and computer-readable storage mediums
Matter, it is intended to which needing employee to operate when solution detection television set, television set exits factory mode and whether subjective judgement television set exits
The successful problem of factory mode.
In order to achieve the above object, the present invention provides a kind of TV delivery detection method, the TV delivery detection method
The following steps are included:
When detecting that television set reaches detection zone, sender unit is controlled to the television transmission default control
Instruction;
The image information of the television set is acquired and identifies, to obtain the text information in described image information, wherein institute
Stating image information is the execution result information that the television set executes that screen is shown after the default control instructs;
The implementing result of the default control instruction is obtained according to the text information.
Preferably, the image information acquired and identify the television set, to obtain the text in described image information
The step of information includes:
Acquire the image information of the television set;
Described image information is pre-processed, and is obtained text filed in pretreated described image information;
Obtain it is described it is text filed in the text information.
Preferably, described that described image information is pre-processed, and obtain in pretreated described image information
Text filed step includes:
Gray proces are carried out to described image information and obtain gray scale image;
The marginal information for extracting the gray scale image obtains binary image;
It obtains described text filed in the binary image.
Preferably, the text filed step obtained in the binary image includes:
Obtain the boundary position information of the binary image;
The described text filed of the binary image is obtained according to the boundary position information.
Preferably, it is described obtain it is described it is text filed in the text information the step of include:
Obtain it is described it is text filed in monocase binary image;
The binary image is compared with preset characters template, obtains the corresponding text envelope of matched Character mother plate
Breath.
Preferably, after described the step of obtaining matched Character mother plate corresponding text information, further includes:
Obtain that the text information is corresponding to be executed instruction;
When obtaining execute instruction corresponding less than the text information, the prompt information reexamined is exported.
Preferably, it is described obtain it is described it is text filed in monocase binary image the step of after, further includes:
After getting preset monocase binary image, it is corresponding to obtain the preset monocase binary image
Text information.
Preferably, before the step of control sender unit is instructed to the television transmission default control, institute
State TV delivery detection method further include:
When detecting that television set reaches detection zone, the luminance information around display panel is obtained;
When the luminance information is less than preset threshold, headlamp is opened.
In addition, to achieve the above object, the present invention also provides a kind of TV outgoing detector, the TV factory testing
Device includes processor, memory and is stored in the TV factory testing that can be run on the memory and on the processor
Program, the TV factory testing program realize the step of TV delivery detection method as described above when being executed by the processor
Suddenly.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
TV factory testing program is stored on storage medium, the TV factory testing program realizes institute as above when being executed by processor
The step of TV delivery detection method stated.
TV delivery detection method, device and computer readable storage medium provided by the invention, firstly, detecting
When television set reaches detection zone, control sender unit is instructed to the television transmission default control, and then, acquisition is simultaneously
The image information of the television set is identified, to obtain the text information in described image information, wherein described image information is institute
It states television set and executes the execution result information that screen is shown after the default control instructs, finally, being obtained according to the text information
Take the implementing result of the default control instruction.Because the present invention can reach when region is gone in detection described in detecting television set
Television transmission control instruction, and identify the execution result information that shows of screen after television set executes control instruction, to solve
Needing employee to operate when detecting television set, television set exits factory mode and whether subjective judgement television set exit factory's mould
The successful problem of formula.
Detailed description of the invention
Detailed description of the invention is used to provide further understanding of the present invention, and constitutes part of specification, with the present invention
Embodiment be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the hardware structural diagram for the TV outgoing detector that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of TV delivery detection method first embodiment of the present invention;
Fig. 3 is the flow diagram of TV delivery detection method second embodiment of the present invention;
Fig. 4 is the flow diagram of TV delivery detection method 3rd embodiment of the present invention;
Fig. 5 is the flow diagram of TV delivery detection method fourth embodiment of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of TV delivery detection method of the present invention;
Fig. 7 is the flow diagram of TV delivery detection method sixth embodiment of the present invention;
Fig. 8 is the flow diagram of the 7th embodiment of TV delivery detection method of the present invention;
Fig. 9 is the flow diagram of the 8th embodiment of TV delivery detection method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: when detecting that television set reaches detection zone, control signal hair
Injection device is instructed to the television transmission default control;Acquire and identify the image information of the television set, it is described to obtain
Text information in image information, wherein described image information is that the television set executes screen after the default control instruction
The execution result information of display;The implementing result of the default control instruction is obtained according to the text information.
Since the prior art needs Manufacturing Worker to operate in TV machine testing, television set exits factory mode and subjectivity is sentenced
Whether disconnected television set exits factory mode success, leads to manual resource cost required for increasing production television set.
The present invention provides a solution, firstly, when detecting that television set reaches detection zone, control signal transmitting
Device is instructed to the television transmission default control;Then, the image information of the television set is acquired and identifies, to obtain
State the text information in image information, wherein described image information is to shield after the television set executes the default control instruction
The execution result information of curtain display;Finally, obtaining the implementing result of the default control instruction according to the text information.Yin Ben
Invention can reach when region is gone in detection detecting television set to the television transmission control instruction, and identify that television set is held
The execution result information that screen is shown after row control instruction needs employee to operate television set to solve when detecting television set
It exits factory mode and whether subjective judgement television set exits the successful problem of factory mode.
As shown in Figure 1, Fig. 1 is that the embodiment of the present invention is related to the hardware structural diagram of device.
Referring to Fig.1, the apparatus may include processor 1001, such as CPU, memory 1002, communication bus 1003, nets
Network interface 1004.Wherein, communication bus 1003 is for realizing the connection communication between each building block in the device.Network interface
1004 may include optionally standard wireline interface and wireless interface (such as WI-FI interface).Memory 1002 can be high speed
RAM memory is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1002
It optionally can also be the storage device independently of aforementioned processor 1001.As shown in Figure 1, as a kind of computer storage medium
Memory 1002 in may include operating system, network communication module and TV factory testing program.
It will be understood by those skilled in the art that the restriction of the not structure twin installation of apparatus structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
In hardware involved in device shown in Fig. 1, network interface 1004 can be used for detecting television set arrival
To the television transmission control instruction when region is gone in detection, and identify the execution that screen is shown after television set executes control instruction
Result information;And processor 1001 can be used for calling the TV factory testing program stored in memory 1002, and execute with
Lower operation:
When detecting that television set reaches detection zone, sender unit is controlled to the television transmission default control
Instruction;
The image information of the television set is acquired and identifies, to obtain the text information in described image information, wherein institute
Stating image information is the execution result information that the television set executes that screen is shown after the default control instructs;
The implementing result of the default control instruction is obtained according to the text information.
Further, processor 1001 can be used for calling the TV factory testing program stored in memory 1002, also
Execute following operation:
Acquire the image information of the television set;
Described image information is pre-processed, and is obtained text filed in pretreated described image information;
Obtain it is described it is text filed in the text information.
Further, processor 1001 can be used for calling the TV factory testing program stored in memory 1002, also
Execute following operation:
Gray proces are carried out to described image information and obtain gray scale image;
The marginal information for extracting the gray scale image obtains binary image;
It obtains described text filed in the binary image.
Further, processor 1001 can be used for calling the TV factory testing program stored in memory 1002, also
Execute following operation:
Obtain the boundary position information of the binary image;
The described text filed of the binary image is obtained according to the boundary position information.
Further, processor 1001 can be used for calling the TV factory testing program stored in memory 1002, also
Execute following operation:
Obtain it is described it is text filed in monocase binary image;
The binary image is compared with preset characters template, obtains the corresponding text envelope of matched Character mother plate
Breath.
Further, processor 1001 can be used for calling the TV factory testing program stored in memory 1002, also
Execute following operation:
Obtain that the text information is corresponding to be executed instruction;
When obtaining execute instruction corresponding less than the text information, the prompt information reexamined is exported.
Further, processor 1001 can be used for calling the TV factory testing program stored in memory 1002, also
Execute following operation:
After getting preset monocase binary image, it is corresponding to obtain the preset monocase binary image
Text information.
Further, processor 1001 can be used for calling the TV factory testing program stored in memory 1002, also
Execute following operation:
When detecting that television set reaches detection zone, the luminance information around display panel is obtained;
When the luminance information is less than preset threshold, headlamp is opened.
The present invention is according to above scheme, and after the completion of electric apparent mass station inspection, television set is transmitted to and exits by conveyer belt
Factory mode detection zone, terminal when detecting that television set reaches detection zone, are controlling sender unit to the electricity
Depending on machine transmitting default control instruction, wherein the sender unit can be infrared launcher, the default control instruction
It can be and exit factory mode instruction;When detecting that television display screen shows image, acquires and identify the television set
Image information, to obtain the text information in described image information, wherein described image information is described in the television set executes
The execution result information that screen is shown after default control instruction;Holding for the default control instruction is finally obtained according to text information
Row result, wherein when the implementing result is to exit factory mode success, clearance television set enters next detection zone,
When the implementing result is to exit factory mode failure, alert prompts employee to handle bad machine.
It is the first embodiment of TV delivery detection method of the present invention, the TV delivery detection method referring to Fig. 2, Fig. 2
Include:
Step S10, when detecting that television set reaches detection zone, sender unit is controlled to the television transmission
Default control instruction;
TV delivery detection method provided by the invention be mainly used for detect television set reach detection go to region when to
The television transmission control instruction, and identify the execution result information that shows of screen after television set executes control instruction, this hair
The terminal that the TV delivery detection method of bright offer is related to includes but is not limited to mobile phone, tablet computer and computer etc., the terminal
On be pre-loaded with relevant application system, including but not limited to APP or Web page system etc..
Technical solution provided by the invention is provided with the electricity in the real-time acquisition testing region of CMOS camera in the detection area
Depending on screen-picture.Wherein, the CMOS camera be a kind of camera using cmos image sensor, CMOS sensing
Device is complementary metal oxide semiconductor, is a kind of a kind of voltage-controlled amplifying device.Electric apparent mass station inspection is completed
Afterwards, television set is transmitted to by conveyer belt exits factory mode detection zone, and terminal is detecting television set arrival detection zone
When, control sender unit is instructed to the television transmission default control.It is understood that camera reality can be set
When acquire the information of conveyer belt, in terminal can also go out that built-in camera is arranged and acquire the information of conveyer belt in real time, i.e., by taking the photograph
As head real-time detection whether have television set will enter detection zone, detected television set will enter detection zone when,
Corresponding detection information is sent to controller.It should be noted that can also be arranged around the conveyer belt of detection zone infrared
Detection device gravity sensor or inductive devices is arranged under the conveyer belt of detection zone has detected whether television set i.e.
Detection zone will be entered, when having detected that television set will enter detection zone, send corresponding pulse signal to controller.
Further, sender unit can be infrared launcher or pulsed emission device etc., detect television set entrance
After detection zone, instructed to television transmission default control, default control instruction can be exit factory mode, booting with
And the instruction such as shutdown.
Step S20, acquisition and the image information of the television set is identified, to obtain the text envelope in described image information
Breath, wherein described image information is the execution result information that the television set executes that screen is shown after the default control instructs;
In technical solution provided in this embodiment, detection device or camera detection around conveyer belt to television set
When will enter detection zone, corresponding detection information is sent to controller.Controller is when receiving detection information, control
Emitter is instructed to television transmission default control.When television set receives default control instruction, execute described default
Control instruction, and corresponding implementing result is shown on the screen.The COMS camera of terminal acquires television screen in real time simultaneously
On image information, and gray processing processing and corresponding filtering processing are carried out to image information, then edge detection, extracts edge letter
Breath is converted into binary image, then carries out mathematical mor-phology processing to binary image, then obtain the text of binary image
Region is partitioned into whole character zone, then obtains the binary image of monocase, finally to monocase image normalization processing and
Character mother plate matching, identifies the text information shown on video screen.
Step S30, the implementing result of the default control instruction is obtained according to the text information.
In technical solution provided in this embodiment, after the text information shown on identifying video screen, in systems
Corresponding text information is matched, so that it is determined that the corresponding implementing result of text information.It is to exit factory's mould in the implementing result
When formula success, clearance television set enters next detection zone, when the implementing result is to exit factory mode failure, issues
Alarm message reminding employee handles bad machine.
The present invention is according to above scheme, and after the completion of electric apparent mass station inspection, television set is transmitted to and exits by conveyer belt
Factory mode detection zone, terminal when detecting that television set reaches detection zone, are controlling sender unit to the electricity
Depending on machine transmitting default control instruction;When detecting that television display screen shows image, the figure of the television set is acquired and identified
As information, to obtain the text information in described image information;The default control instruction is finally obtained according to text information
Implementing result, when the implementing result is to exit factory mode success, clearance television set enters next detection zone, in institute
Stating implementing result is when exiting factory mode failure, and alert prompts employee to handle bad machine.Because the present invention can examine
It measures television set to reach when region is gone in detection to the television transmission control instruction, and after identifying that television set executes control instruction
The execution result information that screen is shown exits factory mode to solve and employee is needed to operate television set when detecting television set
And whether subjective judgement television set exits the successful problem of factory mode.To reduce production television set required for manually at
This.
Further, referring to Fig. 3, Fig. 3 is the second embodiment of TV delivery detection method of the present invention, in above-mentioned Fig. 2 institute
On the basis of the embodiment shown, the step S20, comprising:
Step S21, the image information of the television set is acquired;
Step S22, described image information is pre-processed, and obtains the text in pretreated described image information
Region;
Step S23, obtain it is described it is text filed in the text information.
In technical solution provided in this embodiment, after terminal is instructed to television transmission default control, real-time detection TV
The screen of machine, after the screen for detecting television set shows image information, control camera shoots real-time image information, and will
Image set preservation be sent to terminal, terminal in advance screens image set, after selecting a clearest image, to image into
Row pretreatment, including grayscale processing, filtering processing and extraction marginal information etc..After the completion of image preprocessing, projective iteration figure
Picture it is text filed, then by it is described it is text filed split, then text filed after segmentation is divided into multiple monocases
Binary image, then the image of multiple monocases is done into normalized, and will treated binary image and character
Template matches, and identifies text filed text information.
Terminal identifies text information in image after being pre-processed image again, and text information can be recognized accurately.
Further, referring to Fig. 4, Fig. 4 is the 3rd embodiment of TV delivery detection method of the present invention, in above-mentioned Fig. 3 institute
On the basis of the embodiment shown, the step S22, comprising:
Step S221, gray proces are carried out to described image information and obtains gray scale image;
Step S222, the marginal information for extracting the gray scale image obtains binary image;
Step S223, it obtains described text filed in the binary image.
In technical solution provided in this embodiment, the binary image is the image that gray value is set as 0 or 255.Institute
State the image that gray scale image is each only one sample color of pixel.Terminal acquires TV picture using CMOS camera in real time
The capture storage of image information is realized in face, and image library function in Python (high-level programming language) is then called to carry out image
Gray processing processing, it is to be understood that MATLAB (matrix factory) software combination image color formula nGray=can also be used
0.299*R+0.587*G+0.114*B handles image gray processing.Wherein, acquired image is converted to when gray processing is handled
8 gray scale images.Further, it after image carries out gray processing processing, also will do it gaussian filtering process, carrying out Gauss
When filtering processing, image is blurred using the convolution operator of one 2 dimension of Gaussian kernel, removes details and noise.Finally obtain
It is text filed in binary image after pretreatmentization.Reuse the gradient approximation that Sobel Operator obtains brightness of image function
Value, seeks gradient vector further according to gradient approximation, obtains (x, y) coordinate points that all gradient vectors are greater than a certain threshold value, i.e. side
Edge information.Marginal information is finally combined into binary image.
Terminal, which carries out gray processing processing to image, can accelerate the processing speed of later image, improve the meter of edge detection algorithm
Efficiency is calculated, image smoothing effect can be made softer using after gaussian filtering process, and marginal information retains more complete.
Further, referring to Fig. 5, Fig. 5 is the fourth embodiment of TV delivery detection method of the present invention, in above-mentioned Fig. 4 institute
On the basis of the embodiment shown, the step S223, comprising:
Step S2231, the boundary position information of the binary image is obtained;
Step S2232, the described text filed of the binary image is obtained according to the boundary position information.
In technical solution provided in this embodiment, after terminal pre-processes image, to text filed in image
It is positioned.Noise extra on image digitization morphological process removal image is carried out first and filling chink keeps the total bodily form of image
Shape does not change.It is compared with standard form with pretreated image, same pixel point is judged by logical operation
Whether be by comprising element, then carry out opening operation removal target outside isolated point, i.e., using corrosion and background extension etc. modes
Isolated point is eroded, then target area is expanded back into original size.Then carry out closed operation removal around be all 1 pixel in
Between 0 value.It is understood that the hole in target, belong to around be all value be 1, interior void value is 0.Using expansive working,
It expands target area one to enclose, by 0 removal of target area, etching operation is reused, so that the target area in image is restored to
Size before.Further, after image digitization morphological analysis is complete, OpenCV (cross-platform computer vision library) image is used
Mat class in library, which is realized, carries out horizontal vertical positioning to image text region, i.e., by the scanning of up-and-down boundary to image level
Direction projection determines character lower regions boundary.Horizontal location read level region is recycled to scan reading in the same way
Image vertical direction determines character or so zone boundary, and the definite regional location of character is finally determined by the operation of two steps.?
After getting text filed definite location information, the image integral cutting in the region is come out, and is saved.Wherein,
The image being cut into is binary image.
Terminal, which carries out digital morphological processing analysis to image, can remove noise extra in image, to improve text area
The location efficiency in domain.
Further, referring to Fig. 6, Fig. 6 is the 5th embodiment of TV delivery detection method of the present invention, in above-mentioned Fig. 3 institute
On the basis of the embodiment shown, after the step S23, comprising:
Step S231, obtain it is described it is text filed in monocase binary image;
Step S232, the binary image is compared with preset characters template, obtains matched Character mother plate pair
The text information answered.
In technical solution provided in this embodiment, terminal is after getting text filed binary image, according to character
The information in region segments the image into single character, such as " O ", " U ", " T ", " S ", " O " " E ", " K ", " G ", " N ", then to more
A character makees normalized, then will be to a by standard form after finishing normalized to identification region character
The character is compared one by one, records the number of same pixel point in the same area, finally takes same pixel point most
The corresponding character of template is the character that is identified, wherein the letter that the character identified includes by image character region
Cease character.
The image that text filed image segmentation is multiple monocases is carried out character recognition by terminal, improves text in image
The accuracy rate of information identification.
Further, referring to Fig. 7, Fig. 7 is the sixth embodiment of TV delivery detection method of the present invention, in above-mentioned Fig. 6 institute
On the basis of the embodiment shown, after the step S232, further includes:
Step S40, the acquisition text information is corresponding executes instruction;
Step S50, when obtaining execute instruction corresponding less than the text information, the prompt letter reexamined is exported
Breath.
In technical solution provided in this embodiment, terminal is after identifying all binary images, the word that will identify that
Symbol is arranged, and text information is obtained, when the character of one or several binary images identification is not the character that television set is shown
When, the text information of identification is error message, the error message do not have it is corresponding execute instruction, obtain less than the text
This information is corresponding when executing instruction, and exports the prompt information reexamined.
It detects the television set again when the text information of acquisition does not have corresponding execute instruction, prevents from not detecting logical
The television set crossed comes into the market.
Further, referring to Fig. 8, Fig. 8 is the sixth embodiment of TV delivery detection method of the present invention, in above-mentioned Fig. 6 institute
On the basis of the embodiment shown, after the step S231, further includes:
Step S60, after getting preset monocase binary image, the preset monocase binary picture is obtained
As corresponding text information.
In technical solution provided in this embodiment, terminal is after getting text filed binary image, according to character
The information in region segments the image into single character, such as " O ", " U ", " T ", " S ", " O " " E ", " K ", " G ", " N ", is identifying
When character on to connected position is preset characters, such as " O ", " K " then obtain the complete text comprising the OK in memory
This information, such as complete text information OUTSET OK is obtained according to the OK identified.
The corresponding text information of auto-complete, accelerates after identifying the corresponding text information of preset binary image
Detection efficiency.
Further, referring to Fig. 9, Fig. 7 is the sixth embodiment of TV delivery detection method of the present invention, in above-mentioned Fig. 2 institute
On the basis of the embodiment shown, before the step S10, further includes:
Step S70, when detecting that television set reaches detection zone, the luminance information around display panel is obtained;
Step S80, when the luminance information is less than preset threshold, headlamp is opened.
In technical solution provided in this embodiment, after the completion of electric apparent mass station inspection, conveyer belt transmits television set
To factory mode detection zone is exited, when detecting that television set reaches detection zone, control optical sensor obtains aobvious terminal
Show the luminance information around panel.When the luminance information is less than preset threshold, headlamp is opened.
Terminal opens headlamp when detecting insufficient light, helps to improve the clarity of the image of acquisition.
To achieve the above object, the present invention also provides a kind of TV outgoing detector, the TV outgoing detectors
Including processor, memory and the TV factory testing journey that is stored on the memory and can run on the processor
Sequence, the TV factory testing program realize the step of TV delivery detection method as described above when being executed by the processor
Suddenly.
To achieve the above object, the present invention also provides a kind of computer readable storage medium, the computer-readable storages
It is stored with TV factory testing program on medium, is realized when the TV factory testing program is executed by processor as described above
The step of TV delivery detection method.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be TV
Machine, mobile phone, computer, device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of TV delivery detection method, which is characterized in that the TV delivery detection method the following steps are included:
When detecting that television set reaches detection zone, control sender unit refers to the television transmission default control
It enables;
The image information of the television set is acquired and identifies, to obtain the text information in described image information, wherein the figure
As information is the execution result information that the television set executes that screen is shown after the default control instructs;
The implementing result of the default control instruction is obtained according to the text information.
2. TV delivery detection method as described in claim 1, which is characterized in that the acquisition simultaneously identifies the television set
Image information, to include: the step of obtaining the text information in described image information
Acquire the image information of the television set;
Described image information is pre-processed, and is obtained text filed in pretreated described image information;
Obtain it is described it is text filed in the text information.
3. TV delivery detection method as claimed in claim 2, which is characterized in that described to be located in advance to described image information
Reason, and the text filed step obtained in pretreated described image information includes:
Gray proces are carried out to described image information and obtain gray scale image;
The marginal information for extracting the gray scale image obtains binary image;
It obtains described text filed in the binary image.
4. TV delivery detection method as claimed in claim 3, which is characterized in that described to obtain in the binary image
The text filed step includes:
Obtain the boundary position information of the binary image;
The described text filed of the binary image is obtained according to the boundary position information.
5. TV delivery detection method as claimed in claim 2, which is characterized in that it is described obtain it is described it is text filed in institute
The step of stating text information include:
Obtain it is described it is text filed in monocase binary image;
The binary image is compared with preset characters template, obtains the corresponding text information of matched Character mother plate.
6. TV delivery detection method as claimed in claim 5, which is characterized in that the matched Character mother plate of acquisition is corresponding
Text information the step of after, further includes:
Obtain that the text information is corresponding to be executed instruction;
When obtaining execute instruction corresponding less than the text information, the prompt information reexamined is exported.
7. TV delivery detection method as claimed in claim 5, which is characterized in that it is described obtain it is described it is text filed in list
After the step of character binaryzation image, further includes:
After getting preset monocase binary image, the corresponding text of the preset monocase binary image is obtained
Information.
8. TV delivery detection method as described in claim 1, which is characterized in that the control sender unit is to described
Before the step of television transmission default control instructs, the TV delivery detection method further include:
When detecting that television set reaches detection zone, the luminance information around display panel is obtained;
When the luminance information is less than preset threshold, headlamp is opened.
9. a kind of TV outgoing detector, which is characterized in that the TV outgoing detector include processor, memory and
The TV factory testing program that is stored on the memory and can run on the processor, the TV factory testing journey
It realizes when sequence is executed by the processor such as the step of TV delivery detection method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with TV on the computer readable storage medium and go out
Program detects in factory, realizes when the TV factory testing program is executed by processor as described in any item of the claim 1 to 8
The step of TV delivery detection method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811365183.1A CN109257594B (en) | 2018-11-14 | 2018-11-14 | Television delivery detection method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811365183.1A CN109257594B (en) | 2018-11-14 | 2018-11-14 | Television delivery detection method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109257594A true CN109257594A (en) | 2019-01-22 |
CN109257594B CN109257594B (en) | 2020-09-22 |
Family
ID=65044055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811365183.1A Active CN109257594B (en) | 2018-11-14 | 2018-11-14 | Television delivery detection method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109257594B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110460841A (en) * | 2019-08-23 | 2019-11-15 | 深圳创维-Rgb电子有限公司 | A kind of television set detection method, device, electronic equipment and storage medium |
CN112073704A (en) * | 2020-09-04 | 2020-12-11 | 深圳创维-Rgb电子有限公司 | White balance debugging method, device and system and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002325267A (en) * | 2001-04-25 | 2002-11-08 | Funai Electric Co Ltd | Television apparatus |
CN1097387C (en) * | 1995-01-20 | 2002-12-25 | 三星电子株式会社 | Automatization equipment and method for production bus controlled television set |
CN101873511A (en) * | 2010-07-09 | 2010-10-27 | 四川长虹电器股份有限公司 | Test system for panel TV set and method thereof |
CN105548753A (en) * | 2015-12-11 | 2016-05-04 | 康佳集团股份有限公司 | Automatic testing method and system of standby and boot function of electric equipment |
-
2018
- 2018-11-14 CN CN201811365183.1A patent/CN109257594B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1097387C (en) * | 1995-01-20 | 2002-12-25 | 三星电子株式会社 | Automatization equipment and method for production bus controlled television set |
JP2002325267A (en) * | 2001-04-25 | 2002-11-08 | Funai Electric Co Ltd | Television apparatus |
CN101873511A (en) * | 2010-07-09 | 2010-10-27 | 四川长虹电器股份有限公司 | Test system for panel TV set and method thereof |
CN105548753A (en) * | 2015-12-11 | 2016-05-04 | 康佳集团股份有限公司 | Automatic testing method and system of standby and boot function of electric equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110460841A (en) * | 2019-08-23 | 2019-11-15 | 深圳创维-Rgb电子有限公司 | A kind of television set detection method, device, electronic equipment and storage medium |
CN112073704A (en) * | 2020-09-04 | 2020-12-11 | 深圳创维-Rgb电子有限公司 | White balance debugging method, device and system and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109257594B (en) | 2020-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3740897B1 (en) | License plate reader using optical character recognition on plural detected regions | |
CN109781733B (en) | Defect inspection apparatus, defect inspection method, and computer-readable storage medium | |
US11301978B2 (en) | Defect inspection device, defect inspection method, and computer readable recording medium | |
CN110678877B (en) | System and method for visual localization in test images | |
US11830174B2 (en) | Defect inspecting device, defect inspecting method, and storage medium | |
US10824906B2 (en) | Image processing device, non-transitory computer readable storage medium, and image processing system | |
US10445868B2 (en) | Method for detecting a defect on a surface of a tire | |
US20070281734A1 (en) | Method, system and apparatus for handset screen analysis | |
CN111310826B (en) | Method and device for detecting labeling abnormality of sample set and electronic equipment | |
CN111652225A (en) | Non-invasive camera reading method and system based on deep learning | |
CN111160434A (en) | Training method and device of target detection model and computer readable storage medium | |
US10990778B2 (en) | Apparatus and method for recognizing barcode based on image detection | |
CN109257594A (en) | TV delivery detection method, device and computer readable storage medium | |
CN114724246B (en) | Dangerous behavior identification method and device | |
US20240168465A1 (en) | Rapid automation system and method for line clearance | |
CN116758493B (en) | Tunnel construction monitoring method and device based on image processing and readable storage medium | |
CN107862314B (en) | Code spraying identification method and device | |
US11812131B2 (en) | Determination of appropriate image suitable for feature extraction of object from among captured images in which object is detected | |
CN116229502A (en) | Image-based tumbling behavior identification method and equipment | |
CN115456969A (en) | Method for detecting appearance defect, electronic device and storage medium | |
US20170300772A1 (en) | Character string recognition device | |
CN115512283A (en) | Parcel image processing method and device, computer equipment and storage medium | |
CN117218125B (en) | Display screen defect detection method, device, storage medium, device and system | |
US20230051823A1 (en) | Systems, methods, and computer program products for image analysis | |
KR102588687B1 (en) | Apparatus and method for reading barcode based on image detection |
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 |