Add API to enumerate cameras (Feature #935)


Added by Rune Espeseth over 2 years ago. Updated 10 months ago.


Status:Open Start date:
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:highgui-camera
Target version:-
Pull request:

Description

OpenCV should have an API to enumerate cameras. Without it, writing programs that support non-fixed hardware is not possible.

The point of this API is to retrieve information about the cameras attached to the system:
- NumberOf
- Name of each camera (can be used for user-selection in a GUI)
- Resolution of each camera
- other properties.

It will then be possible to write programs (f.i. surveillance software) that support 1 to any number of cameras instead of requiring a given number of cameras.


Associated revisions

Revision 3bfc6974
Added by Роман Донченко 10 days ago

Merge remote-tracking branch 'origin/2.4' into merge-2.4

Merged pull requests:
#890 from caorong:patch-1
#893 from jet47:gpu-arm-fixes
#933 from pengx17:2.4_macfix_cont
#935 from pengx17:2.4_filter2d_fix
#936 from bitwangyaoyao:2.4_perf
#937 from bitwangyaoyao:2.4_fixPyrLK
#938 from pengx17:2.4_surf_sample
#939 from pengx17:2.4_getDevice
#940 from SpecLad:autolock
#941 from apavlenko:signed_char
#946 from bitwangyaoyao:2.4_samples2
#947 from jet47:fix-gpu-arm-build
#948 from jet47:cuda-5.5-support
#952 from SpecLad:jepg
#953 from jet47:fix-bug-3069
#955 from SpecLad:symlink
#957 from pengx17:2.4_fix_corner_detector
#959 from SpecLad:qt4-build
#960 from SpecLad:extra-modules

Conflicts:
modules/core/include/opencv2/core/core.hpp
modules/gpu/CMakeLists.txt
modules/gpu/include/opencv2/gpu/device/vec_math.hpp
modules/gpu/perf/perf_video.cpp
modules/gpuimgproc/src/cuda/hough.cu
modules/ocl/include/opencv2/ocl/ocl.hpp
modules/ocl/src/pyrlk.cpp
samples/gpu/driver_api_multi.cpp
samples/gpu/driver_api_stereo_multi.cpp
samples/ocl/surf_matcher.cpp

History

Updated by Alexander Shishkov over 1 year ago

  • Description changed from [[OpenCV]] should have an API to enumerate cameras. Without it, writing progr... to OpenCV should have an API to enumerate cameras. Without it, writing programs ... More

Updated by Alexander Reshetnikov about 1 year ago

  • Assignee set to Vadim Pisarevsky
  • Priority changed from High to Normal

Updated by Andrey Kamaev 10 months ago

  • Category changed from highgui-images to highgui-camera

Also available in: Atom PDF