OpenCV maintains two active development branches: the stable 4.x branch and the 5.x branch where the next generation is being built. Many improvements — performance optimizations, new codec support, ...