Ask Your Question

Revision history [back]

VideoCapture interface

There are on market USB3vision cameras that do not like frequent start / stop operation. Unfortunatelly the VideoCapture opens the feed immediatelly, than we can tune camera settings, which can be the size of the image, pixel format etc. For example, we have 6Mpx industrial camera but want use only 2 Mpx center, but in 16 and not 8(default) mode.

I wonder if there is Today posiibility to use OpenCV in following manner (pseducode):

open(autostart=false) set(width) set(height) set(pixelformat) set(fps) start()

Of course there is no start/stop interface exposed Today.

I am asking if this start/stop shall be considered as good idea to implement?

VideoCapture interface

There are on market USB3vision cameras that do not like frequent start / stop operation. Unfortunatelly the VideoCapture opens the feed immediatelly, than we can tune camera settings, which can be the size of the image, pixel format etc. For example, we have 6Mpx industrial camera but want use only 2 Mpx center, but in 16 and not 8(default) mode.

I wonder if there is Today posiibility to use OpenCV in following manner (pseducode):

open(autostart=false)

open(autostart=false) 
set(width)
set(height)
set(pixelformat)
set(height)
set(pixelformat)
set(fps)
start()

start()

Of course there is no start/stop interface exposed Today.

I am asking if this start/stop shall be considered as good idea to implement?implement start method?

VideoCapture interface

There are on market USB3vision cameras that do not like frequent start / stop operation. Unfortunatelly the VideoCapture opens the feed immediatelly, than we can tune camera settings, which can be the size of the image, pixel format etc. For example, we have 6Mpx industrial camera but want use only 2 Mpx center, but in 16 and not 8(default) mode.

I wonder if there is Today posiibility to use OpenCV in following manner (pseducode):

open(autostart=false) 
set(width)
set(height) 
set(pixelformat) 
set(fps)
start()

Of course there is no start/stop interface exposed Today.

I am asking if this start/stop shall be considered as good idea to implement start method?