SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
Robust Visual Golf Club
       Tracking

Vincent Lepetit, Nicolas Gehring, Pascal Fua
                CVlab - EPFL
Aim




              1.5 sec

• Completely automatic video based system.
  –   No user intervention.
  –   Use of a single video (PAL) camera.
  –   No external expensive devices.
  –   No specifically instrumented golf clubs or clothing.
• Usable in natural environments
  – Cluttered (fixed) background                             2
Club: thin, specular reflexion, moves very fast
  (up to 170km/h).




                                   1
                                t + sec
                 t
                                   25

                                                  3
• Club extraction
• Tracking algorithm with
  – local motion model
  – global motion model




                            4
Dealing with interlaced images
• For each frame:




      2 « half-images » from an interlaced image




            50 « half-images » per second          5
Detection of moving objects

Frame n-1




                -   Threshold +
                    Closing
Frame n                                 Mask of the
                                        moving objects in
                                  AND
                                        frame n

               -    Threshold +
                    Closing
Frame n+1




                                                      6
Hypothesis generation
Detection of adjacent parallel segments under the moving-object mask
1. Edges detection




2. Segment detection (contour extraction, polygonal approximation)




3. Parallel segment detection and fusion




                                                                     7
Hypothesis generation
Some results of the parallel segments detection




                                                  8
Hypothesis generation
 • The resulting segment is only a part of the shaft
     Search for the shaft end-points




• Looking for the club             • Looking for the “hands” in
  head in the moving-                the color image
  object mask (as the last
  white point)



                                                            9
Hypothesis generation
• Results
   – In this example, two hypothesis:




   – Others results:




                                        10
Hypothesis generation
• Heuristics for removing some hypotheses
   – Given a 2D point somewhere between the golfer shoulders,
   we can remove some physically impossible hypotheses



                                                 Shoulders
                        Shoulders


                Possible              Impossible
• No accurate position for this point needed
• Can be easily provided by the user

                                                                11
Why we still need a tracking algorithm ?
• Some wrong hypotheses can not be removed:

            ?


        ?


            ?
                ?




                                              12
Tracking
• Many visual tracking techniques have been
  proposed in the computer vision literature.
  – Data Association approaches (MHT)
  – ConDensation

  – Based on recursive motion models: Xt+1 = f(Xt)
  – Difficult to consider a specific motion such as a golf
    swing.
  – Suffer from a lack of robustness for practical
    applications when:
     • Frequent mis-detections
     • Large acceleration
     • Abrupt motion changes
                                                             13
New tracking algorithm
• Idea:
  – Take into account previous frames + next
    frames
  – Consider the detections in these frames to
    locally estimate the club shaft motion




                                                 14
New algorithm
MLESAC applied to tracking:
• Choose randomly 3 frames (in the previous and next frames)
• Choose randomly one detection in these frames
• Compute the shaft motion assuming a locally constant
  acceleration
• Estimate the shaft position in the previous and next frames
  Several examples:




• Compute the support of the predicted motion i.e. the number of
  frames where there is a detection near the predicted position

• Repeat and keep the shaft motion with the maximum likelihood
Deals easily with mis-detections and false-alarms
                                                                   15
Robust motion estimation
Motion estimation
•   Parametrisation of the shaft (double-pendulum model):
                                                                         ϕ
                   s = [Shoulders, L, R, Ψ, ϕ]                                L

                                                                          R

                                                                                  ψ


•   Estimation
     – From the three randomly selected shafts si, sj, sk,
     – assuming a constant acceleration for all the parameters,
         • we can predict the position, velocity and acceleration of the shaft
         s 0 = [Shoulders 0, L 0, R 0, Ψ 0, ϕ 0] in the current frame:
                               i (i − 1)
                                            Ψ0       Ψi
                     1. i
                                   2
                              j ( j − 1)
                                            Ψ0 = A−1 Ψ j
                 A = 1.   j
                                   2
                              k (k − 1)
                                            Ψ0            Ψk
                     1. k
                                   2


         • we can also predict the position in the other frames:
                                            n(n − 1)
                          Ψn = Ψ0 + nΨ0 +            Ψ0
                                               2                                      16
                          …
Maximum Likelihood Estimation
• Mt motion at time t
• Zt ={zt-nB … zt+nA} detection sets for frames t-nB to t+nA
  M t = arg max p( Z t | M )δ ( M )
               M
                           ~
                                   max p( Z t | M S )δ ( M S )
