Presentation is loading. Please wait.

Presentation is loading. Please wait.

Local Affine Feature Tracking in Films/Sitcoms Chunhui Gu CS 294-6 Final Presentation Dec. 13, 2006.

Similar presentations


Presentation on theme: "Local Affine Feature Tracking in Films/Sitcoms Chunhui Gu CS 294-6 Final Presentation Dec. 13, 2006."— Presentation transcript:

1 Local Affine Feature Tracking in Films/Sitcoms Chunhui Gu CS 294-6 Final Presentation Dec. 13, 2006

2 Objective Automatically detect and track local affine features in film/sitcom frame sequences. –Current Dataset: Sex and the City –Why sitcom? Simple daily environment Few or no special effects Repeated scenes

3 Outline Preprocessing Tracking Algorithm –Pairwise local matching –Robust features Feature Matching across Shots Results –Feature matching vs baseline color histogram –Time complexity –When does tracking fail

4 Preprocessing Frame Extraction (i-1)’th shoti’th shot Shot Detection MSER Interest Point Detection SIFT Feature Extraction

5 Tracking Algorithm Basic: Pairwise Matching Frame iFrame j=i+1

6 Tracking Algorithm Basic: Pairwise Matching Frame iFrame j=i+1

7 Tracking Algorithm Basic: Pairwise Matching Frame iFrame j=i+1 Thresholding on both minimum distance and ratio

8 Tracking Algorithm Basic: Pairwise Matching Frame iFrame j=i+1

9 Tracking Algorithm Basic: Pairwise Matching Frame iFrame j=i+1

10 Tracking Algorithm Problem of Pairwise Matching –Sensitive to occlusion and feature misdetection Solutions: –Use multiple overlapping windows –Backward Matching Match features in current frame to features in all previous frames within the shot Pruning process (reduce computation time) Select a proportion of features that have longer tracking length as robust features

11 Shot grouping/Scene Retrieval 107461074710772 Shot 49 109331093410968 Shot 53 113931139411435 Shot 56 Shot 60 115331153411560 Scene 5

12 Inter-Shot Matching Shot I Shot J

13 “Confusion Table”

14 ROC

15 When Does Tracking Fail? Tracking feature outside local window –Rare when continuous tracking –Happens when occlusion occurs Same feature splitting to two or more groups –Long occlusion –Multiple matching in a single frame Frame iFrame j=i+1

16 Computation Complexity Everything except for MSER and SIFT algorithms are implemented in Matlab (slow…) ComplexityTime Frame ExtractionO(N)~0.3s/frame Shot DetectionO(N*f(B))~0.07s/frame (B=16) MSER DetectionO(N)~0.3s/frame SIFT DetectionO(N)~0.9s/frame Feature TrackingO(N*F*W*L)~0.5s/frame Matching across shots O(S 2 *T 2 )~1s/shot pair N: # of frames; (30,000) B: # of bins for color hist (16) F: ave. # of features per frame; (400) W: Local window size; (15) L: tracking length; (20) T: ave. # of robust trackers per shot; (300) S: # of shots; (35)

17 Conclusion We successfully implemented local affine feature tracking in sitcom “sex and the city”. The tracking method is robust to occlusion and feature misdetection. Although no quantitative precision/recall curve (hard to find ground truth), the demonstration shows that precision is almost perfect with good recall performance. We show one successful application of using robust features to associate similar shots together for scene retrieval.

18 Future Work Implement algorithm in real-time (C/C++) Search unique shots in films/sitcoms Separate indoor scenes from outdoor scenes Determine context of the scene

19 Acknowledgement


Download ppt "Local Affine Feature Tracking in Films/Sitcoms Chunhui Gu CS 294-6 Final Presentation Dec. 13, 2006."

Similar presentations


Ads by Google