Optimizing OpenCV for specific hardware
Generally, the setup instructions in this chapter are compatible with any hardware architecture that is supported by OpenCV and the operating system. For example, the setup instructions that target Linux operating systems will work equally well on x64, x86, ARM, or RISC-V hardware (except that the optional OpenNI package is unavailable for RISC-V).
That said, OpenCV supports many optional optimizations for specific hardware. By following the instructions in this chapter, you will get an OpenCV installation that uses a default set of optimizations for your hardware. The defaults are generally good, but for some applications, you could get even better performance with a more highly customized installation of OpenCV. Here are a few examples of use cases:
- For x64, x86, or ARM processors, OpenCV can optionally integrate with Intel Thread Building Blocks (TBB), a multithreading library. OpenCV can use TBB to speed up certain parallel algorithms, notably...