pkg.sopackage field notes

brew / 排名 461

使用 Homebrew 安装 opencv

查看 opencv 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install opencv

provider-native install command

概览

软件包摘要

Open source computer vision library

命令和别名

  • opencv_annotation
  • opencv_model_diagnostics
  • opencv_version
  • opencv_visualisation
  • opencv_waldboost_detector
  • setup_vars_opencv5.sh

历史

项目历史与用法

OpenCV, the Open Source Computer Vision Library, is one of the core open-source libraries for image processing, computer vision, and machine-learning-adjacent visual perception. It packages thousands of algorithms and bindings into a cross-platform library used by researchers, robotics teams, embedded developers, companies, students, and hobbyists.

项目历史

OpenCV began inside Intel. The OpenCV anniversary timeline says Gary Bradski proposed a computer-vision library in 1998, Intel open-sourced the code in 1999, and the first public release was unveiled at CVPR in June 2000. The project name followed the OpenGL naming style and reflected a shift from an internal Computer Vision Library concept to an open source library.

Version 1.0 arrived in 2006 with a C API and classic computer-vision capabilities such as image processing, computational geometry, face detection, camera calibration, optical flow, SIFT features, and machine-learning methods. After 2008, development moved through Willow Garage and Itseez, connecting OpenCV to robotics and specialized vision-algorithm work.

OpenCV 2.0 in 2009-2010 made C++ the primary API and added generated Python bindings, with Java bindings added as well. In 2012 the project moved to GitHub and opencv.org, creating a more transparent contribution process; the anniversary timeline says 35 to 50 percent of accepted pull requests in 2013 came from outside the core team.

Intel acquired Itseez in 2016, bringing a core OpenCV development team back into Intel's orbit. OpenCV 3.0, OpenCV 4.0, the DNN module, JavaScript/WebAssembly work, and OpenVINO integration all reflect the library's shift from classic computer vision only toward heterogeneous, deep-learning-aware, edge and embedded deployment.

采用历史

OpenCV's own About page describes it as the world's biggest computer vision library, with more than 2500 algorithms, hundreds of thousands of users, and estimated monthly downloads exceeding 40 million. The same page names use by companies, research groups, hobbyists, government bodies such as NASA, and companies including Google, Yahoo, Microsoft, Intel, IBM, Sony, Honda, and Toyota.

The project spread because it gave computer-vision researchers and product developers a permissively licensed, optimized common infrastructure. Instead of each application reimplementing camera calibration, feature detection, object detection, video I/O, image filtering, machine learning, and matrix primitives, developers could depend on a common package that existed in Linux distributions, Homebrew, Chocolatey, Conda-like scientific stacks, mobile builds, and language bindings.

使用方式

Developers use OpenCV for frame capture, image preprocessing, camera calibration, feature extraction, object detection, tracking, stereo reconstruction, panorama stitching, face/eye detection, DNN inference, and high-level GUI/debug display. The modern documentation describes a modular structure with core, imgproc, imgcodecs, videoio, highgui, video, calib3d, features2d, objdetect, dnn, ml, photo, stitching, and supporting modules.

In package-manager form, OpenCV is often consumed as a library dependency rather than as an end-user CLI. The executables such as `opencv_version`, annotation tools, calibration tools, visualization helpers, and setup scripts are useful, but most downstream value comes from headers, shared libraries, Python bindings, and integrations into robotics, vision, scientific, and AI applications.

为什么软件包爱好者会关心

OpenCV is package-nerd significant because it is large, modular, ABI-sensitive, and option-heavy. Builds may vary by language bindings, codecs, GUI backends, CUDA/OpenCL/OpenVINO acceleration, contrib modules, platform SIMD, and patent-sensitive algorithm history, so the same package name can imply very different capabilities across ecosystems.

It is also a dependency magnet: robotics frameworks, scientific tools, media applications, embedded vision products, and AI demos all pull it in. That makes versioning, binary size, transitive multimedia dependencies, and Python/C++ ABI compatibility recurring concerns for maintainers.

时间线

  • 1998: Gary Bradski proposed the library inside Intel.
  • 1999: Intel open-sourced the library and the OpenCV name replaced the internal CVL direction.
  • 2000-06: The first public release was unveiled at CVPR.
  • 2006-10: OpenCV 1.0 was released.
  • 2008: Core development moved through Willow Garage and Itseez.
  • 2009-2010: OpenCV 2.0 made C++ the primary API and expanded generated language bindings.
  • 2012: The project moved to opencv.org and GitHub.
  • 2015: OpenCV 3.0 added major interface and acceleration improvements.
  • 2016: Intel acquired Itseez, a key contributor to OpenCV and OpenVX.
  • 2018: OpenCV 4.0 refined the API around newer C++ standards and added Graph API work.

Related projects

  • OpenCV is related to OpenVINO, OpenVX, ROS and Willow Garage-era robotics software, opencv_contrib, NumPy/Python scientific tooling, CUDA/OpenCL acceleration stacks, and downstream computer-vision frameworks that use it as preprocessing or classical-vision infrastructure.

安全态势

尚未找到受保护工具覆盖

没有找到 opencv 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
opencv_annotation可执行文件已索引可执行文件从本地可执行文件索引发现。
opencv_model_diagnostics可执行文件已索引可执行文件从本地可执行文件索引发现。
opencv_version可执行文件已索引可执行文件从本地可执行文件索引发现。
opencv_visualisation可执行文件已索引可执行文件从本地可执行文件索引发现。
opencv_waldboost_detector可执行文件已索引可执行文件从本地可执行文件索引发现。
setup_vars_opencv5.sh可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本5.0.0
管理器更新时间2026-07-11
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:opencv
版本5.0.0
软件包管理器Homebrew
主页https://opencv.org/
仓库https://github.com/opencv/opencv
最后更新2026-07-11T09:50:48+09:00
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation