Ask Your Question

dkprog's profile - activity

2019-09-19 07:10:02 -0600 asked a question Is Haar cascade classifier suitable for bottle label detection?

Is Haar cascade classifier suitable for bottle label detection? Can OpenCV's Haar feature-based cascade classifiers be t

2015-05-28 13:06:16 -0600 commented question Will cv::Mat reuse memory if it was declared inside a loop?

I care about allocation/deallocation costs. When working on Windows, this kind of "ask OS for permission to get some memory" always slows down the algorithm's process, mainly when the code should run above than 100 fps. I've disliked it when Mat has become standard on 2.x. However, I'm still a C programmer who doesn't like to lost control to objects :)

2015-05-28 12:12:35 -0600 commented question Will cv::Mat reuse memory if it was declared inside a loop?

And if I need some sort of temporary image, just to run a threshold or something like that, if I declare it inside the loop, will it be created and destroyed every time?

2015-05-27 23:38:43 -0600 asked a question Will cv::Mat reuse memory if it was declared inside a loop?

I'm moving from legacy IplImage * to new cv::Mat.

If I declare a Mat inside camera's loop, just to get a copy of current frame, will it alloc and release the memory storage at every run?

Thanks