SlideShare uma empresa Scribd logo
1 de 39
REAL-TIME OBJECT DETECTION
AND TRACKING
                                  By:
                   Vanya V. Valindria
                    Hammad Naeem
                             Rui Hua
Outline
 • Introduction
 • Hardware in RT Object Detetion & Tracking
 • Methods
      Traditional Methods:    Modern Methods:
      Absolute Differences
         Census Method            KLT
     Feature Based Method       Meanshift


 • Result and Conclusion
Introduction
Definition:
Object detection
 detect a particular
 object in an image

Object tracking
 to track an object
(or multiple objects)
over a sequence of
images
Application: Traffic Information




http://www.youtube.com/watch?v=vA35sXbn7zs
Application: Surveillance




http://www.youtube.com/watch?v=o25fClk9cdg
Application: Mobile Robot




http://www.youtube.com/watch?v=Q4zycRGJFFs
Problems??
• Temporal variation/dynamic environment

• Abrupt object or camera motion

• Multi-camera? Multi-objects?

• Computational expensive
Hardware in Real-time Tracking

• MEMORY
Important  Tracking system encountering limited memory
  problems.


• FRAME RATE
 ~30 FPS

• PROCESSORS - DSP
• Allow saturated arithmetic operation
• Powerful operation ability
• Can do several memory accesses in a single instruction
Object Detection and Tracking
• In a video sequence an object is said to be in
  motion, if it is changing its location with
  respect to its background

• The motion tracking is actually the process of
  keeping tracks of that moving object in video
  sequence i.e. position of moving object at
  certain time etc.
Flow Chart
                Idle


               Image
             acquisition


              Object
             Detection


               Image
             acquisition


               Object
              tracking



               Object
                           No
               Lost?



                  Y es
Method 1: Absolute Differences
= Image subtraction

        D(t)=I(ti) – I(tj)

Gives an image frame with changed and
 unchanged regions


Ideal Case for no motion: I(ti) = I(tj), D(t)=0
Moving
objects
are
detected
Results:




     Frame1                   Frame10




           Difference of Two Frames
Absolute Difference
Methods for Motion Detection

     Frame Differencing
     Background Subtraction

Draw Backs:

involves a lot of computations

 Not feasible for DSP implementation
Method 2: Census Transforms
124   74    32                                     1    1       0

124   64    18   If (Center pixel < Neighbor
                                                   1    x       0
                            pixel)
                      Neighbor pixel = 1
157   116   84                                     1    1       1


                              Signature Vector Generation

                                               1   1        0

                                               1   x        0
                     Signature Vector
      11011101                                 1   1        1
Image
128 26       125 243 87                                         Signature Vectors
96    76     43     236 125
                                                                10110101
                                                                00101011
128 129 235 229 209            Signatur vector generation for
                                                                    .
                                          all pixels
228 251 229 221 234
                                                                    .
                                                                    .
227 221 35          58   98                                     10111010

                     List                10110101
                  Generation                                       List
                                         00101011               population
                                         .
                                         .
                                         .
                    Generated List       10111010


                                                  Signature vector
                                                      matching
Census Transform:
 Advantages:

  Compare only two values 0 or 1.
  Similar Illumination Variation for pixel and
  neighbouring pixels

 Draw Backs:

  As we only deal with only 0`s and 1`s, this method is
  sensitive to noise.
  Calculate, store and match process  computationally
  Expensive
Method 3: Morphology Based
 Object Tracking


Background       Frame         Object
 estimation   differencing   Registration
Morphology Based Object Tracking
           • Image Differencing
Background • Thresholding
Estimation



               • Contours are registered
  Object       • Width, height and histogram are recorded for each contour
Registration



               • Each object represented by a feature vector (the length,
  Feature        width, area and histogram of the object)
   Vector
Segmented object




  Tracked object
Morphology Based Techniques
Advantages:

Can Track Multiple objects  Objects are registered
 based on their anatomy
 Helpful for Object Merging

Draw Backs:

Object registration  complex and slow process
 For multiple object registration per frame  more
 complex
Method 4: Lucas-Kanade Technique
• Visual motion pattern of objects and surface in a
  scene  by Optical Flow




              Frame 1          Frame 2
