Example Code

Object Tracking using LabVIEW and Vision Development Module

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • Vision Development Module
  • LabVIEW

    Driver

  • NI Vision Acquisition Software

Code and Documents

Attachment

Overview
This VI takes one image from a camera and tracks the object using pattern matching by selecting the ROI or object. 


Description

This VI does pattern matching to track the object. The user is able to take one image coming from the camera and then select the ROI or object that they would like to track. 


Requirements

  • LabVIEW Base Development System 2012 (or compatible)
  • Vision Development Module


Steps to Implement or Execute Code

  1. Unzip the attached folder “Object Tracking V2 2012 NIVerified.zip”
  2. Open the VI "Object Tracking V2 2012 NIVerified.vi"
  3. Run the program

 

Additional Information or References

VI Front Panel

Front Panel.PNG

 

VI Block Diagram

b.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

Brandon L.
Automation Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
aman2426
Member
Member
on

hey can anyone help me regarding the above given vi i wanna add some kind of alarm system that works whenever the objected is detected 

Plzz is someone can help