我正在尝试从源代码(最新的 SVN 主干)构建 OpenCV,并且有几个“可选”依赖项,它们本身的下载量将达到数 GB,尤其是使用 Qt 框架时。
例如:
- CUDA
- GHOSTSCRIPT
- MIKTEX
- PYTHON
- EIGEN
- IPP
- JASPER
- JPEG
- OPENEXR
- OPENNI
- PNG
- QT
- QT_OPENGL
- TBB
- TIFF
- VIDEOINPUT
- XIMEA
有人可以提供每个外部事物提供的列表 - 按重要性排名吗? (有时主观答案是最有洞察力的答案。)哪些是内置于二进制发行版中的?
I am trying to build OpenCV from source (latest SVN trunk) and there are several "optional" dependencies, which will amount to several gigabytes of downloading on their own, especially with the Qt Framework.
For example:
- CUDA
- GHOSTSCRIPT
- MIKTEX
- PYTHON
- EIGEN
- IPP
- JASPER
- JPEG
- OPENEXR
- OPENNI
- PNG
- QT
- QT_OPENGL
- TBB
- TIFF
- VIDEOINPUT
- XIMEA
Can someone provide a list of what each of these external things provides - ranked by importance? (Sometimes subjective answers are the most insightful answers.) Which ones are built in the binary distribution?
发布评论
评论(1)
通常您可以将所有标志保留为默认状态,除非您需要启用或禁用某些特殊功能。所有真正重要的库都已经在那里了。
您听到的选项可以分为几组:
图像输入/输出
实际上,OpenCV 附带了这些库的副本,适用于缺少这些库的平台(例如 Windows 或 Android)。
PNG
OPENEXR -这个没有包含在 OpenCV 中
Video IO
性能基元库
GPU 加速
gpu< /code> 模块具有许多通过 NVIDIA CUDA 技术加速的功能。如果未找到 CUDA SDK,则所有功能都会降级为 CPU 实现。
增强型 GUI
imshow) 有 QT 版本。如果没有 QT,它们将默认使用本机操作系统界面。 (如果是 Windows,则为 WinAPI)。
与其他语言的绑定
构建文档
实际上这只是您问题的部分答案。您已经听过不到一半可以在 OpenCV 配置步骤中设置的选项 - 另一半是隐藏的,因为这些选项不适用于您的平台。
Usually you can leave all the flags in default state unless you need to enable or disable some special features. All really important libraries are already there.
Options you listened can be split into several groups:
Image input/output
Actually OpenCV comes with a copy of these libraries for platforms where these libraries are missed (like Windows or Android).
PNG
OPENEXR - this one is not included into OpenCV
Video IO
Libraries of performance primitives
GPU acceleration
gpu
module having a lot of functions accelerated with NVIDIA CUDA technology. If CUDA SDK is not found, then all functions degrade to CPU implementation.Enhanced GUI
imshow
) has a QT version. Without QT they will default to native OS interfaces. (In case of Windows it will be WinAPI).Bindings to other languages
Building documentation
Actually this is just a partial answer to your question. You have listened less than half of the options that can be set on OpenCV configuration step - other half is hidden because those options are not available for your platform.