Defensa del Project de Final de Carrera de l'Elisabet Carcel, en els estudia d'Engineria Tècnica en Telecomunicacions, especialitat en So i Imatge.
Co-dirigit per en Xavier Giró-i-i-Nieto (UPC) i Xavier Vives (CCMA)
Escola d'Enginyeria de Terrassa, Universitat Politècnica de Catalunya. Juny 2011.
Més detalls:
https://imatge.upc.edu/web/publications/rich-internet-application-semi-automatic-annotation-semantic-shots-keyframes-0
4. Introducció
1
Continguts digitals:
Els continguts audiovisuals s’han
d’indexar per tal de permetre la seva
recuperació
Producció AV
Grabació de vídeo en
format digital
Ingesta
Recuperació
Emmagatzemament i
indexació dels vídeos a la
base de dades
Cerca de les metadades
de la base de dades per
obtenir el vídeo
7. Introducció
Solució actual
4
Proposta del projecte
vídeos sense
annotar
Metadades per estrats
• Codi de temps inici
• Codi de temps final
• Descripció del contingut
- Descripció de l’acció
-Tipus de plans
- Persones
Interfície Gràfica
d’annotació
semi-automàtica
vídeos annotats
15. Disseny
9
Arquitectura del sistema
Entrenament:
Entrenador 1
Entrenador 2
?
Detector1
Detector 2
Model
classe N
valor de
confiança 1
valor de
confiança 2
Model
classe 2
Entrenador N
Detecció:
Model
classe 1
Detector N
valor de
confiança N
Model
domini
Decisió
màx valor
de confiança
>llindar
No
Sí
Classe màx
Cap Pla
18. Desenvolupament
11
Anotació
Ontologia Futbol
Classe 1
Classe 2
Classe 3
Classe 4
Classe 5
Classe 6
Classe 7
Cromo
Cromo PP
Cromo Beauty
Public
Pancarta
Llotja
Cap Pla
116
87
4
19
4
6
278
514
Ontologia Parlament
Classe 1
Classe 2
Classe 3
Classe 4
Classe 5
Classe 6
PC President
PC
PM
PG Mesa
PG Hemicicle
Cap Pla
16
63
68
13
23
84
276
21. Evaluació
n or specificity is a measure of the ability of a system to present only relevant
Precision and Recall
s. It measures the exactness or fidelity of 4.3.3. F1 and Fß measure
the system.
13
n or specificity isempreades the ability of a system to present only relevant
Mesures a measure of
a
and
es. It P recisi´ = quantitat dor fidelity ofdetectades correctament precision(4.1) recall providing a single mea
measures the exactness inst`ncies F-measure considers both
the system.
o
quantitat total d inst`ncies having two independent measures.
a
avoiding detectades
quantitat d inst`ncies detectades correctament
a
sensitivity is a measure of the ability of a system to present all relevant instances,
P recisi´ =
o
(4.1)
inst`ncies detectades
quantitat total d
a
precisi´ · record
o
sed for evaluating the completeness of results.
F 1 = 2·
precisi´ + record
o
r sensitivity is a measure of the ability of a system to present all relevant instances,
quantitat d inst`ncies detectades correctament
a
used for evaluating the completeness of results.
Record =
In order to give different weights (4.2)
to precision and recall, the F-m
inst`ncies a la col.lecci´
quantitat d
a
o
that Fß measures the effectiveness of retrieval with respect to a user
amount of correct instances detected
Recall row and two column as much importance to recall as precision[8].
(4.2)
ctive analysis a two=
confusion table is commonly used for
amount of instances in the collection
ng binary classifiers. It reports the number of true negatives, false positives, false
ictive true positives. True negatives andconfusion
s, and analysis a two row and two columnAutomàtic table are properly classified
true positives is commonly used for
precisi´ · record
o
2
Fß = (1 false
ng false classifiers. It reports the number ofwhen obtained false positives,+ ß ) ·
true
hilebinarypositives and false negatives occurClasse2 negatives, classification do not (ß2 · precisi´) + record
o
Classe1
Classe3
es, and true positives. True negatives in table positives are properly classified
orrect classification. This is illustrated and true4.3.
while false positives and false negatives occur when obtained0classification do not
Classe1
4
1
Automatic
correct classification. This is illustrated in table 4.3.
M
a
positive
negative
Classe2
0
3
0
n
Automatic positive
u
positive true positive
false
a
l Manual
Classe3
positive
negative
tp
fp 3
0
positive true
false positive
negative false positive
negative true negative
Manual
tp
fp
fn
tn
negative false negative true negative
2
22. Evaluació
n or specificity is a measure of the ability of a system to present only relevant
Precision and Recall
s. It measures the exactness or fidelity of 4.3.3. F1 and Fß measure
the system.
13
n or specificity isempreades the ability of a system to present only relevant
Mesures a measure of
a
and
es. It P recisi´ = quantitat dor fidelity ofdetectades correctament precision(4.1) recall providing a single mea
measures the exactness inst`ncies F-measure considers both
the system.
o
quantitat total d inst`ncies having two independent measures.
a
avoiding detectades
quantitat d inst`ncies detectades correctament
a
sensitivity is a measure of the ability of a system to present all relevant instances,
P recisi´ =
o
(4.1)
inst`ncies detectades
quantitat total d
a
precisi´ · record
o
sed for evaluating the completeness of results.
F 1 = 2·
precisi´ + record
o
r sensitivity is a measure of the ability of a system to present all relevant instances,
quantitat d inst`ncies detectades correctament
a
used for evaluating the completeness of results.
Record =
In order to give different weights (4.2)
to precision and recall, the F-m
inst`ncies a la col.lecci´
quantitat d
a
o
that Fß measures the effectiveness of retrieval with respect to a user
amount of correct instances detected
Recall row and two column as much importance to recall as precision[8].
(4.2)
ctive analysis a two=
confusion table is commonly used for
amount of instances in the collection
ng binary classifiers. It reports the number of true negatives, false positives, false
ictive true positives. True negatives andconfusion
s, and analysis a two row and two columnAutomàtic table are properly classified
true positives is commonly used for
precisi´ · record
o
2
Fß = (1 false
ng false classifiers. It reports the number ofwhen obtained false positives,+ ß ) ·
true
hilebinarypositives and false negatives occurClasse2 negatives, classification do not (ß2 · precisi´) + record
o
Classe1
Classe3
es, and true positives. True negatives in table positives are properly classified
orrect classification. This is illustrated and true4.3.
while false positives and false negatives occur when obtained0classification do not
Classe1
4
1
Automatic
correct classification. This is illustrated in table 4.3.
M
a
positive
negative
Classe2
0
3
0
n
Automatic positive
u
positive true positive
false
a
l Manual
Classe3
positive
negative
tp
fp 3
0
positive true
false positive
negative false positive
negative true negative
Manual
tp
fp
fn
tn
negative false negative true negative
2
23. Evaluació
14
Partició de dades
• Entrenament
- 80% de les instàncies (+)
- Totes les instàncies positives de les altres
classes com a negatives (-)
- Eliminació d’instàncies de cap tipus de pla
• Detecció
- 20% de les instàncies (+)
24. Evaluació
15
Variables del classificador:
mesura F1
• Màx distància del clúster
• Min elements dins d'un clúster
• Puntuació mínima
Màx dist. (0.1 - 1.0)
Min elem. (0 - 5)
Iteracions (3)
Llindar (0.0 - 1.0)
31. Interfície Gràfica d’Usuari
Configuració de la xarxa
21
Serveis web UPC:
• Llistat de keyframes donat un asset
Asset 1257
00_00_09_24
00_00_39_25
00_00_54_48
00_00_59_41
• Detecció donat un keyframe
Intercanvi de dades
00_00_09_24
Futbol
Mín elements
Màx distància
Classe 3
Score: 0.83
00_00_54_48
Futbol
Mín elements
Màx distància
Class 5
Score 0.46
Class 3
Score 0.75
00_00_59_41
Futbol
Mín elements
Màx distància
Class 2
Score 0.98
• Format: JSON
00_00_39_25
Futbol
Mín elements
Màx distància
37. Conclusions
Classificador semàntic
24
Interfície Gràfica d’Usuari
• Interfície integrable al digition
• Classificació multiclasse a partir de classificació binaria
- Annotació optimitzada (només + )
- Evaluació per sistemes multiclasse
- Mètriques a partri de la matriu de confusió
- Cercador automàtic de paràmetres òptims
- Nou mètode de partició de dades
• Interfície flexible, fàcil d’utilitzar, optimitzada:
- Ordenació per puntuació mínima
- Canvi de la puntuació mínima
- Drag and drop
- Validació pàgina /pla semàntic
• Creació dels dos models
• Bons resultats
• Aprofitament de l’anotació:
- Entrenament
- Destacat de keyframes