07-29-2013 12:17 AM
Hi Klemen,
The link was very helpful.
Thank You.
Regards
Aveo
12-05-2014 02:46 AM
Hello,
I have to classify nut, bolt, clamp, washer and screw .For this I have done following steps:
1.I created classifier file using NI Particle Tranining Interface (used manual method in Preproccesing tab, Nearset Nieghbour in Engine option tab).
2. Made a VI with the help of Classification exxample.vi present in LabVIEW 2012.
But When I run the VI , it is showing following error.(error 1074396030 )
Please help me in rectifying it .
I am attaching my vi , Classifier file . Please suggest me modifications in my VI if any.
Thanks
12-05-2014 03:58 AM
Hi,
You are getting the error because you are not disposing the classifier session after every use of it. Use a IMAQ dispose classifier after IMAQ classify each time inside the for loop to dispose the classifier session.
Regards
Aveo
12-05-2014 05:38 AM
Hello,
As suggested by you I added IMAQ dispose classifier in my vi. But when I run it , it is not showing desired results also the same error repeats sometimes.
Please suggest me possible soluitons as soon as possible.
Thanks!
12-05-2014 07:15 AM
Hi,
I think you have not attached all the required subvis. So couldnt run the vi to check.
However I have made a small change in it. Please check it out.
Lets see whether we are getting any more errors or not.
Regards
Aveo
12-08-2014 02:00 AM
Hello,
Can you please send the changed vi in LabVIEW 2012 version.
Thanks.
12-08-2014 02:31 AM
Hi,
Find attached the 2012 version of the vi.
Regards
Aveo
12-10-2014 01:47 AM
Hello,
First of all Thanks a lot for your suggestions and efforts regarding my problem . That was really appreciable. I got success in classifying single sample , when I placed in front of my camera by using binary classification technique.
But , If I place more than one sample in front of my camera , it fails to classify them individually.
Please , suggest me possible solutions as soon as possible regarding the same.I am attaching my vi and related snapshots.
Thanks!
12-10-2014 02:57 AM - edited 12-10-2014 03:07 AM
Hi,
Good to hear that its working.
I see now that you are using IMAQ particle analysis report on a grayscale image(luminance plane) rather than a binary image.
Help shows me that the input should be binary.
Do a thresholding operation(either manual or auto/local) on the grayscale image to obtain a binary image and then pass it through particle analysis.
Run your program and put probe at the output of particle analysis to see whether is it actually able to generate report for multiple particles or not?
Regards
Aveo
12-12-2014 04:07 AM
Hello,
I run the vi and put the probe at IMAQ particle analysis report , it was showing multiple particle report but it is showing more than the expected particle. I mean , If I have 3 objects it is showing more than 3 particle report.
Pls suggest me ,how to use NI Particle training interface (in case of multiple objects. Is it required to draw ROI around both objects if I place 2 objects, or any other way to do it.)
I am attaching the multiple object image and my present classification vi.
Waiting for your reply.
Thanks.