2018-02-16 03:10:48 -0600 | received badge | ● Popular Question (source) |
2016-06-14 06:18:43 -0600 | marked best answer | Train images with SVM I have used HOGDescriptors to compute the feature vector of an image, now I have to use SVM to create training set for a class. I have to create multiclass SVM as i have 6 classes each with 10 images. I do not know how to convert vector into Mat and how to label the class to create an xml file? |
2016-04-10 04:09:51 -0600 | asked a question | Cannot retrieve matrix from an xml file using FileStorage I am storing features in form of a matrix in an xml file using FileStorage By executing the above code, a trial.xml file is created However, I cannot retrive the matrix from the xml file. The Mat data is empty: [] |
2016-04-07 12:29:46 -0600 | commented question | How to interpret predict parameters obtained from KNN? I have not thrown some random numbers. I am working with KNN and I got this problem that is why I am asking. I do not understand how to get the correct label. Thanks for the link. It is the sample which which I have trained the data so knn should output label 1 |
2016-04-07 12:07:57 -0600 | commented question | How to interpret predict parameters obtained from KNN? I have alreday read that. What I am asking is that is class 1 dist is 0 why am i getting response as class 0 instead of class 1 |
2016-04-07 08:31:36 -0600 | asked a question | How to interpret predict parameters obtained from KNN? I have trained KNN to recognise obj A as 1 When I am doinh knn->findKnearest(data,m,response,neighbor,dist); I get response as 0; Then neighbor [1,0,...] dist[0,0.23333] What does this mean? Do I have to use euclidean distance to do matching? |
2016-04-05 16:41:03 -0600 | asked a question | How to train data for Neural Network? How to input labels for classes in NN. Are they like SVM give different labels to each class. I have not really understood how to create the training class for neural network? I do not know how to use it for training I have tried the following way: When I am predicting, I am getting the following response: What is wrong and how to interpret the response from an ANN? |
2016-04-05 12:02:24 -0600 | asked a question | I cannot train data using knn I am getting this error: I have extracted feature and placed it in a String; |
2016-04-05 10:39:02 -0600 | commented question | Fusion of two feature vectors What is the problem in doing that if I am getting the result? I know only c-Api to extract chain code. |
2016-04-04 11:06:52 -0600 | asked a question | Fusion of two feature vectors I have extracted two feature vectors from an image:
How to fuse them and train them using svm? I have tried hconcat but it is not working. When i am concatenatenating: hconcat(fourierdescriptor,mergeMatrix) mergeMatrix is Null |
2016-04-04 06:05:38 -0600 | commented question | DFT and IDFT of contour, Fourier descriptors So was it good? |
2016-04-04 02:37:51 -0600 | commented answer | How to find the rotated angle of object I dnt nid fourier descriptor which are rotational invariant they just need to be translation and scale invariant. It means that u have 1024 fourier descriptors |
2016-04-04 02:20:15 -0600 | commented answer | How to find the rotated angle of object What should be taken into consideration while choosing a value? Why have u chosen 1024, was it derived by experimental result? And where do u get the fourier descriptors in the code above? Have u made them scale and starting point invariant? If yes where? |
2016-04-04 01:04:32 -0600 | commented answer | How to find the rotated angle of object What does the following line perform? vector<point2d> c = ReSampleContour(contours[ctrSelec[i]],1024); Why 1024? Has anyone understood it? |
2016-04-02 10:46:18 -0600 | asked a question | Which distance metric does SVM->predict uses When using binary svm for classification, it returns a value when using a value when using predict? What does the value mean? It is the distance between the test data and the predicted data. If someone knows the answer please help. |
2016-04-02 10:42:42 -0600 | commented question | how to install What is not working> What error are you getting? |
2016-04-02 04:48:20 -0600 | commented question | Setting parameters to compute HoG How to normalize hog feature? |
2016-04-02 00:24:47 -0600 | commented question | how to install You have to set environmental variables.Then you have to change some setting in ur project->properties. This video will help u https://www.youtube.com/watch?v=JrIpA.... Just make the necessary changes as in the video the person is using vs13 and opencv 3.0 n u vs10 with opencv 3.1.0. Try it |
2016-04-01 19:56:48 -0600 | commented question | Setting parameters to compute HoG Thnks. Should I normalize the feature vector afterwards or it is already normalized? |
2016-04-01 11:44:03 -0600 | asked a question | Setting parameters to compute HoG My image is of size 128x128. Should I use a win_Size of 128x128 as well? And how to select values for the other parameters as well: HOGDescriptor(Size win_size=Size(128, 128), Size block_size=Size(16, 16), Size block_stride=Size(8, 8), Size cell_size=Size(8, 8), int nbins=9, double win_sigma=DEFAULT_WIN_SIGMA, double threshold_L2hys=0.2, bool gamma_correction=true, int nlevels=DEFAULT_NLEVELS) I have seen the explanation at http://docs.opencv.org/2.4/modules/gp... but it is not clear enough on how to set the parameters properly. |
2016-03-27 02:11:15 -0600 | commented answer | How to combine several features of a hand for machine learning Thanks a lot. |
2016-03-26 13:46:14 -0600 | asked a question | How to combine several features of a hand for machine learning I have extracted the following features of hand: compactness, aspect ration and orientation and stored them in a .csv file. Now I want to train them using KNN. KNN takes a matrix as input, how should I combines these features into a single Mat and train them. |
2016-03-26 03:36:16 -0600 | commented answer | Chain Code Histogram I did not understand by what you want to say by improving it. |
2016-03-26 02:54:35 -0600 | commented answer | Chain Code Histogram 12 different classes and each class has 10 instances. |
2016-03-26 02:13:27 -0600 | commented answer | Chain Code Histogram Thanks. Which classification method is more appropriate for chain code histogram feature? |
2016-03-26 02:12:12 -0600 | marked best answer | Chain Code Histogram I have already extracted chain code of the contour, calculated the number of occurence of each code. Then calculated the frequency of each code. Now I have to plot it in a histogram, I do not know how to create a histogram for chain code the no. of bins should be 8 thats all I know. But how to create it in opencv 3.0 using c++? } |