2020-08-16 15:42:30 -0600 | received badge | ● Popular Question (source) |
2017-05-12 06:15:47 -0600 | received badge | ● Student (source) |
2016-05-19 10:49:03 -0600 | asked a question | Get Support Vectors from SVM XML file I am using Python to train a SVM on features extracted using the HoG. I have extracted all the HoG features, trained the SVM and saved the results in an XML file. Now I need to get the Support Vectors, but I am not able to do so. How do I parse the XML to get the desired Support Vectors ? |
2016-05-18 15:10:29 -0600 | asked a question | Object Localization Using HoG (sklearn) I am trying to localize number plate in an image. I am using HoG to extract the features and Linear SVM for the training purposes. I am using the sklearn library for the above purpose, however I can not find any function to detect or localize the number plate. Is there anyway I can do it ? Below is the code for prediction, etc: |
2016-05-14 05:35:14 -0600 | asked a question | Python Function Similiar to Matlab's rangefilt() Hi, I am working on machine learning where I have to extract certain features. One of these is to find the mean and standard deviation of the image range. The above task can be easily done in MatLab using the rangefilt() function, which returns the range of a 3x3 neighborhood. Is there any thing similar in Python or OpenCV to help me do the above mentioned task ? |
2016-03-30 12:00:59 -0600 | commented question | HoG Detect MultiScale Detect Just changed the dimensions, such as winstride, padding and scaling. Code still the same as above. |
2016-03-30 11:07:19 -0600 | commented question | HoG Detect MultiScale Detect I changed the dimensions. But still no difference. |
2016-03-30 05:52:44 -0600 | received badge | ● Editor (source) |
2016-03-30 05:49:56 -0600 | asked a question | HoG Detect MultiScale Detect I am working on License Plate Detection using HoG. I am now in the testing phase. When I use hog.detectmultiscale()to localize the number plate, I get just a single rectangle false positive localization. Below is the code: Also I get the same points for every image I test. |
2016-03-30 05:13:15 -0600 | received badge | ● Enthusiast |
2016-03-29 10:21:48 -0600 | commented question | SVMDetector OK thanks :-) |
2016-03-29 04:36:48 -0600 | received badge | ● Self-Learner (source) |
2016-03-27 12:56:08 -0600 | asked a question | SVMDetector I am facing problem in the hog.setSVMDetector(). I get the following error: I have searched for this problem, and found out the winsize in the input arguments must be the same. I have used the same parameters for both training and testing. However I still get the same error. Here is the code below: TESTING HOG FEATURES COMPUTING METHOD I also found that the winsize must be equal to the size of images. I have resized all my images to (150,150). |
2016-03-26 23:35:43 -0600 | commented question | HoG Training Using SVM I got the answer from the following link: |
2016-03-26 23:05:35 -0600 | received badge | ● Critic (source) |
2016-03-26 22:57:51 -0600 | asked a question | HoG Training Using SVM I have successfully trained my positive and negative samples of my dataset. However, when I try to use the hog.setSVMDetector(), I get the following error : Here is the code: |
2016-03-26 09:49:55 -0600 | asked a question | HoG Training using SVM I have successfully saved the hog features of my positive and negative samples of my data set. However, when I try to get the support vector for setSVMDetector(), get the following error: 'cv2.SVM' object has no attribute 'getSupportVectors' Here is my code: hog = cv2.HOGDescriptor() svm = cv2.SVM() svm.load('trained.xml') img = cv2.imread('t_.png') h = hog.compute(img) p = svm.predict(h) print p v = svm.getSupportVectors() hog.setSVMDetector(v) |
2016-03-26 09:13:44 -0600 | received badge | ● Supporter (source) |
2016-03-26 09:13:33 -0600 | received badge | ● Scholar (source) |
2016-03-26 02:46:30 -0600 | commented answer | SVM TRAINING FOR LICENSE PLATE DETECTION Thank you so very much. It helped a lot ! |
2016-03-26 01:32:38 -0600 | asked a question | SVM TRAINING FOR LICENSE PLATE DETECTION I am currently working on License Plate recognition using custom HoG and SVM. I have the features of my image data set extracted and saved in an xml file. Here is the code: However, when I use SVM predict to classify if a certain image is positive or negative, I get the following error: Here is my code for using svm predict method: Kindly help me resolve the above error. |