We have modified the example vision processing code to target the vertical stripes of the peg. So far so good.
What’s bothering me is the code that corrects the video for camera distortion based on a file called Calibration File640x480.png. Are we expected to create our own calibration file specific for our camera? Do we just use the file included with the example code?
If we need to create our own calibration file where can we find the procedure for creating it? I have yet to see any specific instructions for that anywhere. Did I miss something?
I’ve fiddled with turning that on and off, and it does nothing. It’s really only for when the camera is looking up a significant angle. When targeting the peg, this is not the case.
I couldn’t really see a significant difference between calibrated on or off either. I’ve also dug into the Vision assistant documentation to learn more but came away more confused than ever. I think we’ll turn it off unless someone can give a good reason to keep it.
Hi, You say that you have modified the sample code to target vertical strips, we are a rookie team and would love to get the vision targeting working also to help line up for placing a cog in auto. Are you willing to share which VI you modified to target vertical strips. We are new to labview and are struggling to work out exactly how this vision targeting works. Any help greatly appreciated.
Cheers
Warren
Your answer is right here. You need to edit multiple VIs. https://www.chiefdelphi.com/forums/showthread.php?t=154930
Thanks for handling this one Flemdogmillion. I was away for a bit and hadn’t seen his request for information. Our code looks similar to yours.
Anytime.
I would not think that the included calibration file would be the correct one for your camera. If you have the camera using a very wide angle lens or pointed way off of horizontal, it is one way to get better distance measurements. If the camera is pointed pretty much vertical, this step can be ignored or deleted.
Greg McKaskle