• Random sampling: M = argM
                                    S

 is an initial estimate of Mt, and refined using all the correct
   detections
                      + nA
  p ( Z t | M S ) = ∏ p ( z t + i | yt + i , S )
                      i = nB
                               Classical observation model


                                                               17
Advantages
• The shaft position can be estimated when it is not
  detected, with very good accuracy:




• Using the next frames makes the tracker:
   – More robust
   – More accurate
                                                       18
   – Almost Automatic!
Other results
same parameters




                  19
Making the tracker more robust
• Using a global motion model




                                20
Temporal Segmentation of the Sequence




upswing




downswing
                                          21
Separated global motions models for
     Trajectory Estimation
– upswing
– downswing
expressed in polar coordinates system

             7π/3                       7π/3

                      −π/2



   π
                                          22
Simple polynomial functions of rather small degrees




     Upswing             Downswing
 deg. 4 polynomial     deg. 6 polynomial

                                                      23
Trajectory Estimation




Same algorithm than before, with a global motion model
•Robust estimation (b)
•Refinement using the complete support (c)
                                                         24
Experimental results




                       25
Further Research
• Define a better global motion model
  (PCA ?)
• Analysis of the motion parameters

• Tracking of the golfer body




                                        26

Contenu connexe

Similaire à golf

Tracking Faces Using Pca
Tracking Faces Using PcaTracking Faces Using Pca
Tracking Faces Using Pcaevysoso
 
Brief presentation of the thesis
Brief presentation of the thesisBrief presentation of the thesis
Brief presentation of the thesisSkyboyii
 
Ray casting algorithm by mhm
Ray casting algorithm by mhmRay casting algorithm by mhm
Ray casting algorithm by mhmMd Mosharof Hosen
 
NeuralArt 電腦作畫
NeuralArt 電腦作畫NeuralArt 電腦作畫
NeuralArt 電腦作畫Mark Chang
 
Nondeterministic testing of Sequential Quantum Logic Propositions on a Quant...
Nondeterministic testing of Sequential Quantum Logic  Propositions on a Quant...Nondeterministic testing of Sequential Quantum Logic  Propositions on a Quant...
Nondeterministic testing of Sequential Quantum Logic Propositions on a Quant...Matthew Leifer
 
Svm map reduce_slides
Svm map reduce_slidesSvm map reduce_slides
Svm map reduce_slidesSara Asher
 
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...npinto
 
The world of loss function
The world of loss functionThe world of loss function
The world of loss function홍배 김
 
3AMIGAS - Paper5: Feifei Huo
3AMIGAS - Paper5: Feifei Huo3AMIGAS - Paper5: Feifei Huo
3AMIGAS - Paper5: Feifei HuoFOCUS K3D
 
Detection Tracking and Recognition of Human Poses for a Real Time Spatial Game
Detection Tracking and Recognition of Human Poses for a Real Time Spatial GameDetection Tracking and Recognition of Human Poses for a Real Time Spatial Game
Detection Tracking and Recognition of Human Poses for a Real Time Spatial GameWolfgang Hürst
 
Anil Thomas - Object recognition
Anil Thomas - Object recognitionAnil Thomas - Object recognition
Anil Thomas - Object recognitionIntel Nervana
 
CG OpenGL Shadows + Light + Texture -course 10
CG OpenGL Shadows + Light + Texture -course 10CG OpenGL Shadows + Light + Texture -course 10
CG OpenGL Shadows + Light + Texture -course 10fungfung Chen
 
Theories and Engineering Technics of 2D-to-3D Back-Projection Problem
Theories and Engineering Technics of 2D-to-3D Back-Projection ProblemTheories and Engineering Technics of 2D-to-3D Back-Projection Problem
Theories and Engineering Technics of 2D-to-3D Back-Projection ProblemSeongcheol Baek
 
Accelarating Optical Quadrature Microscopy Using GPUs
Accelarating Optical Quadrature Microscopy Using GPUsAccelarating Optical Quadrature Microscopy Using GPUs
Accelarating Optical Quadrature Microscopy Using GPUsPerhaad Mistry
 
Stixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normalStixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normalTaeKang Woo
 

Similaire à golf (20)

Tracking Faces Using Pca
Tracking Faces Using PcaTracking Faces Using Pca
Tracking Faces Using Pca
 
Spatio-temporal reasoning for traffic scene understanding
Spatio-temporal reasoning for traffic scene understandingSpatio-temporal reasoning for traffic scene understanding
Spatio-temporal reasoning for traffic scene understanding
 
Brief presentation of the thesis
Brief presentation of the thesisBrief presentation of the thesis
Brief presentation of the thesis
 
