Home > other >  In different machines use different versions cmake compile openCV source code, speed difference is b
In different machines use different versions cmake compile openCV source code, speed difference is b

Time:03-19

First of all, is based on Linux operating system, a total of two units:
1: for the virtual machine, the system is similar to UBUNTU, cmake version 3.16.3
Machine 2: not a virtual machine, the system is similar to the red hat, cmake version 2.8.12
(forgive me also don't know to this system, can only be described as such)

OpenCV version: 2.4.13.6

Will this version of opencv respectively in two computers with the same commands to compile after use, found that the machine is slower than the machine 1 2 (in principle should be machine 2 faster)
Dedicated to create a program that tests openCV, program only to create the image, then the image resize, loop ten thousand times, found that the machine for more than 10 times slower than the machine 1, 2 (call openCV function more slowly)

The cause of so slowly, there is a great god know?? Whether can solve?

CodePudding user response:

Artificial roof,,,,

CodePudding user response:

I have found the reason, I compile command, TBB is ON, but the virtual machine no TBB, another one installed, so the time a huge difference
  • Related