Ask Your Question

Fadwa's profile - activity

2019-07-26 22:05:33 -0500 received badge  Necromancer (source)
2019-07-25 02:41:32 -0500 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?

May be it is a bit late to answer this question but I was searching for answers to it and found this https://stackoverfl

2017-10-03 06:09:59 -0500 commented question Training models for LSVM detector

So is there any idea how to make that piece of code?. I want to retrain the LSVM and i don't know how to map the .mat to

2017-05-17 04:26:33 -0500 answered a question Get number of pixels within a contour

You can do that using the vector size. The output of findContours is stored in a vector, use iterators to loop on it and get the size. I am using opencv2.4

cv::findContours(inImg, contours, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_SIMPLE);
std::vector<std::vector<cv::Point> >::iterator iteratorContours = contours.begin(); 
while (iteratorContours != contours.end()) {
cout << iteratorContours.size();
2013-11-13 03:25:20 -0500 received badge  Supporter (source)