CN105868681A - CCTV channel logo identification method and apparatus - Google Patents
CCTV channel logo identification method and apparatus Download PDFInfo
- Publication number
- CN105868681A CN105868681A CN201510823560.1A CN201510823560A CN105868681A CN 105868681 A CN105868681 A CN 105868681A CN 201510823560 A CN201510823560 A CN 201510823560A CN 105868681 A CN105868681 A CN 105868681A
- Authority
- CN
- China
- Prior art keywords
- station symbol
- identified
- cctv
- numeral
- numeric area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/49—Segmenting video sequences, i.e. computational techniques such as parsing or cutting the sequence, low-level clustering or determining units such as shots or scenes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/60—Type of objects
- G06V20/62—Text, e.g. of license plates, overlay texts or captions on TV images
- G06V20/635—Overlay text, e.g. embedded captions in a TV program
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computing Systems (AREA)
- Image Analysis (AREA)
Abstract
The present invention discloses a CCTV (China Central Television) channel logo identification method and apparatus, and relates to the technical field of information identification. According to the method and apparatus disclosed by the present invention, global channel logo identification is not adopted any longer, but a characteristic and number information of a CCTV channel are fully considered. The method comprises: acquiring a channel logo region comprising a to-be-identified channel logo; when the to-be-identified channel logo is a CCTV channel logo, extracting a number region in the channel logo region; performing bit number discrimination on the extracted number region; identifying a number in the number region according to a bit number discrimination result; and using a combination of a logo of the CCTV channel logo and the identified number as an identification result. Therefore, time complexity is reduced, and CCTV channel logos can be rapidly identified.
Description
Technical field
The present invention relates to information discriminating technology field, particularly to recognition methods and the device of a kind of CCTV station symbol.
Background technology
Intelligent television just complies with " high Qinghua ", " networking ", the trend of " intelligent " develops rapidly, possess from the Internet,
The content that the multiple channel such as video equipment, computer obtains programme content, consumer needed most by the way of information fusion
The function clearly represented on giant-screen.Compared with traditional tv, intelligent television has provided the user more quick, intelligent, people
The application service of property.
Intelligent television comprises a large amount of order video, programme televised live, and most of TV programme remain program product side
Station symbol.Station symbol is to discriminate between the important symbol of television station, contains television station's platform name, programming source, program orientation etc. important
Semantic information, is the important semantic source realizing video analysis, understanding and retrieve.The realization of TV station symbol recognition technology, will effectively realize
Programme function, and to understanding that user preferences, input value-added service tool are of great significance.
In prior art when station symbol is identified, generally employing following two scheme:
The first scheme: TV station symbol recognition scheme based on single-frame images.This kind of method using Edge Distance transformation matrix as
Feature, all uses the mode of template matching, including overall situation edge matching (sliding window travels through whole station symbol region), divided-fit surface
(CF feature is mated simultaneously, carries out point for program searching for (use manual type filter non-edge), color form fit
Class sorts) etc..
First scheme: TV station symbol recognition method based on multiple image.This kind of scheme generally can use following three kinds of methods:
One, image is split in the eigenvalue change utilizing sensitizing range (the i.e. station symbol region) pixel of continuous multiple frames sequence of frames of video,
And carry out rim detection, use sliding window and method of partition to carry out match cognization.Two, comprehensive utilization CF feature,
In frame sequence, split station symbol according to spatio-temporal invariant, utilize spatial distribution rectangular histogram to combine HSV color histogram and feature is entered
Row effectively describes, and finally utilizes SUV to complete TV station symbol recognition.Method three: calculate the change of consecutive frame image, extracts station symbol and Hu thereof
Not bending moment, and it is identified result etc. according to candidate collection and pre-set criteria.
But in prior art, the mode such as template matching all uses station symbol global recognition, does not takes into full account the spy of CCTV's station symbol
Point and digital information, time complexity is higher, it is difficult to ensure the quick identification of CCTV's station symbol.
Summary of the invention
The embodiment of the present invention provides recognition methods and the device of a kind of CCTV station symbol, multiple in order to solve the time in prior art
Miscellaneous degree is higher, it is difficult to ensure the defect quickly identified of CCTV's station symbol.
The embodiment of the present invention provides the recognition methods of a kind of CCTV station symbol, and described method includes:
Obtain the station symbol region including station symbol to be identified;
When described station symbol to be identified is CCTV's station symbol, extract the numeric area in described station symbol region;
The numeric area extracted is carried out figure place differentiation;
The numeral in numeric area described in result identification is differentiated according to figure place;
Using the combination between mark and the numeral of identification of CCTV's station symbol as the recognition result of described station symbol to be identified.
The embodiment of the present invention provides the identification device of a kind of CCTV station symbol, and described device includes:
Area acquisition unit, for obtaining the station symbol region including station symbol to be identified;
Area extracting unit, for when described station symbol to be identified is CCTV's station symbol, extracts the number in described station symbol region
Territory, block;
Figure place judgement unit, for carrying out figure place differentiation to the numeric area extracted;
Numeral recognition unit, for differentiating the numeral in numeric area described in result identification according to figure place;
Result acquiring unit, is used for the combination between mark and the numeral of identification of CCTV's station symbol as described to be identified
The recognition result of station symbol.
The present invention no longer uses station symbol global recognition, but takes into full account feature and the digital information of CCTV's station symbol, obtains
Including the station symbol region of station symbol to be identified, when described station symbol to be identified is CCTV's station symbol, extract the number in described station symbol region
Territory, block, carries out figure place differentiation to the numeric area extracted, and differentiates the numeral in numeric area described in result identification according to figure place,
Using the combination between mark and the numeral of identification of CCTV's station symbol as recognition result, thus reduce time complexity, it is possible to
CCTV's station symbol is quickly identified.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the recognition methods of CCTV's station symbol of one embodiment of the present invention;
Fig. 2 is the flow chart of the recognition methods of CCTV's station symbol of one embodiment of the present invention;
Fig. 3 is the structured flowchart identifying device of CCTV's station symbol of one embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and embodiment, the detailed description of the invention of the present invention is described in further detail.Hereinafter implement
Example is used for illustrating the present invention, but is not limited to the scope of the present invention.
Fig. 1 is the flow chart of the recognition methods of CCTV's station symbol of one embodiment of the present invention;With reference to Fig. 1, described method
Including:
S101: obtain the station symbol region including station symbol to be identified;
It should be noted that described station symbol region is only includes to be identified target area.
It will be appreciated that described station symbol region can be extracted in several ways, in order to prevent random noise, picture from making an uproar
The impact on TV station symbol recognition of the noises such as sound, in present embodiment, obtains the station symbol district including station symbol to be identified by following steps
Territory:
(1) in the predeterminable area of the video including station symbol to be identified, video frame images sequence is obtained;
According to priori, the substantially all upper left corner of video frame images that is positioned at of television station's station symbol is (certainly, if being in other
Position, it is possible to carry out accommodation as required), therefore during station symbol detection, only need to extract fixing upper left corner area
(i.e. predeterminable area) detects region as station symbol.Existing TV station symbol recognition method is generally according to optimal region rule (GSR)
Obtaining station symbol region, present embodiment is with existing TV station symbol recognition method difference: (1) calculates all station symbols and respectively regarding
Frequently the proportional positions effectively identified in two field picture;(2) maximum magnitude of all proportions position is calculated as station symbol region segmentation
Region.As a example by the video of 1920*1080, station symbol cut zone is row starting position 80 (1/24), arranges starting position 40
(1/27), line width 450 (15/64), col width 180 (1/6), region segmentation effect as shown in Figures 2 and 3, certainly, described ratio position
Putting and can the most suitably adjust, this is not any limitation as by present embodiment.
For information unrelated in elimination image, recover or strengthen useful relevant information, improve the detectability of feature,
Limits ground simplifies data, to guarantee the reliability identified, in present embodiment, each video frame images can be carried out pretreatment,
Described pretreatment includes: at least one in region segmentation, gray processing and image enhaucament, certainly, may also include other and processed
Journey, this is not any limitation as by present embodiment.
Described pretreatment can use formula Gray=0.33R+0.59G+0.11B to carry out gray processing, certainly, it is possible to by three
The modes such as passage mean value method or triple channel maximum value process substitute, and wherein, Gray is the gray value of pixel, and R is the redness of pixel
Component, G is the green component of pixel, and B is the blue component of pixel.
The purpose of described image enhaucament is prominent station symbol region effective information, such as icon, word, numeral etc., image enhaucament
Use the gray scale stretching of 0~255 gray levels, it is also possible to rectangular histogram converter technique substitutes.
(2) each video frame images is carried out edge extracting;
It will be appreciated that the edge violent part that is variation of image grayscale, edge extracting is the key of TV station symbol recognition, edge
Integrated degree directly affects TV station symbol recognition result, and certainly, the method for edge extracting has a lot, such as Canny, LOG, Sobel, La Pu
Laplacian operater method etc..Consider the requirements such as denoising, edge integrity, edge precision, present embodiment uses Canny
Edge detection method.
In implementing, the parameter of Canny edge detection method is set to: weak edge threshold 50, strong edge threshold
200, certainly, it is possible to the most suitably float, such as, threshold value is floated in the range of ± 10.
(3) edge of each video frame images is synthesized;
In implementing, the pre-set image threshold value of correspondence, then root can be determined according to the quantity of described video frame images
Whether judge whether to retain this edge less than described pre-set image threshold value in the quantity of video frame images according to described each marginal point
Point.
It is to say, the corresponding relation pre-build between the quantity of video frame images and pre-set image threshold value, according to institute
The quantity stating video frame images searches corresponding relation, to determine the pre-set image threshold value of correspondence, has each marginal point at video
When the quantity of two field picture is less than described pre-set image threshold value, do not retain this marginal point, at each marginal point at the number of video frame images
When amount is optionally greater than described pre-set image threshold value, retain this marginal point.
Illustrate to synthesize the edge of each video frame images with a specific embodiment below, but do not limit this
Bright protection domain: set the N quantity as video frame images, X is pre-set image threshold value.
As N=6, correspondingly, X=4, say, that the video frame images that only marginal point (includes 4) more than 4
In the presence of in just retain, if marginal point below 3, (include 3) video frame images in the presence of; give up;
When 6 > N > 3 time, correspondingly, X=3, say, that the video frame images that only marginal point (includes 3) more than 3
In the presence of in just retain, if marginal point below 2, (include 2) video frame images in the presence of; give up;
When N≤3, correspondingly, X=N, say, that just protect in the presence of only marginal point is in all video frame images
Staying, other situations are all given up.
Certainly, the parameter in described corresponding relation can be adjusted according to the resolution of image, and present embodiment is to this not
It is any limitation as.
All recognition accuracy can be impacted due to edge noise, black surround and inessential word etc., for improving further
Recognition accuracy, the edge that can synthesize is optimized process, and in present embodiment, described optimization processes and includes: edge noise is deleted
Remove, black surround remove and inessential word delete at least one.
(4) the minimum external matrix at the edge of synthesis is obtained;
(5) respectively each video frame images is split according to described minimum external matrix, and the image being partitioned into is led to
Cross average weighted mode to synthesize, to obtain the station symbol region including station symbol to be identified.
S102: when described station symbol to be identified is CCTV's station symbol, extract the numeric area in described station symbol region;
It should be noted that described CCTV station symbol comprises mark (i.e. CCTV), word and numeral, the difference of common CCTV station symbol
Different it is word and numeral.In area of pattern recognition, numeral identifies easier than Text region, stable, quick.Meanwhile, CCTV's platform
Target numeral can individually describe concrete channel, thus present embodiment by the word removed in station symbol region (such as " comprehensively ", " wealth
Warp " etc.), extract numeral in station symbol region (i.e. 1,2 etc.).Wherein, word be in below station symbol and be flagged with obvious picture
Whether element interval, can arrange presetted pixel interval, exceed pre-by the pixel separation in the edge of described extraction and between mark
If pixel separation, when exceeding presetted pixel interval, then confirm as word, it is deleted, so, following station symbol region is i.e.
For only including numeral and the region of mark.
It will be appreciated that described numeric area is positioned at described station symbol region, and there is certain position relationship, because of
This, can pre-build the position relationship between described station symbol region and numeric area, and the position further according to described numeric area is believed
Breath carries out dividing processing to described image, to obtain described numeric area.
For station symbol region, between numeric area and mark region (i.e. CCTV region), there is following corresponding pass
System:
(1) numeric area is positioned on the right side of mark region, and shared width is approximately equal to the 1/4 of mark region;
(2) letter in numeric area and mark region is contour, accounts for the 0.8 of CCTV's station symbol whole height.
So, the number in described station symbol region can be extracted according to the position relationship between described station symbol region and numeric area
Territory, block.
It addition, for the ease of the numeral in numeric area is identified, can be to the numerical portion in described numeric area
Carrying out binary conversion treatment with background parts, if numerical portion is set to white, background parts is set to black.
Owing to the position at described four angles of numeric area easily produces in white pixel block/point, and described numeric area
There is also noise spot, numeral identification can be impacted by these interference information, in present embodiment, and can be to the numeral after binaryzation
Region carries out disturbing information deletion.
In implementing, the white pixel block/point at described four angles of numeric area can be deleted according in the following manner: set institute
The horizontal width stating numeric area is that W is (equal to 0.25WA, WAWidth for described station symbol region), vertical a length of H is (equal to HA,
HAHeight for described station symbol region), each pixel gray value is that (i, j), i is pixel vertical rows coordinate to gray, and j is pixel
Point horizontal row coordinate, the gray value after conversion be Gray (i, j),
For the noise spot in described numeric area, then can carry out noise filtering, weaken further and reduce noise spot shadow
Ring.
S103: the numeric area extracted is carried out figure place differentiation;
Can in several ways it will be appreciated that the numeric area extracted is carried out differentiation, in present embodiment, right by row
In described numeric area, the gray value of each pixel projects, with constitute the projection of a length of described numeric area horizontal width to
Amount, when having, in string projection vector, the pixel belonging to numerical portion exceeding predetermined number, is carried out this row projection vector
Mark, if the minimum range existed between adjacent two identified projection vectors is more than predeterminable range, then sentences described numeral
Other result is set to two, otherwise described numeral being differentiated, result is set to one.
S104: differentiate the numeral in numeric area described in result identification according to figure place;
For improving the efficiency that numeral identifies further, in present embodiment, can be differentiated according to figure place by following 3 steps
Numeral in numeric area described in result identification:
(1) obtain the white pixel region A in numeric area, and calculate the horizontal width w of A and vertical line width h.If h/
W > 2, then this station symbol is the station symbol of CCTV-1.Otherwise enter (2).
(2) described numeric area is carried out edge extracting, if being m*n sub-block by row * row piecemeal, concrete such as table 1 institute
Show.Build marginal point probability space distribution histogram, be distributed Nogata with the digital picture marginal point probability space of standard 0,2~9
Figure calculates matching probability.
Table 1 piecemeal parameter
Parameter | 0.8<h/w<1.25 | Other |
m | 4 | 6 |
n | 4 | 3 |
(3) numeral in numeric area described in result identification is differentiated according to numeral.If numeral differentiates that result is one, then
Station symbol be the probability of CCTV-1, CCTV-10~CCTV15 be 0, if numeral differentiate result be two, then station symbol be CCTV1~
The probability of CCTV9 is 0, thus completes the numeral identification in described numeric area.
Consider to identify whether problem accurately, in present embodiment, differentiate that result is by described digital block according to described figure place
Territory is mated with standard digital, when the highest matching rate and second highest matching rate are unequal, corresponding according to the highest described matching rate
Standard digital as the numeral in described numeric area.
S105: using the combination between mark and the numeral of identification of CCTV's station symbol as recognition result.
Present embodiment no longer uses station symbol global recognition, but takes into full account feature and the digital information of CCTV's station symbol,
Obtain the station symbol region including station symbol to be identified, when described station symbol to be identified is CCTV's station symbol, extract in described station symbol region
Numeric area, the numeric area extracted is carried out figure place differentiation, differentiates in numeric area described in result identification according to figure place
Numeral, using the combination between mark and the numeral of identification of CCTV's station symbol as recognition result, thus reduces time complexity,
CCTV's station symbol quickly can be identified.
Fig. 2 is the flow chart of the recognition methods of CCTV's station symbol of one embodiment of the present invention;With reference to Fig. 2, described method
Including:
S201: obtain the station symbol region including station symbol to be identified;
Step S201 is identical with step S101 of the embodiment shown in Fig. 1, does not repeats them here.
S202: judge that whether the station symbol to be identified in station symbol region is according to length-width ratio, gray scale and the color in station symbol region
CCTV's station symbol;
Will be understood that, it is judged that when whether the station symbol to be identified in station symbol region is CCTV's station symbol, various ways can be used,
For ensureing the accuracy rate judged, in present embodiment, judge in station symbol region according to length-width ratio, gray scale and the color in station symbol region
Station symbol to be identified whether be CCTV's station symbol.
Research finds, CCTV's station symbol finds relative to satellite TV's station symbol, local broadcasting stations' target feature and difference: (1) length-width ratio difference,
The length-width ratio of CCTV's station symbol is (long: vertical direction length;Wide: horizontal direction width) generally it is significantly less than other station symbols;(2) CCTV
The cromogram of station symbol has white pixel feature widely, especially shows at left side 2/3;(3) the gray-scale map piecemeal of CCTV's station symbol
After, meet the related constraint that gray scale is close between sub-block, such as average, variance etc..
So, by the difference of length-width ratio, gray scale and the color in described station symbol region, described station symbol region can be carried out
Classification.
Owing to length-width ratio is one of the most direct feature of station symbol.So, can first described station symbol region be entered by length-width ratio
Row is preliminary to be judged, say, that first calculate the length-width ratio in each station symbol region, and the method calculating length-width ratio is: calculate station symbol region
Length H and width W, length-width ratio ratio=W/H.
The ratio of CCTV's station symbol generally below 0.3, so, the preliminary Rule of judgment that can build is: ratio < 0.3.But
It is that the ratio of satellite TV's platform (including the local broadcasting stations of these satellite TVs) station symbols such as Inner Mongol satellite TV, Chongqing satellite TV, BTV all exists
Less than 0.3, so, after can being screened by length-width ratio, more again screened by gray scale and color.
When again being screened by gray scale and color, can classify according to following Rule of judgment, say, that arrange
Below for the condition determined whether:
(1) red component in first preset range in the upper left corner, described station symbol region and the lower right corner, described station symbol region
The average of the red component in the second preset range is less than presetting red component.
It is to say, can be divided into 5*3 sub-block (certainly, it is possible to entered by modes such as 6*3 or 4*3 by row * row in station symbol region
Row piecemeal), extract first sub-block area1 (the i.e. first preset range) and first sub-block area2 in the lower right corner in the upper left corner
(the i.e. second preset range).CCTV's station symbol and Chongqing satellite TV station symbol, BTV's station symbol etc. are in the red distribution in the two region
Completely different.
Integrated interference station symbol and the color characteristic of CCTV's station symbol, can build condition 1 (i.e. Condition1) area1 and
The red average of area2 is less than 150.
(2) on the left of described station symbol region, the gray average in the 3rd preset range is less than and presets gray value.
Consider fault-tolerance and the translucent feature of CCTV's station symbol of Condition1, take sub-block area3.Can be with station symbol region
50 pixels of width be standard, take the most left 8 row pixels in station symbol region (the widest 4/25) constitute area3 (the i.e. the 3rd is pre-
If scope).
Analysis interference station symbol and CCTV station symbol, at the gray difference of area3, build condition 2 (Condition2)
The gray average of area3 is less than 100.
It will be appreciated that gray-scale map can be obtained by triple channel classics synthetic method Gray=0.33R+0.59G+0.11B
Picture, it is possible to by triple channel maximum value process, triple channel mean value method etc., this is not any limitation as by present embodiment.
(3) it is at least 4 parts by described station symbol region segmentation, the pixel average between the predetermined fraction after segmentation exhausted
To difference less than presetting absolute difference;
Owing to Condition1 and Condition2 contains only the self information of each sub-block, need to be by constraint expansion to sub-block
Between relation.Analyzing and find, the word in station symbol region, digital pixel are predominantly located at rear 1/3 row in station symbol region.To this end, will
Station symbol region is divided into 2*3 sub-block (certainly, it is possible to carry out piecemeal by modes such as 3*3) according to row * row, takes front 2*2 sub-block and (i.e. divides
Predetermined fraction after cutting) it is expressed as area4, area5, area6 and area7.
Multisample strictly calculates discovery, and CCTV station symbol is substantially following condition at these 4 sub-blocks:
The absolute difference of the average of condition 3 (Condition3) area4, area5, area6 and area7 is less than 100.
(4) variance of the pixel average between the predetermined fraction after segmentation is less than presetting variance.
It is to say, the variance of the pixel average of above 4 sub-blocks all has difference, so, CCTV station symbol is in these 4 sub-blocks
Place meets following condition:
The variance of the equal value sequence of condition 4 (Condition4) area4, area5, area6 and area7 is less than
1600。
When certain station symbol sample meets above Condition1~Condition4 simultaneously, CCTV's station symbol can be judged as,
Otherwise it is judged as non-CCTV station symbol.When above-mentioned condition judges simultaneously, accuracy rate is the highest, it is demonstrated experimentally that lack any one condition
All can improve the error rate of multisample classification.
S203: when described station symbol to be identified is CCTV's station symbol, extract the numeric area in described station symbol region;
S204: the numeric area extracted is carried out figure place differentiation;
S205: differentiate the numeral in numeric area described in result identification according to figure place;
S206: using the combination between station symbol and the numeral of identification of CCTV's platform as recognition result.
Step S102~the S105 of the embodiment shown in step S203~S206 with Fig. 1 are identical, do not repeat them here.
Through Monte Carlo experiment, by the method for present embodiment recognition result such as table 2 institute to CCTV1~CCTV15
Showing, table 2 gives the recognition time of each CCTV station symbol, all at about 1s.Table 2 demonstrates the high-precision of the method for present embodiment
Degree, quick and stability.
The recognition failures probability of CCTV3,5,6,8 is the highest, within 5%.Reason is: 3 and 8 closely, 5 and 6 ratios
Being closer to, the histogrammic difference of edge segmentation spatial distribution only has 1~2 sub-block, easily causes the highest matching rate and time high rate phase
With.
The recognition result of table 2 CCTV television station station symbol
Channel | Correct recognition rata | Recognition failures rate | Recognition time (s) |
CCTV-1 | 100% | 0% | 0.98 |
CCTV-2 | 99.2% | 0.8% | 1.03 |
CCTV-3 | 95.4% | 4.6% | 1.12 |
CCTV-4 | 97.0% | 3.0% | 0.99 |
CCTV-5 | 95.1% | 4.9% | 1.07 |
CCTV-6 | 95.0% | 5.0% | 1.20 |
CCTV-7 | 99.0% | 1.0% | 0.88 |
CCTV-8 | 95.5% | 4.5% | 1.18 |
CCTV-9 | 96.7% | 3.3% | 0.93 |
CCTV-10 | 97.2% | 2.8% | 0.96 |
CCTV-11 | 100% | 0% | 1.00 |
CCTV-12 | 99.2% | 0.8% | 1.11 |
CCTV-13 | 95.4% | 4.6% | 1.16 |
CCTV-14 | 97.0% | 3.0% | 0.95 |
CCTV-15 | 95.1% | 4.9% | 1.13 |
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but this area
Technical staff should know, the embodiment of the present invention is not limited by described sequence of movement, because implementing according to the present invention
Example, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know, description
Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
Fig. 3 is the structured flowchart identifying device of CCTV's station symbol of one embodiment of the present invention;With reference to Fig. 3, described dress
Put and include:
Area acquisition unit 301, for obtaining the station symbol region including station symbol to be identified;
Area extracting unit 302, for when described station symbol to be identified is CCTV's station symbol, extracts in described station symbol region
Numeric area;
Figure place judgement unit 303, for carrying out figure place differentiation to the numeric area extracted;
Numeral recognition unit 304, for differentiating the numeral in numeric area described in result identification according to figure place;
Result acquiring unit 305, for using the combination between mark and the numeral of identification of CCTV's station symbol as described in treat
Identify the recognition result of station symbol.
In a kind of alternative embodiment of the present invention, described figure place judgement unit, it is further used for by row described numeral
In region, the gray value of each pixel projects, and to constitute the projection vector of a length of described numeric area horizontal width, is working as
When prostatitis projection vector has the pixel belonging to numerical portion exceeding predetermined number, carry out described when prostatitis projection vector
Mark, if the minimum range existed between adjacent two identified projection vectors is more than predeterminable range, then sentences described numeral
Other result is set to two, otherwise described numeral being differentiated, result is set to one.
In a kind of alternative embodiment of the present invention, described numeral recognition unit, it is further used for sentencing according to described figure place
Described numeric area is mated by other result with standard digital, when the highest matching rate and second highest matching rate are unequal, according to
Standard digital corresponding to the highest described matching rate is as the numeral in described numeric area.
In a kind of alternative embodiment of the present invention, described area acquisition unit, it is further used for from including to be identified
Obtain video frame images sequence in the predeterminable area of target video, each video frame images is carried out edge extracting, by each frame of video
The edge of image synthesizes, and obtains the minimum external matrix at the edge of synthesis, according to described minimum external matrix respectively to respectively
Video frame images is split, and is synthesized by average weighted mode by the image being partitioned into, and includes waiting to know to obtain
The station symbol region of other station symbol.
In a kind of alternative embodiment of the present invention, described device also includes:
According to length-width ratio, gray scale and the color in station symbol region, station symbol taxon, for judging that treating in station symbol region is known
Whether other station symbol is CCTV's station symbol.
For system embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant
Part sees the part of embodiment of the method and illustrates.
It should be noted that, in all parts of the system of the present invention, the function to be realized according to it and to therein
Parts have carried out logical partitioning, but, the present invention is not only restricted to this, can as required all parts be repartitioned or
Person combines, for example, it is possible to be single parts by some unit constructions, or can be further broken into more by some parts
Subassembly.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice
Microprocessor or digital signal processor (DSP) realize the some or all portions in system according to embodiments of the present invention
The some or all functions of part.The present invention is also implemented as the part for performing method as described herein or complete
The equipment in portion or device program (such as, computer program and computer program).Such program realizing the present invention
Can store on a computer-readable medium, or can be to have the form of one or more signal.Such signal is permissible
Download from internet website and obtain, or provide on carrier signal, or provide with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not
Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such
Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer
Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch
Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame
Claim.
Above example is only suitable to illustrate the present invention, and not limitation of the present invention, about the common skill of technical field
Art personnel, without departing from the spirit and scope of the present invention, it is also possible to make a variety of changes and modification, the most all etc.
Same technical scheme falls within scope of the invention, and the scope of patent protection of the present invention should be defined by the claims.
Claims (10)
1. the recognition methods of CCTV's station symbol, it is characterised in that described method includes:
Obtain the station symbol region including station symbol to be identified;
When described station symbol to be identified is CCTV's station symbol, extract the numeric area in described station symbol region;
The numeric area extracted is carried out figure place differentiation;
The numeral in numeric area described in result identification is differentiated according to figure place;
Using the combination between mark and the numeral of identification of CCTV's station symbol as the recognition result of described station symbol to be identified.
2. the method for claim 1, it is characterised in that the described numeric area to extracting carries out figure place differentiation, enters
Step includes:
By row, the gray value of pixel each in described numeric area is projected, to constitute a length of described numeric area level width
The projection vector of degree, when having the pixel belonging to numerical portion exceeding predetermined number, by described in the projection vector of prostatitis
When prostatitis, projection vector is identified, if the minimum range existed between adjacent two identified projection vectors more than preset away from
From, then described numeral is differentiated that result is set to two, otherwise described numeral is differentiated that result is set to one.
3. the method for claim 1, it is characterised in that described according in numeric area described in figure place differentiation result identification
Numeral, farther include:
Differentiate that described numeric area is mated by result with standard digital according to described figure place, the highest matching rate and second highest
Join rate unequal time, according to standard digital corresponding to the highest described matching rate as the numeral in described numeric area.
4. the method as according to any one of claims 1 to 3, it is characterised in that described acquisition includes the platform of station symbol to be identified
Mark region, farther includes:
In the predeterminable area of the video including station symbol to be identified, obtain video frame images sequence, each video frame images is carried out limit
Edge extracts, and is synthesized at the edge of each video frame images, obtains the minimum external matrix at the edge of synthesis, according to described minimum
Each video frame images is split by external matrix respectively, and is closed by average weighted mode by the image being partitioned into
Become, to obtain the station symbol region including station symbol to be identified.
5. the method as according to any one of claims 1 to 3, it is characterised in that described is CCTV at described station symbol to be identified
During station symbol, before extracting the numeric area in described station symbol region, described method also includes:
Length-width ratio, gray scale and color according to station symbol region judges whether the station symbol to be identified in station symbol region is CCTV's station symbol.
6. the identification device of CCTV's station symbol, it is characterised in that described device includes:
Area acquisition unit, for obtaining the station symbol region including station symbol to be identified;
Area extracting unit, for when described station symbol to be identified is CCTV's station symbol, extracts the digital block in described station symbol region
Territory;
Figure place judgement unit, for carrying out figure place differentiation to the numeric area extracted;
Numeral recognition unit, for differentiating the numeral in numeric area described in result identification according to figure place;
Result acquiring unit, is used for the combination between mark and the numeral of identification of CCTV's station symbol as described station symbol to be identified
Recognition result.
7. device as claimed in claim 6, it is characterised in that described figure place judgement unit, is further used for by row described
In numeric area, the gray value of each pixel projects, to constitute the projection vector of a length of described numeric area horizontal width,
When prostatitis projection vector has the pixel belonging to numerical portion exceeding predetermined number, by described when prostatitis projection vector
It is identified, if the minimum range existed between adjacent two identified projection vectors is more than predeterminable range, then by described number
Word differentiates that result is set to two, otherwise described numeral being differentiated, result is set to one.
8. device as claimed in claim 6, it is characterised in that described numeral recognition unit, is further used for according to institute's rheme
Number differentiates that described numeric area is mated by result with standard digital, when the highest matching rate and second highest matching rate are unequal,
According to standard digital corresponding to the highest described matching rate as the numeral in described numeric area.
9. the device as according to any one of claim 6~8, it is characterised in that described area acquisition unit, is further used for
In the predeterminable area of the video including station symbol to be identified, obtain video frame images sequence, each video frame images is carried out edge and carries
Take, the edge of each video frame images is synthesized, obtain the minimum external matrix at the edge of synthesis, external according to described minimum
Each video frame images is split by matrix respectively, and is synthesized by average weighted mode by the image being partitioned into, with
Obtain the station symbol region including station symbol to be identified.
10. the device as according to any one of claim 6~8, it is characterised in that described device also includes:
Station symbol taxon, for judging to be identified in station symbol region according to length-width ratio, gray scale and the color in station symbol region
Whether mark is CCTV's station symbol.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510823560.1A CN105868681A (en) | 2015-11-24 | 2015-11-24 | CCTV channel logo identification method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510823560.1A CN105868681A (en) | 2015-11-24 | 2015-11-24 | CCTV channel logo identification method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105868681A true CN105868681A (en) | 2016-08-17 |
Family
ID=56623739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510823560.1A Pending CN105868681A (en) | 2015-11-24 | 2015-11-24 | CCTV channel logo identification method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105868681A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107516097A (en) * | 2017-08-10 | 2017-12-26 | 青岛海信电器股份有限公司 | TV station symbol recognition method and apparatus |
CN111368703A (en) * | 2020-02-29 | 2020-07-03 | 上海电力大学 | Platform logo detection and identification method based on FPN |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546424A (en) * | 2008-03-24 | 2009-09-30 | 富士通株式会社 | Method and device for processing image and watermark detection system |
CN103020650A (en) * | 2012-11-23 | 2013-04-03 | Tcl集团股份有限公司 | Station caption identifying method and device |
CN103336954A (en) * | 2013-07-08 | 2013-10-02 | 北京捷成世纪科技股份有限公司 | Identification method and device of station caption in video |
US8965127B2 (en) * | 2013-03-14 | 2015-02-24 | Konica Minolta Laboratory U.S.A., Inc. | Method for segmenting text words in document images |
-
2015
- 2015-11-24 CN CN201510823560.1A patent/CN105868681A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101546424A (en) * | 2008-03-24 | 2009-09-30 | 富士通株式会社 | Method and device for processing image and watermark detection system |
CN103020650A (en) * | 2012-11-23 | 2013-04-03 | Tcl集团股份有限公司 | Station caption identifying method and device |
US8965127B2 (en) * | 2013-03-14 | 2015-02-24 | Konica Minolta Laboratory U.S.A., Inc. | Method for segmenting text words in document images |
CN103336954A (en) * | 2013-07-08 | 2013-10-02 | 北京捷成世纪科技股份有限公司 | Identification method and device of station caption in video |
Non-Patent Citations (1)
Title |
---|
刘军 等: "基于投影特征和先验知识的车牌字符分割算法", 《公路工程》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107516097A (en) * | 2017-08-10 | 2017-12-26 | 青岛海信电器股份有限公司 | TV station symbol recognition method and apparatus |
CN107516097B (en) * | 2017-08-10 | 2020-03-24 | 青岛海信电器股份有限公司 | Station caption identification method and device |
CN111368703A (en) * | 2020-02-29 | 2020-07-03 | 上海电力大学 | Platform logo detection and identification method based on FPN |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115082419B (en) | Blow-molded luggage production defect detection method | |
CN105894036B (en) | A kind of characteristics of image template matching method applied to mobile phone screen defects detection | |
CN104751142B (en) | A kind of natural scene Method for text detection based on stroke feature | |
CN111260616A (en) | Insulator crack detection method based on Canny operator two-dimensional threshold segmentation optimization | |
CN109977877B (en) | Intelligent auxiliary image judging method, system and system control method for security inspection | |
CN114140679A (en) | Defect fusion method, device, recognition system and storage medium | |
CN106296666A (en) | A kind of coloured image goes shadow method and application | |
CN113221881B (en) | Multi-level smart phone screen defect detection method | |
CN105868683A (en) | Channel logo identification method and apparatus | |
US10726535B2 (en) | Automatically generating image datasets for use in image recognition and detection | |
CN110728302A (en) | Method for identifying color textile fabric tissue based on HSV (hue, saturation, value) and Lab (Lab) color spaces | |
CN110287888A (en) | A kind of TV station symbol recognition method and system | |
CN108229247A (en) | A kind of mobile vehicle detection method | |
KR20170127269A (en) | Method and apparatus for detecting and classifying surface defect of image | |
CN115151952A (en) | High-precision identification method and system for power transformation equipment | |
CN110458812A (en) | A kind of similar round fruit defects detection method based on color description and sparse expression | |
Han et al. | An enhanced image binarization method incorporating with Monte-Carlo simulation | |
CN109544513A (en) | A kind of steel pipe end surface defect extraction knowledge method for distinguishing | |
CN106331746A (en) | Method and device for identifying position of watermark in video file | |
CN110246139B (en) | Method for rapidly extracting plankton in-situ image ROI (region of interest) based on double thresholds | |
CN111091071A (en) | Underground target detection method and system based on ground penetrating radar hyperbolic wave fitting | |
CN105868681A (en) | CCTV channel logo identification method and apparatus | |
CN105868680A (en) | Channel logo classification method and apparatus | |
CN109584212B (en) | MATLAB-based SLM powder bed powder laying image scratch defect identification method | |
CN105844641A (en) | Adaptive threshold segmentation method in dynamic environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160817 |
|
WD01 | Invention patent application deemed withdrawn after publication |