Method 5: Mean shift
• An algorithm that iteratively shifts a data point to the
  average of data points in its neighborhood

    Choose a search window         Compute the MEAN
   size in the initial location      location in the
                                     search window




          Repeat until            Center the search
          convergence                 window
                                    at the mean
Intuitive Description
                                                Region of
                                                 interest

                                                Center of
                                                  mass




                                                Mean Shift
                                                 vector
          Objective : Find the densest region
             Distribution of identical balls
Intuitive Description                           Region of
                                                 interest

                                                Center of
                                                  mass




                                                Mean Shift
                                                 vector
          Objective : Find the densest region
             Distribution of identical balls
Intuitive Description
                                                Region of
                                                 interest

                                                Center of
                                                  mass




                                                Mean Shift
                                                 vector
          Objective : Find the densest region
             Distribution of identical balls
Intuitive Description
                                                Region of
                                                 interest

                                                Center of
                                                  mass




                                                Mean Shift
                                                 vector
          Objective : Find the densest region
             Distribution of identical balls
Intuitive Description
                                                Region of
                                                 interest

                                                Center of
                                                  mass




                                                Mean Shift
                                                 vector
          Objective : Find the densest region
             Distribution of identical balls
Intuitive Description
                                                Region of
                                                 interest

                                                Center of
                                                  mass




                                                Mean Shift
                                                 vector
          Objective : Find the densest region
             Distribution of identical balls
Intuitive Description
                                                Region of
                                                 interest

                                                Center of
                                                  mass




          Objective : Find the densest region
             Distribution of identical balls
Process
CAMSHIFT
--Continously Adaptive Meanshift
Modified to adapt dynamically to the colour
 probability distributions
More real time

        For each frame-> MEAN-SHIFT is
         applied with several iteration



          Store the location of the mean and
          calculate new window size for next
                         frame
New development
• Combine with different features. SIFT features,
  colour feature & texture information

• Camshift algorithm combined with the Kalman
  filter.
Result
                         Arithmetic and   Time taken
            Algorithm         Logic            by
                           operations      Algorithm
          Absolute
                            4230100           16
         Differencing
           Census
                            2416000           5. 4
          Transform
         Morphological
                            352210            14.2
           Tracking
         Kanade Lucas       500825           0.486
Comparison
                                               Computationally
                        Easy to implement
                                                  expensive
 Absolute Differences   Allows continuous        Slow and low
                             tracking                accuracy

                                               Computationally
                                                 expensive
   Census Transform     Immune to noise and
                        Illumination changes    Complex if 
                                               Multiple objects
                                                 per frame


                        Can track multiple          Slow
    Feature Based
                           objects well
                                                Large Memory
                                                 consumption
Comparison

                            High accuracy
         KLT
                         Less execution time   Large memory

                         Robust to noise and
                           dynamic scene



                                                Ineffective if
                        Computationally less   there is heavy
 MeanShift & CAMShift       expensive             occlusion
Conclusion
• KLT algorithm has the best performance with
  higher accuracy and less computation time

• It requires combination of methods to achieve
  the appropriate object detection and tracking
  according to the proposed scenario
