Single Object Tracking System by Using Labview
Single Object Tracking System by Using Labview
Volume: 4 Issue: 5 52 - 56
_______________________________________________________________________________________________
Abstract Moving object detection is an interesting area in the field of video tracking. When the object is moving then tracking that is
challenging task in vision area. This paper is about detecting, tracking of moving objects from the source. Many image processing methods to
detect and track the moving object from the source was proposed, but those methods require more time to implement and is complex. This paper
gives information about the moving object detection based on the tracking mean shift algorithm. LABVIEW vision module introduces a recent
algorithm for object detection and tracking, in this algorithm current location is searched based on the histogram of the object in the previous
image frame and result of mean shift is used to find the peak of probability density function near the object old position. Initial location of the
target object need to be determined for this to work correctly. Mean shift is an effective algorithm that has so many application especially in the
field of computer vision like clustering, object contour detection etc.
__________________________________________________*****_________________________________________________
53
IJRITCC | May 2016, Available @ [Link]
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 4 Issue: 5 52 - 56
_______________________________________________________________________________________________
[Link] object tracking options VI
54
IJRITCC | May 2016, Available @ [Link]
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 4 Issue: 5 52 - 56
_______________________________________________________________________________________________
Figure [Link] tracking the object. Experiment 2: test results of tracking human in a video
(a) 45th frame sequence
104th frame
55
IJRITCC | May 2016, Available @ [Link]
_______________________________________________________________________________________
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 4 Issue: 5 52 - 56
_______________________________________________________________________________________________
VI. CONCLUSION
LabVIEW method is cost effective. It is also low on
maintenance so labVIEW program is easy to use. The drag and
drop feature reduces the time to implement program.
Many algorithm of moving objects detection achieves by
image processing, but in this algorithm which is easy to be
affected by light change of surround. So this paper provides
algorithm of moving object detection and based on tracking
mean shift algorithm. Mean shift is an application,
independent tool suitable for real data analysis. The
experiment is performed on the moving vehicle, moving
human, moving ball. The results at figure 4-5,6-7,8-9 shows
Figure 9: after tracking the object the movable object tracking successful. Experiment on actual
AVI (Audio video interleaved) files shows that the algorithm
is effective with high accuracy.
REFERENCES
[1] Ravi kumar A.V, Dr. nataraj .R , Dr. rekhka K, [Link]
real time video edge detection in labVIEWIJCSIT, Val.
3(2),2012,3808-3811
[2] Ravi kumar A. real time face selection and tracking based
camera motion control systemIJECE, val 7, no 2(2014), pp.89-
97
[3] Ravi kumar A.V , sunil tiwari N, multiple moving object
detection and tracking using Harr features with smart video
(g)15th frame surveillence systemIJERT, vol 3-issue 6(june 2014),2278-011
[4] Morris, B.T; Cuong tran; scora, G; Trivedi, M.M;Barth,
M.J.,Real-time video-based traffic measurement, Intelligent
Transportation system, IEEE Transactions on, vol.13, no.4,
pp.1667,.1678,Dec.2012J.
[5] Wei zhan, xiaolong ji, b algorithm research on moving
vehicles detection
[6] Khatoonabadi, S.H bajic, I.V, video object tracking in the
compressed domain using spatiotemporal markov random
fields,IEEE International on image processing 2013
[7] Amer, A, voting-based simultaneous tracing of multipe video
objects,IEEE transaction on circuits and system for video
technoogy.2005
[8] Mahesh kumar chouhan, rahul mishra, [Link]
nitnawwremovabe object trcking by using mean shift method
(h)27th frame with adjusted background histogram volume 2, issue 7, july
2012.
[9] Xiaojing zhang,object tracing approach based on mean shift
algorithm journal of multimedia, vol.8, No 3, june 2013
[10] [Link], .ramesh and p. meer, real time tracking of non-
rigid object using mean-shift, IEEE [Link]. vis. Pattern
recog.,pp. 673-678,2000.
[11] Jaideep jayakar [Link] babu and K.R ramakrishnaan,
roubst object tracking with backround weighted local kernels,
comput. Vis. Image understanding, ol.112,pp.296-309,2008.
[12] Fukunaga, keinosuke, andlarry hostetler. the estimation of the
gradient of a dencity funtion , with application in pattern
recognition. Information theory, IEEE transaction on
21.1(!975):32-40.
(i)88th frame
56
IJRITCC | May 2016, Available @ [Link]
_______________________________________________________________________________________
Challenges and limitations in object tracking using the mean shift algorithm primarily arise from environmental factors such as lighting variations, object occlusion, and background noise. Mean shift can be impacted by sudden changes in lighting conditions, which may alter the histogram representation of the object . Occlusions or overlapping objects pose a significant challenge as the algorithm relies on continuous visibility for accurate tracking . Additionally, background clutter or similarity in color distribution between the object and background can lead to tracking inaccuracies . Despite these challenges, the mean shift's capability to adapt to gradual changes in object appearance moderately addresses some dynamic environmental variations.
The mean shift algorithm is considered advantageous for moving object tracking in LabVIEW due to its non-parametric nature, which allows it to determine modes or peaks in the density function efficiently . This robustness makes it suitable for long-term tracking and handling gradual changes in the object's appearance, including geometric transformations like shifting and rotation . Furthermore, the algorithm's integration with LabVIEW’s vision module simplifies the implementation process, leveraging LabVIEW’s capabilities for effective object contour detection and tracking without being affected much by noise or occlusion .
In LABVIEW, object tracking in a video sequence is facilitated by various VI (Virtual Instrument) functions that handle video file reading and image processing. The IMAQ AVI2 Create Function sets up the AVI file with essential parameters like file path and frame rate . The IMAQ AVI Read Frame function reads specific frames from the video . For tracking, the IMAQ Add Tracking Object function incorporates the object information by defining a region of interest, while the IMAQ Track Object VI tracks the object across frames, utilizing the mean shift algorithm . These functions enable efficient processing and manipulation of video data for object tracking purposes.
Applications of object detection and tracking span diverse fields including security and surveillance, traffic control, medical imaging, and automatic vehicle response systems . Advancements in algorithms like mean shift enhance these applications by providing more accurate and efficient tracking capabilities. For instance, in traffic management, improved tracking algorithms enable better vehicle navigation and congestion analysis . In surveillance, they help maintain continuous identification of individuals or objects despite environmental changes or occlusions, thus improving security outcomes . These advancements facilitate real-time monitoring and reduce errors associated with manual oversight or simpler algorithms.
The mean shift algorithm adapts to geometric transformations during object tracking by continuously updating the target’s probability distribution based on real-time frame analysis. It evaluates the object's histogram model against potential candidate regions, adjusting to transformations like scaling, rotation, and translation . Each iteration involves recalculating the mean shift vector, which directly influences the object's updated position, allowing it to align with transformed object orientations . This adaptability is achieved through analyzing changes in feature space distribution, ensuring the algorithm remains robust against such transformations throughout the tracking process.
Object tracking remains effective in the presence of blur and noise by employing robust algorithms like the mean shift, which focus on maintaining the object's histogram model rather than relying on precise image details . These algorithms work on higher-level features, such as color distributions, which are less affected by noise or blur. Additionally, the algorithm's iterative process, using techniques like the Bhattacharyya coefficient, evaluates and refines object position based on cumulative data across multiple frames, mitigating short-term noise effects . This ability to average out variations over time ensures consistent tracking even in imperfect visual conditions.
LABVIEW's drag and drop feature simplifies the implementation of object tracking algorithms by providing a graphical programming interface rather than relying on code-based methodologies . This reduces the complexity of programming as users can visually assemble functions and components by dragging and dropping them onto the interface. It enhances accessibility, particularly for those without extensive programming experience, and accelerates the development process, allowing straightforward configuration of the tracking system without needing to write extensive code .
The implementation of the mean shift algorithm for object tracking in LabVIEW involves several key steps. Initially, the ROI (Region of Interest) around the object is defined, allowing the extraction of data points and the estimation of the object's initial mean position . The mean shift vector is calculated to suggest the moving object's direction, updating its position iteratively . In each iteration, Bhattacharyya coefficients compare the histograms of the tracked object and the candidate, refining the tracking process . The iterative process stops when the difference between consecutive object positions is below a threshold, indicating convergence to the object's new location . These steps ensure robust tracking by continuously adapting to the object's movement in video frames.
Compared to traditional tracking algorithms like Kalman filters or particle filters, the mean shift algorithm offers robustness particularly in scenarios with non-linear motion and appearance changes . It does not assume any specific parametric form of the target's dynamics, making it more flexible and capable of handling abrupt changes in the tracking scene . However, mean shift can be computationally intensive due to its iterative computation of the density gradients and similarity measures, yet it remains relatively efficient in converging to the target's position by leveraging the simplicity of histogram comparisons . In contrast, parametric algorithms like Kalman filters may perform faster but struggle with non-linear dynamics and sudden changes.
In the mean shift algorithm for object tracking, the Bhattacharyya coefficient is used to measure the similarity between the target model's histogram and the candidate region's histogram in the current frame . It is computed using the formula P(p_h(y_0), q_h), where p_h(y_0) is the histogram of the candidate region and q_h is the histogram of the target model . This coefficient serves as a metric to evaluate how well the candidate region matches the target object, guiding the algorithm to adjust and refine the object's tracked position .