ARM multicore support OpenCV 3.0.0

asked 2015-10-07 13:31:10 -0500

Steven P. Goldsmith gravatar image

updated 2015-10-07 20:18:26 -0500

I've tried building OpenCV 3.0.0 on ODROID C1 using my script, but motion detection uses about 25% of all CPUs. The behavior is that most of the time 1 CPU is 100% and others times I see split between CPUs, but using no more than 25% of all the CPUs.

Using canny example it uses all 4 cores, but only uses about 50% of total capacity.

Using people detection it finally uses about 100% capacity.

I do not experience this issue using X86 with the same build script (both ARM and X86 use TBB), so I'm lead to suspect it could be something with the OS configuration, but I wanted to ask other's using Ubuntu and ARM. The ODROID shouldn't throttle the CPU until it hits 95C, but I'm never near that. Plus people detection works correctly spreading across all CPUs.

If I comment out all the code in motion detection and hit the first statement Imgproc.blur(mat, workImg, kSize) it sticks to one core and the other 3 are idle.

edit retag flag offensive close merge delete