References
 •   S. Shah, T. Khattak, M. Farooq, Y. Khawaja, A. Bais, A. Anees, and M. Khan, “Real Time Object
     Tracking in a Video Sequence Using a Fixed Point DSP,” Advances in Visual Computing, pp. 879–
     888.

 •   K. Huang, L. Wang, T. Tan, and S. Maybank, “A real-time object detecting and tracking system
     for outdoor night surveillance,” Pattern Recognition, vol. 41, no. 1, pp. 432–444, 2008.

 •   J. Li, F. Li, and M. Zhang, “A Real-time Detecting and Tracking Method for Moving Objects Based
     on Color Video,” in 2009 Sixth International Conference on Computer Graphics, Imaging and
     Visualization. IEEE, 2009, pp. 317–322.

 •   W. Junqiu and Y. Yagi, “Integrating color and shapetexture features for adaptive real-time
     object tracking,” IEEE Trans on Image Processing, vol. 17, no. 2, pp. 235–240, 2008.

 •   Q. Wang and Z. Gao, “Study on a Real-Time Image Object Tracking System,” in Computer
     Science and Computational Technology, 2008. ISCSCT’08. International Symposium on, vol. 2,
     2008.

 •   Y. Meng, “Agent-based reconfigurable architecture for real-time object tracking,” Journal of
     Real-Time Image Processing, vol. 4, no. 4, pp. 339–351, 2009.

 •   [Y. Yao, C. Chen, A. Koschan, and M. Abidi, “Adaptive online camera coordination for multi-
     camera multi-target surveillance,” Computer Vision and Image Understanding, 2010.

Mais conteúdo relacionado

Mais procurados

Object detection presentation
Object detection presentationObject detection presentation
Object detection presentationAshwinBicholiya
 
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
[PR12] You Only Look Once (YOLO): Unified Real-Time Object DetectionTaegyun Jeon
 
Deep learning for object detection
Deep learning for object detectionDeep learning for object detection
Deep learning for object detectionWenjing Chen
 
Introduction to object detection
Introduction to object detectionIntroduction to object detection
Introduction to object detectionBrodmann17
 
Object tracking a survey
Object tracking a surveyObject tracking a survey
Object tracking a surveyHaseeb Hassan
 
You Only Look Once: Unified, Real-Time Object Detection
You Only Look Once: Unified, Real-Time Object DetectionYou Only Look Once: Unified, Real-Time Object Detection
You Only Look Once: Unified, Real-Time Object DetectionDADAJONJURAKUZIEV
 
Object Detection and Recognition
Object Detection and Recognition Object Detection and Recognition
Object Detection and Recognition Intel Nervana
 
You only look once: Unified, real-time object detection (UPC Reading Group)
You only look once: Unified, real-time object detection (UPC Reading Group)You only look once: Unified, real-time object detection (UPC Reading Group)
You only look once: Unified, real-time object detection (UPC Reading Group)Universitat Politècnica de Catalunya
 
Recent Progress on Object Detection_20170331
Recent Progress on Object Detection_20170331Recent Progress on Object Detection_20170331
Recent Progress on Object Detection_20170331Jihong Kang
 
You only look once (YOLO) : unified real time object detection
You only look once (YOLO) : unified real time object detectionYou only look once (YOLO) : unified real time object detection
You only look once (YOLO) : unified real time object detectionEntrepreneur / Startup
 
Object Detection & Tracking
Object Detection & TrackingObject Detection & Tracking
Object Detection & TrackingAkshay Gujarathi
 
Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Hwa Pyung Kim
 
Mask-RCNN for Instance Segmentation
Mask-RCNN for Instance SegmentationMask-RCNN for Instance Segmentation
Mask-RCNN for Instance SegmentationDat Nguyen
 
Deep sort and sort paper introduce presentation
Deep sort and sort paper introduce presentationDeep sort and sort paper introduce presentation
Deep sort and sort paper introduce presentation경훈 김
 
Moving object detection in video surveillance
Moving object detection in video surveillanceMoving object detection in video surveillance
Moving object detection in video surveillanceAshfaqul Haque John
 
PR-207: YOLOv3: An Incremental Improvement
PR-207: YOLOv3: An Incremental ImprovementPR-207: YOLOv3: An Incremental Improvement
PR-207: YOLOv3: An Incremental ImprovementJinwon Lee
 
Introduction to multiple object tracking
Introduction to multiple object trackingIntroduction to multiple object tracking
Introduction to multiple object trackingFan Yang
 

Mais procurados (20)

Object detection presentation
Object detection presentationObject detection presentation
Object detection presentation
 
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
[PR12] You Only Look Once (YOLO): Unified Real-Time Object Detection
 
Deep learning for object detection
Deep learning for object detectionDeep learning for object detection
Deep learning for object detection
 
Introduction to object detection
Introduction to object detectionIntroduction to object detection
Introduction to object detection
 
Object tracking a survey
Object tracking a surveyObject tracking a survey
Object tracking a survey
 
You Only Look Once: Unified, Real-Time Object Detection
You Only Look Once: Unified, Real-Time Object DetectionYou Only Look Once: Unified, Real-Time Object Detection
You Only Look Once: Unified, Real-Time Object Detection
 
Object Detection and Recognition
Object Detection and Recognition Object Detection and Recognition
Object Detection and Recognition
 
You only look once: Unified, real-time object detection (UPC Reading Group)
You only look once: Unified, real-time object detection (UPC Reading Group)You only look once: Unified, real-time object detection (UPC Reading Group)
You only look once: Unified, real-time object detection (UPC Reading Group)
 
Recent Progress on Object Detection_20170331
Recent Progress on Object Detection_20170331Recent Progress on Object Detection_20170331
Recent Progress on Object Detection_20170331
 
You only look once (YOLO) : unified real time object detection
You only look once (YOLO) : unified real time object detectionYou only look once (YOLO) : unified real time object detection
You only look once (YOLO) : unified real time object detection
 
Object Detection & Tracking
Object Detection & TrackingObject Detection & Tracking
Object Detection & Tracking
 
Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)Tutorial on Object Detection (Faster R-CNN)
Tutorial on Object Detection (Faster R-CNN)
 
