02-10-2016 08:44 AM - edited 02-10-2016 09:01 AM
hello all
i need a small help in my project i need to do object classification based on their color and size. As i know that by using "color classification training" i can train my classifier with color but i shouldnt use it i need to create a program my own training phase by using labview vi´s.
is it possible to do it by using labview classification vi's like imaq write classifer imaq read classifier imaq add sample etc...
i am so confused how to use them....
02-11-2016 12:41 AM
There is an example that ships with LabVIEW + VDM :
C:\Program Files\National Instruments\LabVIEW 2014\examples\Vision\Classification\Color Classification.vi
Take a look at it 😉
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
02-11-2016 05:35 AM
there is some thing that you have to explain before start to coding
1) what is Priority for classify color or size ?
2) what is your means from size? area or biggest diameter of objects or surrounding ?
3) do you have to use labview classify method to solve this problem?
02-11-2016 09:05 AM
hi,
by using the reference of the color classification training in vision assitance i tried to design my own classifer training by using imaq create color classifer ,imaq color classifier options imaq add classifier sample, imaq train nearest neighbour imaq write classifer.
but i am not able to sample in the vision assistance i took a roi and just keep on adding sample but here i am not able to understand how to do it.
i ma attaching the screen shots and the vi please help me with your suggestions.
02-11-2016 09:39 AM
hello titou
i saw that example but that example is based on the .clf files created on the color classification interface but in my condition i need to create my own training interface in labview.
02-12-2016 01:20 AM
02-12-2016 05:02 PM
hello Hatef,
Based on the color i need to classfiy the object. i need to use labview classify method to classify the object but before classification i need to train classifer so used vi present in labview 2013 to code for the training classifer as my idea i designed as follows:
imaq create color classifier vi creates classifier session and imaq color classifer option vi configures my classifier session with their color options low,medium or high intensities.
usng imaq add samples vi add the number of color samples to the defines color class name such that when i keep on object infront of my camera it has to auto classify the color of the object. But i am have no idea how to add samples to the class usin imaq add sample vi.
i should not use vision color classification training to train my classifier. so please help me with your valuable suggetions to overcome my problem.
02-13-2016 01:09 AM
02-13-2016 08:47 PM - edited 02-13-2016 08:49 PM
hello hatef,
As i am very new to labview i am not able to understand it properly can you please refer any example regarding it so that i can understand it by reading it. actually the vi i designed is based on the ieee paper i read in which they explained one way of designing the classifer trainer. can you please look at it and tell me is it possible to do it that way.
i searched for my example s to understand this concept i really didnt found anything related to this topic.
02-13-2016 09:47 PM