06-16-2017 06:23 PM
Hi,
I was trying to create a code to identify dimensions and geometry of the different objects. I am using Kinethisea Toolkit and NI vision but was unsuccessful in creating the code.
Does anybody has the code for it or any suggestions how to proceed towards it ?
Regards,
Kashish Dhal
Solved! Go to Solution.
06-19-2017 08:16 AM
Hi Kashish,
What do you have so far? Have you been able to acquire images from the camera yet? I would start there. Once you have them, they could be stored into image files that can be used to build your vision algorithm using Vision Assistant. You might want to play with some of the functions on the Machine Vision palette.
Once you have a good approximation of your algorithm, you could generate LabVIEW code from Vision Assistant and integrate it with the code of the acquisition.
Regards,
And G
06-19-2017 03:39 PM
I am attaching the code that I am using so far for my project.
I will be learning the vision assistant as suggested by you. However, if you can give more suggestion regarding the edge detection and measurement specific to my code, I will appreciate that.
06-20-2017 06:54 PM
Hi Kashish,
What specific edges and measurements you want to take? Maybe you can attach some of the images you already have acquired indicating what you would like to extract from them.
Regards,
And G
06-21-2017 12:18 AM
06-21-2017 12:23 AM
And these edges may be the edges of bottle, cup or a spherical ball.
06-22-2017 03:19 PM
Hi Kashish,
What I meant before was taking advantage of the Vision Assistant to quickly develop your algorithm and not necessarily integrating the Express VI itself into your code. The Vision Assistant can be launched by itself without LabVIEW. This application is installed at: C:\Program Files (x86)\National Instruments\Vision Assistant. You can load image files previously saved to quickly tweak the main parts of your algorithm. Once every piece of the algorithm is completed and tested you can convert it to LabVIEW code by going to Tools >> Create LabVIEW VI.
It wasn’t clear to me what the challenge for you is at this moment. Is it identifying the geometry of the object? Are the number of geometries to identify somehow limited? Could you use Pattern or Geometric matching?
06-30-2017 01:36 PM
Hi,
Now, I used something else. There is a software named Skanect, which by using Kinect can generate .stl file. And .stl file can be imported to Labview to identify the geometry.
But I am still working to measure the dimension as these dimensions can be measured in SolidWorks but I am trying to figure out how to measure them in LabVIEW.
I am adding an image where I tried to scan myself and generated CAD file and further imported in LAbVIEW. However, still trying to measure its dimensions.
Regards,
Kashish Dhal