Object tracking
Object trackingObject tracking
Object tracking
 
YOLO
YOLOYOLO
YOLO
 
Object tracking final
Object tracking finalObject tracking final
Object tracking final
 
Mask-RCNN for Instance Segmentation
Mask-RCNN for Instance SegmentationMask-RCNN for Instance Segmentation
Mask-RCNN for Instance Segmentation
 
Deep sort and sort paper introduce presentation
Deep sort and sort paper introduce presentationDeep sort and sort paper introduce presentation
Deep sort and sort paper introduce presentation
 
Moving object detection in video surveillance
Moving object detection in video surveillanceMoving object detection in video surveillance
Moving object detection in video surveillance
 
PR-207: YOLOv3: An Incremental Improvement
PR-207: YOLOv3: An Incremental ImprovementPR-207: YOLOv3: An Incremental Improvement
PR-207: YOLOv3: An Incremental Improvement
 
Introduction to multiple object tracking
Introduction to multiple object trackingIntroduction to multiple object tracking
Introduction to multiple object tracking
 

Mais de Vanya Valindria

Heart attack diagnosis from DE-MRI images
Heart attack diagnosis from DE-MRI imagesHeart attack diagnosis from DE-MRI images
Heart attack diagnosis from DE-MRI imagesVanya Valindria
 
Myocardial Infraction diagnosis using CT-Scan & MRI
Myocardial Infraction diagnosis using CT-Scan & MRIMyocardial Infraction diagnosis using CT-Scan & MRI
Myocardial Infraction diagnosis using CT-Scan & MRIVanya Valindria
 
Post-Processing of Prostate Perfusion MRI
Post-Processing of Prostate Perfusion MRIPost-Processing of Prostate Perfusion MRI
Post-Processing of Prostate Perfusion MRIVanya Valindria
 
Radon Transform - image analysis
Radon Transform - image analysisRadon Transform - image analysis
Radon Transform - image analysisVanya Valindria
 
Feature Hierarchies for Object Classification
Feature Hierarchies for Object Classification Feature Hierarchies for Object Classification
Feature Hierarchies for Object Classification Vanya Valindria
 
System-on-Chip Programmable Retina
System-on-Chip Programmable RetinaSystem-on-Chip Programmable Retina
System-on-Chip Programmable RetinaVanya Valindria
 
Shape from Distortion - 3D Digitization
Shape from Distortion - 3D DigitizationShape from Distortion - 3D Digitization
Shape from Distortion - 3D DigitizationVanya Valindria
 
Interlaced and progressive Camera
Interlaced and progressive CameraInterlaced and progressive Camera
Interlaced and progressive CameraVanya Valindria
 
Bagpipe as the Scotland National Instrument
Bagpipe as the Scotland National InstrumentBagpipe as the Scotland National Instrument
Bagpipe as the Scotland National InstrumentVanya Valindria
 
Indonesia - A Culture Overview
Indonesia - A Culture OverviewIndonesia - A Culture Overview
Indonesia - A Culture OverviewVanya Valindria
 

Mais de Vanya Valindria (13)

