2017-05-24 01:26:14 -0600 | commented question | opencv 3.2 python svm problem how can we use SVM in OpenCV 3.2 any simple code example for binary classification(two categories)?? |
2017-05-24 01:20:23 -0600 | commented question | opencv 3.2 python svm problem no.i didn't how can I use that for this?? |
2017-05-24 01:10:39 -0600 | commented question | opencv 3.2 python svm problem any error in above code explanation?? |
2017-05-24 00:35:58 -0600 | commented question | opencv 3.2 python svm problem yes i have updated for img=cv2.imread('test.jpg',1) to img=cv2.imread('test.jpg',0) and tested again...not working yet. |
2017-05-24 00:23:51 -0600 | commented question | opencv 3.2 python svm problem this is how i made SVM data file...yes it is a grayscale image |
2017-05-23 12:41:37 -0600 | commented question | opencv 3.2 python svm problem sorry...my question is ..i have trained svm model using negative and positive colour image data.size 100*80. for that, i have used (http://docs.opencv.org/3.1.0/dd/d3b/t...) this example is given in website (little modified for my purpose..I think its fine). then save to data file. after reading a random image from my image collection(same size colour image)..predict with svm.predict function to get label result..problem is its always given for the zero(0) for all positives and negative samples. this is the problem I have faced. |
2017-05-23 12:30:11 -0600 | received badge | ● Editor (source) |
2017-05-23 12:16:08 -0600 | commented question | opencv 3.2 python svm problem actually, i need predict my input image(test.jpg) using SVM model...but always its gives the same answer((0.0, array([[ 0.]], dtype=float32)). |
2017-05-23 11:22:12 -0600 | asked a question | opencv 3.2 python svm problem hi ,I have trouble with predict hog image data with SVM.i have trained my own model using two image categories.and labelled as 0 and 1. created svm_data.dat file based on this example http://docs.opencv.org/3.1.0/dd/d3b/t... |