Ask Your Question

Mohamed Alzaki's profile - activity

2016-11-12 12:09:52 -0500 commented question Detecting the shape of irregular objects

@StevenPuttemans Any thoughts?

2016-11-12 07:35:29 -0500 received badge  Enthusiast
2016-11-10 17:26:12 -0500 asked a question Detecting the shape of irregular objects

I am using haar cascade to detect my target objects and it does the job very well in my case 70% overall detection rate.

Here is an example of the detected objects: Successful Detection

Now i'd like to improve the detection such that it doesn't only detect the target objects region as a rectangle, i'd like to detect it accurately by its shape, is SURF is what i am looking for? "Given that the objects' shapes scope is wide ".

Please take a look of my positive samples album to get an idea of what i'm dealing with.

Here is an album of the positive samples.

Target objects in the images are the kidneys

Positive Samples Album

And if so can i use SURF in conjunction with Haar cascade, is that a good practice "Would improve the accuracy?" or it would only slow down the process?

2016-11-10 16:57:42 -0500 commented answer Adjusting memory used in haar cascade training

Thanks for your answer that was straightforward and helpful answer.

Another thing does increasing the dimensions of samples improve the accuracy ? detection rate is like 70% now what do you suggest to improve it.

2016-11-10 16:55:11 -0500 received badge  Scholar (source)
2016-11-10 16:55:10 -0500 received badge  Supporter (source)
2016-11-08 16:37:06 -0500 asked a question Adjusting memory used in haar cascade training

I'd like to increase the amount of memory used in the training using opencv_traincascade, i tried to add precalcValBufSize and precalcIdxBufSize parameters but no thing seems to be changed my machine is 64GB ram and running ubuntu OS when i see the consumption of training its always around 7.5 GB no changed occurred after adding the parameters although i see PrecalcValBufSize and precalcIdxBufSize in the terminal has been set to a value before it enters the stage. Any thoughts?

2016-10-31 02:00:02 -0500 commented question Haar classifier limitations

I guess its hanged there because HitRate doesn't increase at all for more than a day now but FalseAlarm does change, i think its maybe because i didn't set sufficient parameters? or i am wrong, in some cases it takes too long with the same numbers.

2016-10-30 17:40:43 -0500 commented question Haar classifier limitations

24 hours passed in the same stage with exactly same SMP and same HR but the FA decreased a little bit I've updated the answer with the command i use for haar training for the second matter.

2016-10-30 05:22:05 -0500 commented question Haar classifier limitations

@StevenPuttemans i am very interested to hear your opinion in this matter.

2016-10-30 05:04:27 -0500 commented question Haar classifier limitations

@berak updated please check the images thanks for your note.

2016-10-30 03:10:13 -0500 received badge  Editor (source)
2016-10-30 03:09:53 -0500 asked a question Haar classifier limitations

I am working on a project that should take a ct scan image as an input and it should detect the kidney and do some processing on it, my question is due to the low features in that type of images and variant types of kidneys, is haar classifier qualified to detect such object?

The objects in the red rectangles (kidneys) are the target objects which i want to detect.

image description

Another question i am training with the samples at the time i am writing this post, with 579 positive images and around 1k negative images i am using haartraining and it is running for 14 hours now and is in stage 4 but i've noticed in that stage that the SMP is always around 0% - 2% is that normal?

image description

Here is the parameters i use for haartraining

haartraining.exe -data cascades -vec vector/kidney.vec -bg negative/bg.txt -npos 579 -nneg 973 -nstages 15 -mem 1024 -mode ALL -w 24 -h 24

rem -nonsym