Ask Your Question

AHF's profile - activity

2019-08-16 12:52:52 -0600 edited question Do I need to calculate hist at prediction time in SVM?

Do I need to calculate hist at prediction time in SVM? I am training my dataset with the below code: for file in glob.g

2019-08-16 12:52:48 -0600 edited question Do I need to calculate hist at prediction time in SVM?

Same Code works with LinearSVM but not RBF When I use trainAuto method of SVM, I get the value 2 for getKernelType() but

2019-08-15 13:00:27 -0600 commented question OpenCV 3.4 Assertion failed (checkDetectorSize()) in setSVMDetector

@berak I am training for detection of the eyebrow, and in negative images, I am adding lips cheeks eyes forehead, etc as

2019-08-15 13:00:09 -0600 commented question OpenCV 3.4 Assertion failed (checkDetectorSize()) in setSVMDetector

I am training for detection of the eyebrow, and in negative images, I am adding lips cheeks eyes forehead, etc as -1 and

2019-08-15 06:11:17 -0600 commented question OpenCV 3.4 Assertion failed (checkDetectorSize()) in setSVMDetector

@berak What to do then if autotrain suggest the best results on RBF?

2019-08-13 15:37:15 -0600 asked a question Do I need to calculate hist at prediction time in SVM?

Same Code works with LinearSVM but not RBF When I use trainAuto method of SVM, I get the value 2 for getKernelType() but

2019-08-03 15:57:00 -0600 commented question How do I get the ROI coordinates based on my prediction?

This how I am using svm.setTermCriteria(cv2.TermCriteria_MAX_ITER) but error SystemError: new style getargs format but a

2019-08-03 15:56:34 -0600 commented question How do I get the ROI coordinates based on my prediction?

This how I am using svm.setTermCriteria(cv2.TermCriteria_MAX_ITER)

2019-08-03 15:15:10 -0600 commented question How do I get the ROI coordinates based on my prediction?

How I can use this in python svm->setTermCriteria( TermCriteria(TermCriteria::MAX_ITER + TermCriteria::EPS, 1000, 1e-

2019-08-03 14:25:43 -0600 commented question How do I get the ROI coordinates based on my prediction?

@berak Thanks berak for reply. Training was bad you mean amount of data using or my parameters of svm?

2019-08-03 06:24:42 -0600 commented question How do I get the ROI coordinates based on my prediction?

How I can only draw the rectangle only on the area which was trained on SVM. Now its drawing rectangle on whole image

2019-08-01 16:37:41 -0600 commented question How do I get the ROI coordinates based on my prediction?

this is how it is now, it is drawing a rectangle but on the whole image not on the region of interest hog = cv2.HOGDesc

2019-08-01 16:37:30 -0600 commented question How do I get the ROI coordinates based on my prediction?

this is how it is now, it is drawing a rectangle but on the whole image not on the region of interest hog = cv2.HOGDesc

2019-08-01 16:30:56 -0600 commented question How do I get the ROI coordinates based on my prediction?

this is how it is now hog = cv2.HOGDescriptor((160,240), (16,16), (8,8), (8,8), 9) svm = cv2.ml.SVM_load('svm.xml') sv

2019-08-01 16:30:33 -0600 commented question How do I get the ROI coordinates based on my prediction?

this is how it is now hog = cv2.HOGDescriptor((160,240), (16,16), (8,8), (8,8), 9) svm = cv2.ml.SVM_load('E:\svm_dataRR

2019-08-01 16:27:42 -0600 commented question How do I get the ROI coordinates based on my prediction?

I also changed the descriptors to hog = cv2.HOGDescriptor((160,240), (16,16), (8,8), (8,8), 9) both for training and tes

2019-08-01 16:12:28 -0600 commented question How do I get the ROI coordinates based on my prediction?

@berak it's working now, but not drawing rectangle :(

2019-08-01 09:40:57 -0600 commented question How do I get the ROI coordinates based on my prediction?

I did change # Create SVM classifier svm = cv2.ml.SVM_create() svm.setType(cv2.ml.SVM_EPS_SVR) svm.setKernel(cv2.ml.SVM

2019-08-01 09:40:40 -0600 commented question How do I get the ROI coordinates based on my prediction?

I did change # Create SVM classifier svm = cv2.ml.SVM_create() svm.setType(cv2.ml.SVM_EPS_SVR) svm.setKernel(cv2.ml.SVM

2019-08-01 09:15:46 -0600 commented question How do I get the ROI coordinates based on my prediction?

still its hog.setSVMdetector hog.setSVMDetector(svm_new) cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modul

2019-08-01 07:29:04 -0600 commented question How do I get the ROI coordinates based on my prediction?

I updated my code, I am doing sort of same thing

2019-08-01 07:28:33 -0600 received badge  Editor (source)
2019-08-01 07:28:33 -0600 edited question How do I get the ROI coordinates based on my prediction?

How do I get the ROI coordinates based on my prediction? I am using SVM to predict my ROI, I trained SVM and now in test

2019-08-01 04:20:54 -0600 received badge  Enthusiast
2019-07-31 16:06:11 -0600 commented question How do I get the ROI coordinates based on my prediction?

Below the code I am using hog = cv2.HOGDescriptor((32,64), (16,16), (8,8), (8,8), 9) svm = cv2.ml.SVM_load('E:\svm_data

2019-07-31 15:59:12 -0600 commented question How do I get the ROI coordinates based on my prediction?

@berak After trying multi-scale, I am getting error hog.setSVMDetector(svm_new) cv2.error: OpenCV(4.1.0) C:\projects\ope

2019-07-28 02:14:05 -0600 commented question How do I get the ROI coordinates based on my prediction?

Yes, but I want that when my SVM Predict 1 on any image, then the system should only rectangle the part on which SVM Pre

2019-07-27 12:32:34 -0600 commented question How do I get the ROI coordinates based on my prediction?

Thank you. I was looking for something like this, I will def give it a try

2019-07-27 08:22:28 -0600 asked a question How do I get the ROI coordinates based on my prediction?

How do I get the ROI coordinates based on my prediction? I am using SVM to predict my ROI, I trained SVM and now in test