2018-01-15 14:04:11 -0600 | received badge | ● Notable Question (source) |
2017-05-29 04:50:24 -0600 | received badge | ● Popular Question (source) |
2015-12-21 06:03:29 -0600 | received badge | ● Enthusiast |
2015-12-20 08:38:00 -0600 | received badge | ● Editor (source) |
2015-12-18 16:47:00 -0600 | answered a question | Does OpenCV functions really use OpenMP I have an update on my issue. I can get my code operating with multiple threads at work. However, my home computer will not perform multithreaded openmp. I just found a difference in compilers. My work computer has OpenMP 2.5 and my home has OpenMP 3.0. My home computer is a PCDuino 8 running Ubuntu 14. I tried to include my src code but the attachment tool would only let me include image suffixes. Thanks Another question: Should I add some other flags or env variables for OpenMP 3.1. My work computer works fine with OpenMP 2.5 but my home PCDuino8 does not work with OpenMP 3.1. Maybe OpenCV is not setup for OpenMP 3.1. Has anyone had success with OpenMP 3.1 and OpenCV? |
2015-12-16 18:55:08 -0600 | asked a question | Does OpenCV functions really use OpenMP I recompiled opencv 2.4.11 on Linux using the OpenMP mode. I ran my test code and I did not see any change in speed. I watch my cores utilization and there is only one core being used. I read a camera image and perform the following function calls: cvtColor, inRange, threshold, findContours and approxPolyDP. I figured I would see pragma statements in the opencv source code for these function but I have only seen "#pragma omp parallel" in the haart training and some other modules. Why doesn't opencv functions contain "#pragma omp parallel". It seems that a cvtColor(), inRange() and threshold() could benefit enormously from using multithreads. Thoughts? |