2020-04-08 12:50:34 -0600 | received badge | ● Famous Question (source) |
2020-02-24 00:46:11 -0600 | received badge | ● Popular Question (source) |
2019-10-16 19:29:00 -0600 | received badge | ● Notable Question (source) |
2019-02-14 16:42:44 -0600 | received badge | ● Popular Question (source) |
2018-03-16 01:58:33 -0600 | commented question | Bad argument in function cvReleaseData, how to fix the error? @berak, I have found a solution. please look into the answer as the moderator |
2018-03-16 01:58:19 -0600 | received badge | ● Self-Learner (source) |
2018-03-16 01:58:16 -0600 | marked best answer | Bad argument in function cvReleaseData, how to fix the error? I tried creating samples for my 100 positive images but run into this error: At first I assumed that I had not extracted the same number of samples as I was specifying in the command using Objectmarker.exe but even on rectifying that,I still ran into this error. Currently I am using 100 positive images , but I got the error when I used 70 images as well. What exactly is the Bad Argument here and how do I fix it? TEXT VERSION
|
2018-03-16 01:57:39 -0600 | answered a question | Bad argument in function cvReleaseData, how to fix the error? I think I have finally resolved this issue. My positive images were named as ' pr(1).bmp, pr(2).bmp, pr(3).bmp' and so |
2018-03-13 00:36:57 -0600 | received badge | ● Critic (source) |
2018-03-12 10:24:52 -0600 | commented answer | cv2.VideoCapture : can not read saved videos yes, tried that, still throwing the error :( |
2018-03-12 02:07:56 -0600 | answered a question | Is it possible to measure distance to object? I think these papers may be of help to you: Rahman, Ashfaqur, et al. "An image based approach to compute object distanc |
2018-03-12 01:45:05 -0600 | commented answer | cv2.VideoCapture : can not read saved videos @supra56 , yes my video exists in the same folder and i have also tried giving in the path. The dll files have been plac |
2018-03-12 01:41:55 -0600 | commented question | cv2.VideoCapture : can not read saved videos @LBerger, I have checked the pat variables and both opencv and python do exist |
2018-03-11 12:28:23 -0600 | commented answer | cv2.VideoCapture : can not read saved videos tried your code @supra56 , still getting isOpened= False |
2018-03-11 12:27:35 -0600 | commented answer | cv2.VideoCapture : can not read saved videos tried in your code, still getting isOpened= False |
2018-03-11 12:23:12 -0600 | commented answer | cv2.VideoCapture : can not read saved videos python 2.7.14 only |
2018-03-11 12:16:49 -0600 | commented question | cv2.VideoCapture : can not read saved videos Yes i have put them in C:\Python27(where python.exe exists) and C:\Python27\Scripts. Still nothing. can you please elabo |
2018-03-11 09:38:45 -0600 | commented question | cv2.VideoCapture : can not read saved videos hey @LBerger, still no luck. I copied openh264-1.7.0-win64.dll into C:\Python27 and the file containing video to be read |
2018-03-11 09:17:55 -0600 | commented question | cv2.VideoCapture : can not read saved videos @berak , i have placed the dll file in the same folder as the video, yet no results |
2018-03-11 09:17:37 -0600 | edited question | cv2.VideoCapture : can not read saved videos cv2.VideoCapture : can not read saved videos My problem is the same as mentioned in http://answers.opencv.org/question/ |
2018-03-09 09:28:28 -0600 | asked a question | cv2.VideoCapture : can not read saved videos cv2.VideoCapture : can not read saved videos My problem is the same as mentioned in http://answers.opencv.org/question/ |
2018-03-08 10:44:04 -0600 | commented question | Bad argument in function cvReleaseData, how to fix the error? EXACTLY! and the said path does not even exit |
2018-03-08 09:47:26 -0600 | commented question | Bad argument in function cvReleaseData, how to fix the error? @berak any views? |
2018-03-06 04:06:18 -0600 | answered a question | Are there any ways to generate a HAAR cascade faster? I found this Blog helpful: Amin Ahmadi But the xml file created at the end of the process does not work with our Pyth |
2018-03-06 04:01:54 -0600 | answered a question | Can someone explain me these terms (acceptanceRatio, HR, FA) in training haar cascade, and "acceptanceRatio 800:4.97153e-05" is it consider good? The precision of your cascade classifier is determined by your Acceptance Ratio of the last stage. Technically, the acce |
2018-03-06 03:51:59 -0600 | answered a question | Haar Like and Adaboost Yes, the AdaBoosting algorithm is used for Haar based Classifier training. Essentially we combine weak classifiers int |
2018-03-05 21:50:00 -0600 | asked a question | Bad argument in function cvReleaseData, how to fix the error? Bad argument in function cvReleaseData, how to fix the error? I tried creating samples for my 100 positive images but ru |
2018-03-04 12:07:41 -0600 | marked best answer | Insufficient memory in function cvAlloc, how to release memory? I have tried training my own classifier for a couple of times now (to detect cows) and just when I finally fine-tune my images in the positives data-set, I run into this while training: I realize I have to release memory in order to free some space and referred to THIS But I am actually a little confused as to how to proceed further. Can anyone help with an optimal solution for this so that I can resume my training? Thanks in advance. Note:
EDIT:: text version:
|
2018-03-04 11:41:41 -0600 | commented question | Insufficient memory in function cvAlloc, how to release memory? edit made @berak when i ran it for -mem 1024 , training continued. This was probably my human mistake, I read that you c |
2018-03-04 11:39:07 -0600 | received badge | ● Editor (source) |
2018-03-04 11:39:07 -0600 | edited question | Insufficient memory in function cvAlloc, how to release memory? Insufficient memory in function cvAlloc, how to release memory? I have tried training my own classifier for a couple of |
2018-03-04 11:22:55 -0600 | received badge | ● Enthusiast |
2018-03-03 06:04:35 -0600 | commented question | Insufficient memory in function cvAlloc, how to release memory? oh no..!!! this means i cant train anything anymore? even if i reduce the number of images, i get the error :( |
2018-03-03 05:00:22 -0600 | commented question | Insufficient memory in function cvAlloc, how to release memory? @LBerger , no, it is opencv 3.4.0. any idea how i can free up the opencv cache n proceed with my training? |
2018-03-02 22:36:26 -0600 | commented question | Insufficient memory in function cvAlloc, how to release memory? Yes, Win32/x86, 4GB RAM. I read somewhere that the images are stored during the processing, how do I release this to fee |
2018-03-02 13:30:51 -0600 | received badge | ● Student (source) |
2018-03-02 11:31:37 -0600 | asked a question | Insufficient memory in function cvAlloc, how to release memory? Insufficient memory in function cvAlloc, how to release memory? I have tried training my own classifier for a couple of |
2018-03-02 03:39:49 -0600 | commented answer | Haar-cascade training took very little time and no xml was produced were you able to create your xml file after that? |
2018-02-28 21:31:12 -0600 | received badge | ● Nice Answer (source) |
2018-02-28 21:25:39 -0600 | received badge | ● Supporter (source) |
2018-02-28 12:13:00 -0600 | marked best answer | Haar Classifier does not work, only one feature seems to be trained. II have been trying to use OpenCV to create my own Haar Cascade Classifier to detect cows from images.
My images aren't of that good a quality: used this to create the samples:
used this to train:
And this is a snippet of the training. I realized only one feature is being used (correct me if I am wrong)
It ran upto 8 stages in less than 3mins ! I used this to convert to an xml file: haarconv.exe cascades myhaar.xml 24 24 My python code uses this xml and can not detect a cow from the positive data set itself. Where am I going here? |
2018-02-28 12:11:04 -0600 | marked best answer | How to use a dpm cascade model xml file in a Python script? I was wondering if I can use the same code used to run a Haar Cascade xml file , to run the dpm cascade model xml file. My code looks like this :
What are the modifications to be made to use a dpm cascade model xml file ? |
2018-02-28 12:01:20 -0600 | received badge | ● Teacher (source) |
2018-02-28 11:00:03 -0600 | answered a question | -w -h in create_samples I think -w and -h signify the size of the window the Haar algorithm will use to sample the images, from the set of posit |
2018-02-28 10:49:21 -0600 | commented answer | Error while running code that uses Haar Classifier xml: "Incorrect type of self " I have figured out where I went wrong, this particular error is thrown if an xml file from dpm cascade model is used |