FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Vision to see Reflective tape

Hi I was wondering how to use the Vision to see the Reflective tape.I want my program to see the tape then align the robot up with tower. Just wondering what Vision Vi's to use and how to wire them up? I've never used the vison before.

Thanks

0 Kudos
Message 1 of 4
(4,484 Views)

Hi RoboticsRocks,

I'd suggest taking a look at the PDF attachment on the following tutorial for image processing.

https://decibel.ni.com/content/docs/DOC-26318

It goes into great detail on how to create a script for image processing and then turning that into VIs for implementation in your robot's code. Give this a look over and post back if you have any pointed questions on implementation or if you run into any issues.

Paul C
Message 2 of 4
(3,951 Views)

Hi Cooking_Up_Code,

Thanks for information.

I took a look at it and I understand alot more but im still stuck on which Processing Functions I should used for Retroeflection. Could you provide a pictured of how you would do it?

0 Kudos
Message 3 of 4
(3,951 Views)

What I would do is take a picture of the reflective tape that you are trying to recognize so you can import that image into the Vision Assistant. You can then use the Color Location step as described on page 4 of the tutorial on the reflective color.

From this script you then go to Tools » Create LabVIEW VI which will take care of all of the VIs for you. Vision Assistant will create subVIs that will implement your script. At this point you will have the functionality you described in the Vision Assistant in LabVIEW and can treat it like any other set of VIs.

Paul C
0 Kudos
Message 4 of 4
(3,951 Views)