I'm writing an application simply capture image from camera using openCV (3.4.1), C++ Visual Studio 2013. The code is:
Camera resolution is 3480*2880. All things are OK except the CPU usage is too high (~30%) while if I run Camera app of Windows 10, it is just 1 to 2%. The CPU usage is not decrease even when I release the cap variable. Why and what is solution? Thank you!
I finally know the reason. My PC is 64bit but I built my code in 32bit platform.