Ray casting algorithm by mhm
Ray casting algorithm by mhmRay casting algorithm by mhm
Ray casting algorithm by mhm
 
NeuralArt 電腦作畫
NeuralArt 電腦作畫NeuralArt 電腦作畫
NeuralArt 電腦作畫
 
Nondeterministic testing of Sequential Quantum Logic Propositions on a Quant...
Nondeterministic testing of Sequential Quantum Logic  Propositions on a Quant...Nondeterministic testing of Sequential Quantum Logic  Propositions on a Quant...
Nondeterministic testing of Sequential Quantum Logic Propositions on a Quant...
 
Svm map reduce_slides
Svm map reduce_slidesSvm map reduce_slides
Svm map reduce_slides
 
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...
IAP09 CUDA@MIT 6.963 - Lecture 01: High-Throughput Scientific Computing (Hans...
 
Loca2005
Loca2005Loca2005
Loca2005
 
The world of loss function
The world of loss functionThe world of loss function
The world of loss function
 
3AMIGAS - Paper5: Feifei Huo
3AMIGAS - Paper5: Feifei Huo3AMIGAS - Paper5: Feifei Huo
3AMIGAS - Paper5: Feifei Huo
 
Detection Tracking and Recognition of Human Poses for a Real Time Spatial Game
Detection Tracking and Recognition of Human Poses for a Real Time Spatial GameDetection Tracking and Recognition of Human Poses for a Real Time Spatial Game
Detection Tracking and Recognition of Human Poses for a Real Time Spatial Game
 
Smart Room Gesture Control
Smart Room Gesture ControlSmart Room Gesture Control
Smart Room Gesture Control
 
unit 4.pptx
unit 4.pptxunit 4.pptx
unit 4.pptx
 
Anil Thomas - Object recognition
Anil Thomas - Object recognitionAnil Thomas - Object recognition
Anil Thomas - Object recognition
 
Tracking[1]
Tracking[1]Tracking[1]
Tracking[1]
 
CG OpenGL Shadows + Light + Texture -course 10
CG OpenGL Shadows + Light + Texture -course 10CG OpenGL Shadows + Light + Texture -course 10
CG OpenGL Shadows + Light + Texture -course 10
 
Theories and Engineering Technics of 2D-to-3D Back-Projection Problem
Theories and Engineering Technics of 2D-to-3D Back-Projection ProblemTheories and Engineering Technics of 2D-to-3D Back-Projection Problem
Theories and Engineering Technics of 2D-to-3D Back-Projection Problem
 
Accelarating Optical Quadrature Microscopy Using GPUs
Accelarating Optical Quadrature Microscopy Using GPUsAccelarating Optical Quadrature Microscopy Using GPUs
Accelarating Optical Quadrature Microscopy Using GPUs
 
Stixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normalStixel based real time object detection for ADAS using surface normal
Stixel based real time object detection for ADAS using surface normal
 

Plus de guest66dc5f

Os Timed Original
Os Timed OriginalOs Timed Original
Os Timed Originalguest66dc5f
 
Control your entire house with your iPhone
Control your entire house with your iPhoneControl your entire house with your iPhone
Control your entire house with your iPhoneguest66dc5f
 
Awesome car collection
Awesome car collectionAwesome car collection
Awesome car collectionguest66dc5f
 
Freaky car number plates
Freaky car number platesFreaky car number plates
Freaky car number platesguest66dc5f
 
Sunil-Hacking_firefox
Sunil-Hacking_firefoxSunil-Hacking_firefox
Sunil-Hacking_firefoxguest66dc5f
 
Rahul-Analysis_of_Adversarial_Code
Rahul-Analysis_of_Adversarial_CodeRahul-Analysis_of_Adversarial_Code
Rahul-Analysis_of_Adversarial_Codeguest66dc5f
 
Chetan-Mining_Digital_Evidence_in_Microsoft_Windows
Chetan-Mining_Digital_Evidence_in_Microsoft_WindowsChetan-Mining_Digital_Evidence_in_Microsoft_Windows
Chetan-Mining_Digital_Evidence_in_Microsoft_Windowsguest66dc5f
 
WHITEPAPER-7_years_of_Indian_Cyber_Law
WHITEPAPER-7_years_of_Indian_Cyber_LawWHITEPAPER-7_years_of_Indian_Cyber_Law
WHITEPAPER-7_years_of_Indian_Cyber_Lawguest66dc5f
 
Rohas-7_years_of_indian_cyber_laws
Rohas-7_years_of_indian_cyber_lawsRohas-7_years_of_indian_cyber_laws
Rohas-7_years_of_indian_cyber_lawsguest66dc5f
 
Shreeraj-Hacking_Web_2
Shreeraj-Hacking_Web_2Shreeraj-Hacking_Web_2
Shreeraj-Hacking_Web_2guest66dc5f
 
Dror-Crazy_toaster
Dror-Crazy_toasterDror-Crazy_toaster
Dror-Crazy_toasterguest66dc5f
 
Ajit-Legiment_Techniques
Ajit-Legiment_TechniquesAjit-Legiment_Techniques
Ajit-Legiment_Techniquesguest66dc5f
 
Varun-Subtle_Security_flaws
Varun-Subtle_Security_flawsVarun-Subtle_Security_flaws
Varun-Subtle_Security_flawsguest66dc5f
 
longisland_golf_07
longisland_golf_07longisland_golf_07
longisland_golf_07guest66dc5f
 
GolfLakeCity_002
GolfLakeCity_002GolfLakeCity_002
GolfLakeCity_002guest66dc5f
 
ACAD Golf Leaflet
ACAD Golf LeafletACAD Golf Leaflet
ACAD Golf Leafletguest66dc5f
 

Plus de guest66dc5f (20)

Os Timed Original
Os Timed OriginalOs Timed Original
Os Timed Original
 
Control your entire house with your iPhone
Control your entire house with your iPhoneControl your entire house with your iPhone
Control your entire house with your iPhone
 
Awesome car collection
Awesome car collectionAwesome car collection
Awesome car collection
 
Freaky car number plates
Freaky car number platesFreaky car number plates
Freaky car number plates
 
David-FPGA
David-FPGADavid-FPGA
David-FPGA
 
Sunil-Hacking_firefox
Sunil-Hacking_firefoxSunil-Hacking_firefox
Sunil-Hacking_firefox
 
Rahul-Analysis_of_Adversarial_Code
Rahul-Analysis_of_Adversarial_CodeRahul-Analysis_of_Adversarial_Code
Rahul-Analysis_of_Adversarial_Code
 
Chetan-Mining_Digital_Evidence_in_Microsoft_Windows
Chetan-Mining_Digital_Evidence_in_Microsoft_WindowsChetan-Mining_Digital_Evidence_in_Microsoft_Windows
Chetan-Mining_Digital_Evidence_in_Microsoft_Windows
 
WHITEPAPER-7_years_of_Indian_Cyber_Law
WHITEPAPER-7_years_of_Indian_Cyber_LawWHITEPAPER-7_years_of_Indian_Cyber_Law
WHITEPAPER-7_years_of_Indian_Cyber_Law
 
Rohas-7_years_of_indian_cyber_laws
Rohas-7_years_of_indian_cyber_lawsRohas-7_years_of_indian_cyber_laws
Rohas-7_years_of_indian_cyber_laws
 
David-FPGA
David-FPGADavid-FPGA
David-FPGA
 
Shreeraj-Hacking_Web_2
Shreeraj-Hacking_Web_2Shreeraj-Hacking_Web_2
Shreeraj-Hacking_Web_2
 
Dror-Crazy_toaster
Dror-Crazy_toasterDror-Crazy_toaster
Dror-Crazy_toaster
 
Ajit-Legiment_Techniques
Ajit-Legiment_TechniquesAjit-Legiment_Techniques
Ajit-Legiment_Techniques
 
Varun-Subtle_Security_flaws
Varun-Subtle_Security_flawsVarun-Subtle_Security_flaws
Varun-Subtle_Security_flaws
 
NR-golf-sept07
NR-golf-sept07NR-golf-sept07
NR-golf-sept07
 
NR-golf-sept07
NR-golf-sept07NR-golf-sept07
NR-golf-sept07
 
longisland_golf_07
longisland_golf_07longisland_golf_07
longisland_golf_07
 
GolfLakeCity_002
GolfLakeCity_002GolfLakeCity_002
GolfLakeCity_002
 
ACAD Golf Leaflet
ACAD Golf LeafletACAD Golf Leaflet
ACAD Golf Leaflet
 

Dernier

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 

Dernier (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 

golf

  • 1. Robust Visual Golf Club Tracking Vincent Lepetit, Nicolas Gehring, Pascal Fua CVlab - EPFL
  • 2. Aim 1.5 sec • Completely automatic video based system. – No user intervention. – Use of a single video (PAL) camera. – No external expensive devices. – No specifically instrumented golf clubs or clothing. • Usable in natural environments – Cluttered (fixed) background 2
  • 3. Club: thin, specular reflexion, moves very fast (up to 170km/h). 1 t + sec t 25 3
  • 4. • Club extraction • Tracking algorithm with – local motion model – global motion model 4
  • 5. Dealing with interlaced images • For each frame: 2 « half-images » from an interlaced image 50 « half-images » per second 5
  • 6. Detection of moving objects Frame n-1 - Threshold + Closing Frame n Mask of the moving objects in AND frame n - Threshold + Closing Frame n+1 6
  • 7. Hypothesis generation Detection of adjacent parallel segments under the moving-object mask 1. Edges detection 2. Segment detection (contour extraction, polygonal approximation) 3. Parallel segment detection and fusion 7
  • 8. Hypothesis generation Some results of the parallel segments detection 8
  • 9. Hypothesis generation • The resulting segment is only a part of the shaft Search for the shaft end-points • Looking for the club • Looking for the “hands” in head in the moving- the color image object mask (as the last white point) 9
  • 10. Hypothesis generation • Results – In this example, two hypothesis: – Others results: 10
  • 11. Hypothesis generation • Heuristics for removing some hypotheses – Given a 2D point somewhere between the golfer shoulders, we can remove some physically impossible hypotheses Shoulders Shoulders Possible Impossible • No accurate position for this point needed • Can be easily provided by the user 11
  • 12. Why we still need a tracking algorithm ? • Some wrong hypotheses can not be removed: ? ? ? ? 12
  • 13. Tracking • Many visual tracking techniques have been proposed in the computer vision literature. – Data Association approaches (MHT) – ConDensation – Based on recursive motion models: Xt+1 = f(Xt) – Difficult to consider a specific motion such as a golf swing. – Suffer from a lack of robustness for practical applications when: • Frequent mis-detections • Large acceleration • Abrupt motion changes 13
  • 14. New tracking algorithm • Idea: – Take into account previous frames + next frames – Consider the detections in these frames to locally estimate the club shaft motion 14
  • 15. New algorithm MLESAC applied to tracking: • Choose randomly 3 frames (in the previous and next frames) • Choose randomly one detection in these frames • Compute the shaft motion assuming a locally constant acceleration • Estimate the shaft position in the previous and next frames Several examples: • Compute the support of the predicted motion i.e. the number of frames where there is a detection near the predicted position • Repeat and keep the shaft motion with the maximum likelihood Deals easily with mis-detections and false-alarms 15 Robust motion estimation
  • 16. Motion estimation • Parametrisation of the shaft (double-pendulum model): ϕ s = [Shoulders, L, R, Ψ, ϕ] L R ψ • Estimation – From the three randomly selected shafts si, sj, sk, – assuming a constant acceleration for all the parameters, • we can predict the position, velocity and acceleration of the shaft s 0 = [Shoulders 0, L 0, R 0, Ψ 0, ϕ 0] in the current frame: i (i − 1) Ψ0 Ψi 1. i 2 j ( j − 1) Ψ0 = A−1 Ψ j A = 1. j 2 k (k − 1) Ψ0 Ψk 1. k 2 • we can also predict the position in the other frames: n(n − 1) Ψn = Ψ0 + nΨ0 + Ψ0 2 16 …
  • 17. Maximum Likelihood Estimation • Mt motion at time t • Zt ={zt-nB … zt+nA} detection sets for frames t-nB to t+nA M t = arg max p( Z t | M )δ ( M ) M ~ max p( Z t | M S )δ ( M S ) • Random sampling: M = argM S is an initial estimate of Mt, and refined using all the correct detections + nA p ( Z t | M S ) = ∏ p ( z t + i | yt + i , S ) i = nB Classical observation model 17
  • 18. Advantages • The shaft position can be estimated when it is not detected, with very good accuracy: • Using the next frames makes the tracker: – More robust – More accurate 18 – Almost Automatic!
  • 20. Making the tracker more robust • Using a global motion model 20
  • 21. Temporal Segmentation of the Sequence upswing downswing 21
  • 22. Separated global motions models for Trajectory Estimation – upswing – downswing expressed in polar coordinates system 7π/3 7π/3 −π/2 π 22
  • 23. Simple polynomial functions of rather small degrees Upswing Downswing deg. 4 polynomial deg. 6 polynomial 23
  • 24. Trajectory Estimation Same algorithm than before, with a global motion model •Robust estimation (b) •Refinement using the complete support (c) 24
  • 26. Further Research • Define a better global motion model (PCA ?) • Analysis of the motion parameters • Tracking of the golfer body 26