![](bg2.png)
The television channels or enterprises that have
been used in our study are: “1-tve”, “2-tve”,
“Antena3”, “Tele5” and “Canal9”.
The developed system has been applied to the
digital recording by a professional video from the
analogical broadcasting.
The program will detect, by the recognition of
logo, if the emission is valid or not, and it will come
to send a command to the digital video (REC or
STOP). A digital recording of program TV which is
free of advertising announcements is obtained.
A very interesting utility of our project is the
conversion of TV emission from analogical to digital
media, without advertisements or publicity. This is
very useful in TV producers in which they keep a
file from the emitted thing, since when keeping the
daily emission also stores the emitted publicity
(commercial control).
On the other hand, also it is useful this system to
have a control of time emission of advertisements in
TV enterprises. This information is very important
for TV channels and ANUNCIANTES
3 SYSTEM DESCRIPTION
Next, we detail the hardware and software
characteristics of our system for detecting and
eliminating advertisements in TV broadcasting:
Digital video. JVC Digital-S BR-D750E, digital
video of professional quality used in this
investigation to have port series and
communicate command from the computer
with standard Sony protocols in professional
video.
Analogical video. Standard analogical video
system.
PC. Standard PC. Intel Pentium D. Windows
XP operating system.
Digital card. “Matrox Corona”. This hardware
permits to digitize in PAL and NTSC system,
and composite video signal, according to norm
CCIR by Y/C and RGB. Also, it can capture
non-standard systems. True quality color 24
bits.
Software: The original software has been
developed in C++ language.
The TV signal comes from the analogical
video and it goes to the digitizer "Matrox Corona"
in PC. This same signal is also derived to the
digital video that will record the information
coming from the analogical video. The signal
produced by the analogical video or analogical
antenna can be visualized through the screen of the
PC using the program "Intellicam" that provides
Matrox.
4 STEPS OF THE ALGORITHM
FOR DIGITAL RECORDING
WITHOUT TV
ADVERTISEMENTS
Our system for advertisement detection of TV
broadcasting consists of several modules that make
different functions.
One first previous task to the execution of the
algorithm is the save in a file of the patterns of TV
logos with which the study will be made. They will
be saved in binary format. Without these patterns,
we can not detect the valid emission (without TV
advertisements). We save together the patters a
threshold of coincidence of logos. This will help to
differentiate them to each other and from the
background in which they are located and to obtain a
greater success in the detection. In the following
table we show a percentage of coincidence between
TV logos. Also, we work with another superior
threshold that allows us to differentiate the TV logo
shape from the background. In our case, 80% have
been considered as optimal as recognition of the
shape of the logo.
In Figure 1, we can see a logo TV detection in a
corner of the original image of a TV sequence of
“Canal9”.
Once the system gets the logos from file, the
algorithm begins a “do…while” loop. Initially, four
small images corresponding to four corners of the
TV emission are acquired in where the TV logos are
located. The algorithm searches the TV logos in the
four corner images every 0,5 seconds. If there is not
similarity, there is a change in the process from REC
to STOP. If there is similarity with a TV logo, then,
the system is REC the analogical TV broadcasting to
a digital system. Also, in the next iteration of the
main loop, only the same corner is analyzed.
When the system has located the logo TV, it
shows the information by a control window: a logo
TV "v
x
" with a coincidence level "p
x
" is in the corner
“c
x
" and shows the image and its four processed sub-
images. Then, it sends the command "REC" to the
digital video for the recording the emission. If the
system does not search any logo TV, the algorithm
makes four consecutive verifications every 0.5
seconds without sending any command to the digital
video. The command “STOP” is sent to digital video
once these cycles have finished. This preserves to
the system of continuity errors of TV emission: in
ICAART 2010 - 2nd International Conference on Agents and Artificial Intelligence
596