Bottle-in-Hangers
Bottle-in-HangersBottle-in-Hangers
Bottle-in-Hangers
 
Supermarket obesrvation
Supermarket obesrvationSupermarket obesrvation
Supermarket obesrvation
 
Heart attack diagnosis from DE-MRI images
Heart attack diagnosis from DE-MRI imagesHeart attack diagnosis from DE-MRI images
Heart attack diagnosis from DE-MRI images
 
Myocardial Infraction diagnosis using CT-Scan & MRI
Myocardial Infraction diagnosis using CT-Scan & MRIMyocardial Infraction diagnosis using CT-Scan & MRI
Myocardial Infraction diagnosis using CT-Scan & MRI
 
Post-Processing of Prostate Perfusion MRI
Post-Processing of Prostate Perfusion MRIPost-Processing of Prostate Perfusion MRI
Post-Processing of Prostate Perfusion MRI
 
Radon Transform - image analysis
Radon Transform - image analysisRadon Transform - image analysis
Radon Transform - image analysis
 
Feature Hierarchies for Object Classification
Feature Hierarchies for Object Classification Feature Hierarchies for Object Classification
Feature Hierarchies for Object Classification
 
System-on-Chip Programmable Retina
System-on-Chip Programmable RetinaSystem-on-Chip Programmable Retina
System-on-Chip Programmable Retina
 
Shape from Distortion - 3D Digitization
Shape from Distortion - 3D DigitizationShape from Distortion - 3D Digitization
Shape from Distortion - 3D Digitization
 
Shape context
Shape context Shape context
Shape context
 
Interlaced and progressive Camera
Interlaced and progressive CameraInterlaced and progressive Camera
Interlaced and progressive Camera
 
Bagpipe as the Scotland National Instrument
Bagpipe as the Scotland National InstrumentBagpipe as the Scotland National Instrument
Bagpipe as the Scotland National Instrument
 
Indonesia - A Culture Overview
Indonesia - A Culture OverviewIndonesia - A Culture Overview
Indonesia - A Culture Overview
 

