igor rosenberg summer internship creating a building detector june 16 th to september 15 th in...

22
Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

Upload: primrose-carson

Post on 17-Jan-2018

219 views

Category:

Documents


0 download

DESCRIPTION

3 My activities - little modules - building detector - visiting Ireland

TRANSCRIPT

Page 1: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

Igor Rosenberg

Summer internship

Creating a building detector

June 16th to September 15th

in Dublin City University, Ireland

Supervisor: Alan Smeaton

Page 2: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

2

EnvironmentDCU: Dublin City University

CDVP : Centre for Digital Video Processing

(25 people)

My lab: 1 professor3 post docs5 PhD students

Page 3: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

3

My activities

- little modules

- building detector

- visiting Ireland

Page 4: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

4

Fischlar: video enhancement

Adding content to a video to use it as search data.For example,

separating shots, extracting stories in news video, finding text in the video

Page 5: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

5

Adding information to the MPEG7 descriptor

XML<VideoSegment> <StartTime 00:15:16> <TextAnnotation> This is the shot where the sun sets. <\TextAnnotation> <Frame height=… width= … > <FileFormat ….><\VideoSegment>

Manual annotations

Audio information

One video

XML descr.

MPEG1

Page 6: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

6

Just to get back into coding

Width & height of keyframes

ASR

Frame rate

XML descriptor

(read the extracted images)

(read the time stamps)

(read mpeg1)

Creation of thumbnails from the keyframes(changing size of images)

Page 7: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

7

Closed captions

0.00 this0.10 is 0.15 the 0.22 time0.35 of 0.41 red0.44 and 0.50 Sean

ASR (time stamps)

XML descriptor

CC (precise)

Shot boundary

This is the time of redemption

ENS ‘99

Shot boundary

Page 8: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

8

ASR: w1 …….....w4 ….w7 …...

CC: ...w1 ….w4……………w7...

matching x>y => match (x) > match(y)

maximum number of matches

“tree”=match(“Trees”)

Rules:

Closed captions: matching

Page 9: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

9

M(Ua, Vb) = f( M(U,V) M(Ua,V) M(U, Vb) )

Closed captions : dynamic programming

Time is up, Time is cut

Time is up, man!

Time is cut up

Time is up, man!

Time is cut

Time is up,

Time is cut upMan! cut

X

Page 10: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

10

Alignment

ASR not aligned to the video time (slight offset ~ ±30 sec).

ASR VIDEO05:30.2 word 05:48.5 word

The ASR delay file is man made errors

BUT TREC changed the guidelines: work thrown in the bin

Page 11: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

11

Research

Page 12: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

12

Building detector

Given an image, say if a building can be seen

Literature : 40 % precision

Use for TREC - one of the features to detect: landscape/cityscape?

Page 13: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

13

Ideas- Region segmentation- Dominant color - Texture homogeneity- Edge histogram

- Support Vector Machine to aggregate results

Extract possible building regions before anything else

Page 14: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

14

Then evaluate each regions

Values could describe: - dominant color - texture homogeneity - measure of how straight the lines are…

v

Values = … Values = …

Values = …

Page 15: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

15

Finally sum up these values

Have to decide on strategy:

- mean ?- highest score?- values + importance in the image?

- Support Vector Machine (once trained, decides without heuristics)

Page 16: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

16

What my utility does

Extracts regions from image

examines regions with different tools

Sums up the results

returns boolean

Page 17: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

17

Tools not used

Canny Edge detector

Fast Fourrier Transform

Line kernel

Hough transform

Sobel is enough

Time’s up

Doesn’t work

Works only in simple cases

Page 18: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

What should be added

- better regional weighing- better overall measure

- SVM

Page 19: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

19

Results

• Number of images tested: 268• Precision: 29.7 %• Recall 7.46%

Page 20: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

20

This research experience was cool…

I met lots of peopleLearnt a lot about programmingPraticed english.

Page 21: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

21

That’s it folks!

- Get yourselves a good supervisor

- Don’t go out on the second last week

- Don’t go to Ireland (filthy weather)

- Start early

Thank you!

Page 22: Igor Rosenberg Summer internship Creating a building detector June 16 th to September 15 th in Dublin City University, Ireland Supervisor: Alan Smeaton

22

Structure of fischlár

CocoonTomCat

•configure•process

•configure•process