Performance of camera image capture and save Windows

asked 2018-05-03 03:47:28 -0500

updated 2018-05-03 16:14:23 -0500

There is a webcam connected to the minicomputer and there is 64bit windows 7 installed. In visual studio 2003, I implemented webcam view and save with win32 program using opencv, but performance is poor. (The cpu share is almost full.)

How can I improve performance? It may be too broad a question, but it is so frustrating.

Have a good day.

edit retag flag offensive close merge delete


Please edit and improve your question (I modified the title). Tell us more about what you have and what you've done.

  • What version of opencv are you using?
  • It sounds like you are using C++?
  • What frame rate is the camera capable of with the attachment you have to the PC?
  • What are the image dimensions and what is the color depth?
  • Is compression of any kind being used (including JPEG/PNG/other)?
  • Does your program read the camera and then save the image in a simple loop?
  • Can you include the exposure parameters of your camera and paste simplified code into your question?
  • What kind of storage device are you using and what file format?

Typically, all the above must be considered. There are ways to optimize any/all of them.

opalmirror gravatar imageopalmirror ( 2018-05-03 16:11:10 -0500 )edit