Último

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Último (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Real Time Object Tracking

  • 1. REAL-TIME OBJECT DETECTION AND TRACKING By: Vanya V. Valindria Hammad Naeem Rui Hua
  • 2. Outline • Introduction • Hardware in RT Object Detetion & Tracking • Methods Traditional Methods: Modern Methods: Absolute Differences Census Method KLT Feature Based Method Meanshift • Result and Conclusion
  • 3. Introduction Definition: Object detection  detect a particular object in an image Object tracking  to track an object (or multiple objects) over a sequence of images
  • 7. Problems?? • Temporal variation/dynamic environment • Abrupt object or camera motion • Multi-camera? Multi-objects? • Computational expensive
  • 8. Hardware in Real-time Tracking • MEMORY Important  Tracking system encountering limited memory problems. • FRAME RATE ~30 FPS • PROCESSORS - DSP • Allow saturated arithmetic operation • Powerful operation ability • Can do several memory accesses in a single instruction
  • 9.
  • 10. Object Detection and Tracking • In a video sequence an object is said to be in motion, if it is changing its location with respect to its background • The motion tracking is actually the process of keeping tracks of that moving object in video sequence i.e. position of moving object at certain time etc.
  • 11. Flow Chart Idle Image acquisition Object Detection Image acquisition Object tracking Object No Lost? Y es
  • 12. Method 1: Absolute Differences = Image subtraction D(t)=I(ti) – I(tj) Gives an image frame with changed and unchanged regions Ideal Case for no motion: I(ti) = I(tj), D(t)=0
  • 14. Results: Frame1 Frame10 Difference of Two Frames
  • 15. Absolute Difference Methods for Motion Detection  Frame Differencing  Background Subtraction Draw Backs: involves a lot of computations  Not feasible for DSP implementation
  • 16. Method 2: Census Transforms 124 74 32 1 1 0 124 64 18 If (Center pixel < Neighbor 1 x 0 pixel) Neighbor pixel = 1 157 116 84 1 1 1 Signature Vector Generation 1 1 0 1 x 0 Signature Vector 11011101 1 1 1
  • 17. Image 128 26 125 243 87 Signature Vectors 96 76 43 236 125 10110101 00101011 128 129 235 229 209 Signatur vector generation for . all pixels 228 251 229 221 234 . . 227 221 35 58 98 10111010 List 10110101 Generation List 00101011 population . . . Generated List 10111010 Signature vector matching
  • 18. Census Transform: Advantages:  Compare only two values 0 or 1.  Similar Illumination Variation for pixel and neighbouring pixels Draw Backs:  As we only deal with only 0`s and 1`s, this method is sensitive to noise.  Calculate, store and match process  computationally Expensive
  • 19. Method 3: Morphology Based Object Tracking Background Frame Object estimation differencing Registration
  • 20. Morphology Based Object Tracking • Image Differencing Background • Thresholding Estimation • Contours are registered Object • Width, height and histogram are recorded for each contour Registration • Each object represented by a feature vector (the length, Feature width, area and histogram of the object) Vector
  • 21. Segmented object Tracked object
  • 22. Morphology Based Techniques Advantages: Can Track Multiple objects  Objects are registered based on their anatomy  Helpful for Object Merging Draw Backs: Object registration  complex and slow process  For multiple object registration per frame  more complex
  • 23. Method 4: Lucas-Kanade Technique • Visual motion pattern of objects and surface in a scene  by Optical Flow Frame 1 Frame 2
  • 24. Method 5: Mean shift • An algorithm that iteratively shifts a data point to the average of data points in its neighborhood Choose a search window Compute the MEAN size in the initial location location in the search window Repeat until Center the search convergence window at the mean
  • 25. Intuitive Description Region of interest Center of mass Mean Shift vector Objective : Find the densest region Distribution of identical balls
  • 26. Intuitive Description Region of interest Center of mass Mean Shift vector Objective : Find the densest region Distribution of identical balls
  • 27. Intuitive Description Region of interest Center of mass Mean Shift vector Objective : Find the densest region Distribution of identical balls
  • 28. Intuitive Description Region of interest Center of mass Mean Shift vector Objective : Find the densest region Distribution of identical balls
  • 29. Intuitive Description Region of interest Center of mass Mean Shift vector Objective : Find the densest region Distribution of identical balls
  • 30. Intuitive Description Region of interest Center of mass Mean Shift vector Objective : Find the densest region Distribution of identical balls
  • 31. Intuitive Description Region of interest Center of mass Objective : Find the densest region Distribution of identical balls
  • 33. CAMSHIFT --Continously Adaptive Meanshift Modified to adapt dynamically to the colour probability distributions More real time For each frame-> MEAN-SHIFT is applied with several iteration Store the location of the mean and calculate new window size for next frame
  • 34. New development • Combine with different features. SIFT features, colour feature & texture information • Camshift algorithm combined with the Kalman filter.
  • 35. Result Arithmetic and Time taken Algorithm Logic by operations Algorithm Absolute 4230100 16 Differencing Census 2416000 5. 4 Transform Morphological 352210 14.2 Tracking Kanade Lucas 500825 0.486
  • 36. Comparison Computationally Easy to implement expensive Absolute Differences Allows continuous Slow and low tracking accuracy Computationally expensive Census Transform Immune to noise and Illumination changes Complex if  Multiple objects per frame Can track multiple Slow Feature Based objects well Large Memory consumption
  • 37. Comparison High accuracy KLT Less execution time Large memory Robust to noise and dynamic scene Ineffective if Computationally less there is heavy MeanShift & CAMShift expensive occlusion
  • 38. Conclusion • KLT algorithm has the best performance with higher accuracy and less computation time • It requires combination of methods to achieve the appropriate object detection and tracking according to the proposed scenario
  • 39. References • S. Shah, T. Khattak, M. Farooq, Y. Khawaja, A. Bais, A. Anees, and M. Khan, “Real Time Object Tracking in a Video Sequence Using a Fixed Point DSP,” Advances in Visual Computing, pp. 879– 888. • K. Huang, L. Wang, T. Tan, and S. Maybank, “A real-time object detecting and tracking system for outdoor night surveillance,” Pattern Recognition, vol. 41, no. 1, pp. 432–444, 2008. • J. Li, F. Li, and M. Zhang, “A Real-time Detecting and Tracking Method for Moving Objects Based on Color Video,” in 2009 Sixth International Conference on Computer Graphics, Imaging and Visualization. IEEE, 2009, pp. 317–322. • W. Junqiu and Y. Yagi, “Integrating color and shapetexture features for adaptive real-time object tracking,” IEEE Trans on Image Processing, vol. 17, no. 2, pp. 235–240, 2008. • Q. Wang and Z. Gao, “Study on a Real-Time Image Object Tracking System,” in Computer Science and Computational Technology, 2008. ISCSCT’08. International Symposium on, vol. 2, 2008. • Y. Meng, “Agent-based reconfigurable architecture for real-time object tracking,” Journal of Real-Time Image Processing, vol. 4, no. 4, pp. 339–351, 2009. • [Y. Yao, C. Chen, A. Koschan, and M. Abidi, “Adaptive online camera coordination for multi- camera multi-target surveillance,” Computer Vision and Image Understanding, 2010.

Notas do Editor

  1. http://plaza.ufl.edu/lvtaoran/object%20tracking.htm
  2. Image/appearance based trackingThere are wide application in real time object detection and tracking.
  3. Multiobject (people) tracking within a video of a pedestrian passageway. The dynamic motion vectors attached to each individual represents direction of movement and speed.
  4. Here, we can see how a mobile robot can detect and track this red ball. It moves accordingly to the red ball movement.
  5. As the objects move over time, ther are different illumination and motions of small objects; due to perspective, occlusion, interaction between objects and appearance or disappearance of objects.2. to track targets and keep on detectingnew ones on a moving camera platform at the same time,the traditional motion detector based on the backgroundsubtraction can not be applied here.3. How to...In the same time..4. Because of comprehensive search ,it is hard to meet strict time constraint in real-time
  6. To solve these problems...The choice of hardware can increase the performance of object detection and traking in real time which has hard time constraintsMemory is....There are several processor, such as FPGA depends on the choice of soft processorASICulfill the speed criteria of real-time, but it is complicatedGPU  increase the speed up the computation at the bottom level method (optical flow)
  7. http://www.princeton.edu/~xm/vision05/Assignment3/Tracking/tracking.htm
  8. The first term is proportional to the density estimate at x computed with the kernel G. the second term is the mean shift. This part is the mean of the window. We calculate it by using a kernel function, which gives different weights to all points inside the window. the mean shift vector thus always points toward the direction of maximum increase in the density.
  9. http://www.codeproject.com/KB/GDI-plus/MeanshiftTracking.aspxChoose a search windowsize.2. Choose the initial locationof the search window.3. Compute the mean location(centroid of the data) in thesearch window.4. Center the search windowat the mean locationcomputed in Step 3.5. Repeat Steps 3 and 4 untilconvergence
  10. Camshift is based on mean shift, but the window size is changed in in video sequence, when the object moves, the size and locations of color distributions will change over time. Mean shift. mean shift algorithm uses fixed window size. So it might fail. However, camshift can deal with this problem by adjusting the window size according to the distribution. Real time
  11. 3. Firstly, initialize the Gaussian mixture model to get the background image, and then using the background differential with the current frame to detect the moving objects. Kalman filter is used to predict the centre of the searching window in the next frame. Then, camshift will find the optimum position of the target in order to modify the prediction. This can improve the speed of camshift algorithm and solve the occlusion problem.
  12. Theses results are from the paper by Shah, in which he has demonstrated the results of the all the above mentioned methods for the same task of tracking a moving ball with DSP hardware.As we can see that the Lukas kanade is the fastest compared with the traditional methods.
  13. The absolute difference and census transform are easy to implement but computationally expensive and slow. Feature based method can track multiple objects, but it is also slow.
  14. KLT algorithm is can detect objects fast and accurately and it is robust to noise and dynamic scene. but it requires large memory, when the search window size is large.Mean shift has low computation cost. But it might fail in case of heavy occlusion and it can only detect single object. This can be solved by combining different algorithm, for example, SIFT feature descriptor and Kalman filter.