{
  "source_file": "0930",
  "source_platform": "技术平台",
  "author": "OpenCV",
  "title_listed": "OpenCV 官方文档",
  "keywords": "OpenCV,图像处理,CV",
  "domain": "图像处理",
  "content_type": "官方文档",
  "is_paid_flag": "否",
  "url": "https://docs.opencv.org/",
  "publish_date": "持续更新",
  "corpus_stage": "图像处理",
  "notes": "OpenCV 官方文档",
  "id": "0bd8424f50b4",
  "collected_at": "2026-10-02T18:37:29",
  "title": "OpenCV documentation — OpenCV Tutorials",
  "body_markdown": "[Skip to main content](https://docs.opencv.org/5.0/#main-content)\nBack to top\n[ ![](../images/body-125f0f2d5dde46328b4f.svg) ![](../images/body-125f0f2d5dde46328b4f.svg) OpenCV 5.0 Open Source Computer Vision ](https://docs.opencv.org/5.0/)\n5.0 5.0.0alpha 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.0 4.3.0 4.2.0 4.1.2 4.1.1 4.1.0 4.0.1 4.0.0 3.4.20-dev 3.4.20 3.4.19 3.4.18 3.4.17 3.4.16 3.4.15 3.4.14 3.4.13 3.4.12 3.4.11 3.4.10 3.4.9 3.4.8 3.4.7 3.4.6 3.4.5 3.4.4 3.4.3 3.4.2 3.4.1 3.4.0 3.3.1 3.3.0 3.2.0 3.1.0 3.0.0\n  * [Main Page](https://docs.opencv.org/5.0/)\n  * [Related Pages](https://docs.opencv.org/5.0/related_pages.html)\n  * [Namespaces](https://docs.opencv.org/5.0/namespace_list.html)\n  * [Classes](https://docs.opencv.org/5.0/class_list.html)\n  * [Examples](https://docs.opencv.org/5.0/examples/examples_root.html)\n  * [Java documentation](https://docs.opencv.org/5.x/javadoc/)\n\n\nSearch `Ctrl`+`K`\nLight Dark System Settings\n  * [ GitHub](https://github.com/opencv/opencv)\n\n\n  * [Main Page](https://docs.opencv.org/5.0/)\n  * [Related Pages](https://docs.opencv.org/5.0/related_pages.html)\n  * [Namespaces](https://docs.opencv.org/5.0/namespace_list.html)\n  * [Classes](https://docs.opencv.org/5.0/class_list.html)\n  * [Examples](https://docs.opencv.org/5.0/examples/examples_root.html)\n  * [Java documentation](https://docs.opencv.org/5.x/javadoc/)\n\n\nSearch `Ctrl`+`K`\nLight Dark System Settings\n  * [ GitHub](https://github.com/opencv/opencv)\n\n\n# OpenCV documentation[#](https://docs.opencv.org/5.0/#opencv-documentation \"Link to this heading\")\nOpenCV (Open Source Computer Vision Library) is an open-source computer vision and machine learning software library. It has more than 2,500 optimised algorithms, a comprehensive mix of both classic and state-of-the-art computer vision and machine learning methods. These can be used to detect and recognise faces, identify objects, classify human actions in video, track camera and object motion, extract 3D models, stitch images together to produce high-resolution panoramas, and much more. The library has interfaces for C++, Python, Java, and JavaScript, runs on Windows, Linux, macOS, Android, and iOS, and accelerates work on CPU (SIMD), CUDA, OpenCL, and Vulkan.\nOpenCV 5.0 is a major release built on OpenCV 4.x. C++17 is now the minimum required standard, Python 2 support has been dropped (Python 3.6+ is required), and the legacy C API has been fully removed. New data types (CV_16BF, CV_32U, CV_64U, CV_64S, CV_Bool) and proper 0D/1D array support extend the core, while the former calib3d module is split into the geometry, calib, stereo, and ptcloud modules. A next-generation DNN engine now covers over 80% of the ONNX specification (up from under 23%), with ONNX Runtime integration and models hosted on Hugging Face. Performance gains include Universal Intrinsics 2.0 (SSE/AVX/NEON/SVE/RISC-V), Vulkan compute support, image-warping speed-ups of 10% to over 300%, and USAC as the default framework for robust estimation.\n## Introduction[#](https://docs.opencv.org/5.0/#introduction \"Link to this heading\")\n  * [Introduction](https://docs.opencv.org/5.0/intro.html)\n\n\n## How to use pre-built OpenCV binaries[#](https://docs.opencv.org/5.0/#how-to-use-pre-built-opencv-binaries \"Link to this heading\")\n  * [Using OpenCV pre-built binaries in your own projects](https://docs.opencv.org/5.0/tutorials/introduction/using_prebuilt_binaries/using_prebuilt_binaries.html)\n\n\n## OpenCV Tutorials[#](https://docs.opencv.org/5.0/#opencv-tutorials \"Link to this heading\")\n  * [OpenCV tutorials](https://docs.opencv.org/5.0/tutorials/tutorials.html)\n\n\n## Python Tutorials[#](https://docs.opencv.org/5.0/#python-tutorials \"Link to this heading\")\n  * [OpenCV-Python tutorials](https://docs.opencv.org/5.0/py_tutorials/py_tutorials.html)\n\n\n## Javascript Tutorials[#](https://docs.opencv.org/5.0/#javascript-tutorials \"Link to this heading\")\n  * [OpenCV.js tutorials](https://docs.opencv.org/5.0/js_tutorials/js_tutorials.html)\n\n\n## Contrib Tutorials[#](https://docs.opencv.org/5.0/#contrib-tutorials \"Link to this heading\")\n  * [Tutorials for contrib module](https://docs.opencv.org/5.0/tutorials_contrib/contrib_root.html)\n\n\n## Main modules[#](https://docs.opencv.org/5.0/#main-modules \"Link to this heading\")\n  * [Documentation for main modules](https://docs.opencv.org/5.0/main_modules/api_root.html)\n\n\n## Extra modules[#](https://docs.opencv.org/5.0/#extra-modules \"Link to this heading\")\n  * [Documentation for extra modules](https://docs.opencv.org/5.0/extra_modules/api_root.html)\n\n\n## Frequently Asked Questions[#](https://docs.opencv.org/5.0/#frequently-asked-questions \"Link to this heading\")\n  * [Frequently Asked Questions](https://docs.opencv.org/5.0/faq.html)\n\n\n## Bibliography[#](https://docs.opencv.org/5.0/#bibliography \"Link to this heading\")\n  * [Bibliography](https://docs.opencv.org/5.0/citelist.html)\n\n\n[ next Introduction ](https://docs.opencv.org/5.0/intro.html \"next page\")\nOn this page \n  * [Introduction](https://docs.opencv.org/5.0/#introduction)\n  * [How to use pre-built OpenCV binaries](https://docs.opencv.org/5.0/#how-to-use-pre-built-opencv-binaries)\n  * [OpenCV Tutorials](https://docs.opencv.org/5.0/#opencv-tutorials)\n  * [Python Tutorials](https://docs.opencv.org/5.0/#python-tutorials)\n  * [Javascript Tutorials](https://docs.opencv.org/5.0/#javascript-tutorials)\n  * [Contrib Tutorials](https://docs.opencv.org/5.0/#contrib-tutorials)\n  * [Main modules](https://docs.opencv.org/5.0/#main-modules)\n  * [Extra modules](https://docs.opencv.org/5.0/#extra-modules)\n  * [Frequently Asked Questions](https://docs.opencv.org/5.0/#frequently-asked-questions)\n  * [Bibliography](https://docs.opencv.org/5.0/#bibliography)\n\n\nResources \n  * [OpenCV Wiki](https://github.com/opencv/opencv/wiki)\n  * [What's new in 5.0](https://github.com/opencv/opencv/wiki/OpenCV-5)\n  * [Forum](https://forum.opencv.org)\n  * [Stack Overflow](https://stackoverflow.com/questions/tagged/opencv)\n  * [Issue tracker](https://github.com/opencv/opencv/issues)\n\n\nCreated using [Sphinx](https://www.sphinx-doc.org/) 8.1.3.   \n\nBuilt with the [PyData Sphinx Theme](https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html) 0.17.1. \n`Ctrl`+`K` [ ![](../images/body-bde59b2c83ef88e3cac9.svg)](javascript:searchBox.CloseResultsWindow\\(\\))\n[•All](javascript:void\\(0\\))[Classes](javascript:void\\(0\\))[Namespaces](javascript:void\\(0\\))[Files](javascript:void\\(0\\))[Functions](javascript:void\\(0\\))[Variables](javascript:void\\(0\\))[Typedefs](javascript:void\\(0\\))[Enumerations](javascript:void\\(0\\))[Enumerator](javascript:void\\(0\\))[Properties](javascript:void\\(0\\))[Friends](javascript:void\\(0\\))[Macros](javascript:void\\(0\\))[Modules](javascript:void\\(0\\))[Pages](javascript:void\\(0\\))\nLoading...\nSearching...\nNo Matches\n",
  "metadata": {
    "title": "OpenCV documentation — OpenCV Tutorials",
    "description": null,
    "keywords": null,
    "author": null
  },
  "paywall": {
    "listed_paid": false,
    "detected": false,
    "marker": "",
    "public_only": false,
    "policy": "付费/会员内容只保留页面公开可见部分，不绕过付费墙"
  },
  "crawl": {
    "success": true,
    "status_code": 302,
    "error": ""
  },
  "code_blocks": [],
  "images": [
    {
      "status": "ok",
      "url": "https://docs.opencv.org/5.0/_static/opencv-logo.svg",
      "bytes": 1782,
      "reused": false,
      "content_type": "image/svg+xml",
      "local_path": "attachments/0bd8424f50b4/images/body-125f0f2d5dde46328b4f.svg",
      "src": "https://docs.opencv.org/5.0/_static/opencv-logo.svg",
      "alt": "",
      "downloaded": true,
      "discovery": "saved_markdown"
    },
    {
      "status": "ok",
      "url": "https://docs.opencv.org/doc/doxygen/html/search/close.svg",
      "bytes": 947,
      "reused": false,
      "content_type": "image/svg+xml",
      "local_path": "attachments/0bd8424f50b4/images/body-bde59b2c83ef88e3cac9.svg",
      "src": "https://docs.opencv.org/doc/doxygen/html/search/close.svg",
      "alt": "",
      "downloaded": true,
      "discovery": "saved_markdown"
    }
  ],
  "audio": [],
  "videos": [],
  "links": [
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/related_pages.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/namespace_list.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/class_list.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/examples/examples_root.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.x/javadoc/"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/intro.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/tutorials/introduction/using_prebuilt_binaries/using_prebuilt_binaries.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/tutorials/tutorials.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/py_tutorials/py_tutorials.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/js_tutorials/js_tutorials.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/tutorials_contrib/contrib_root.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/main_modules/api_root.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/extra_modules/api_root.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/faq.html"
    },
    {
      "type": "internal",
      "href": "https://docs.opencv.org/5.0/citelist.html"
    },
    {
      "type": "internal",
      "href": "https://forum.opencv.org"
    },
    {
      "type": "external",
      "href": "https://github.com/opencv/opencv"
    },
    {
      "type": "external",
      "href": "https://github.com/opencv/opencv/wiki"
    },
    {
      "type": "external",
      "href": "https://github.com/opencv/opencv/wiki/OpenCV-5"
    },
    {
      "type": "external",
      "href": "https://stackoverflow.com/questions/tagged/opencv"
    },
    {
      "type": "external",
      "href": "https://github.com/opencv/opencv/issues"
    },
    {
      "type": "external",
      "href": "https://www.sphinx-doc.org/"
    },
    {
      "type": "external",
      "href": "https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html"
    },
    {
      "type": "external",
      "href": "javascript:searchBox.CloseResultsWindow()"
    },
    {
      "type": "external",
      "href": "javascript:void(0)"
    }
  ],
  "repair_version": 2,
  "repaired_at": "2026-10-20T17:30:12Z",
  "source_url": "https://docs.opencv.org/",
  "delivery_status": "unverified",
  "discovery_status": "http_403",
  "missing_reason": "http_403",
  "repair_error": "",
  "actual_video_files": [],
  "expected_saved_body_images": 2,
  "image_discovery": "saved_markdown",
  "source_body_markdown": "[Skip to main content](https://docs.opencv.org/5.0/#main-content)\nBack to top\n[ ![](https://docs.opencv.org/5.0/_static/opencv-logo.svg) ![](https://docs.opencv.org/5.0/_static/opencv-logo.svg) OpenCV 5.0 Open Source Computer Vision ](https://docs.opencv.org/5.0/)\n5.0 5.0.0alpha 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.0 4.3.0 4.2.0 4.1.2 4.1.1 4.1.0 4.0.1 4.0.0 3.4.20-dev 3.4.20 3.4.19 3.4.18 3.4.17 3.4.16 3.4.15 3.4.14 3.4.13 3.4.12 3.4.11 3.4.10 3.4.9 3.4.8 3.4.7 3.4.6 3.4.5 3.4.4 3.4.3 3.4.2 3.4.1 3.4.0 3.3.1 3.3.0 3.2.0 3.1.0 3.0.0\n  * [Main Page](https://docs.opencv.org/5.0/)\n  * [Related Pages](https://docs.opencv.org/5.0/related_pages.html)\n  * [Namespaces](https://docs.opencv.org/5.0/namespace_list.html)\n  * [Classes](https://docs.opencv.org/5.0/class_list.html)\n  * [Examples](https://docs.opencv.org/5.0/examples/examples_root.html)\n  * [Java documentation](https://docs.opencv.org/5.x/javadoc/)\n\n\nSearch `Ctrl`+`K`\nLight Dark System Settings\n  * [ GitHub](https://github.com/opencv/opencv)\n\n\n  * [Main Page](https://docs.opencv.org/5.0/)\n  * [Related Pages](https://docs.opencv.org/5.0/related_pages.html)\n  * [Namespaces](https://docs.opencv.org/5.0/namespace_list.html)\n  * [Classes](https://docs.opencv.org/5.0/class_list.html)\n  * [Examples](https://docs.opencv.org/5.0/examples/examples_root.html)\n  * [Java documentation](https://docs.opencv.org/5.x/javadoc/)\n\n\nSearch `Ctrl`+`K`\nLight Dark System Settings\n  * [ GitHub](https://github.com/opencv/opencv)\n\n\n# OpenCV documentation[#](https://docs.opencv.org/5.0/#opencv-documentation \"Link to this heading\")\nOpenCV (Open Source Computer Vision Library) is an open-source computer vision and machine learning software library. It has more than 2,500 optimised algorithms, a comprehensive mix of both classic and state-of-the-art computer vision and machine learning methods. These can be used to detect and recognise faces, identify objects, classify human actions in video, track camera and object motion, extract 3D models, stitch images together to produce high-resolution panoramas, and much more. The library has interfaces for C++, Python, Java, and JavaScript, runs on Windows, Linux, macOS, Android, and iOS, and accelerates work on CPU (SIMD), CUDA, OpenCL, and Vulkan.\nOpenCV 5.0 is a major release built on OpenCV 4.x. C++17 is now the minimum required standard, Python 2 support has been dropped (Python 3.6+ is required), and the legacy C API has been fully removed. New data types (CV_16BF, CV_32U, CV_64U, CV_64S, CV_Bool) and proper 0D/1D array support extend the core, while the former calib3d module is split into the geometry, calib, stereo, and ptcloud modules. A next-generation DNN engine now covers over 80% of the ONNX specification (up from under 23%), with ONNX Runtime integration and models hosted on Hugging Face. Performance gains include Universal Intrinsics 2.0 (SSE/AVX/NEON/SVE/RISC-V), Vulkan compute support, image-warping speed-ups of 10% to over 300%, and USAC as the default framework for robust estimation.\n## Introduction[#](https://docs.opencv.org/5.0/#introduction \"Link to this heading\")\n  * [Introduction](https://docs.opencv.org/5.0/intro.html)\n\n\n## How to use pre-built OpenCV binaries[#](https://docs.opencv.org/5.0/#how-to-use-pre-built-opencv-binaries \"Link to this heading\")\n  * [Using OpenCV pre-built binaries in your own projects](https://docs.opencv.org/5.0/tutorials/introduction/using_prebuilt_binaries/using_prebuilt_binaries.html)\n\n\n## OpenCV Tutorials[#](https://docs.opencv.org/5.0/#opencv-tutorials \"Link to this heading\")\n  * [OpenCV tutorials](https://docs.opencv.org/5.0/tutorials/tutorials.html)\n\n\n## Python Tutorials[#](https://docs.opencv.org/5.0/#python-tutorials \"Link to this heading\")\n  * [OpenCV-Python tutorials](https://docs.opencv.org/5.0/py_tutorials/py_tutorials.html)\n\n\n## Javascript Tutorials[#](https://docs.opencv.org/5.0/#javascript-tutorials \"Link to this heading\")\n  * [OpenCV.js tutorials](https://docs.opencv.org/5.0/js_tutorials/js_tutorials.html)\n\n\n## Contrib Tutorials[#](https://docs.opencv.org/5.0/#contrib-tutorials \"Link to this heading\")\n  * [Tutorials for contrib module](https://docs.opencv.org/5.0/tutorials_contrib/contrib_root.html)\n\n\n## Main modules[#](https://docs.opencv.org/5.0/#main-modules \"Link to this heading\")\n  * [Documentation for main modules](https://docs.opencv.org/5.0/main_modules/api_root.html)\n\n\n## Extra modules[#](https://docs.opencv.org/5.0/#extra-modules \"Link to this heading\")\n  * [Documentation for extra modules](https://docs.opencv.org/5.0/extra_modules/api_root.html)\n\n\n## Frequently Asked Questions[#](https://docs.opencv.org/5.0/#frequently-asked-questions \"Link to this heading\")\n  * [Frequently Asked Questions](https://docs.opencv.org/5.0/faq.html)\n\n\n## Bibliography[#](https://docs.opencv.org/5.0/#bibliography \"Link to this heading\")\n  * [Bibliography](https://docs.opencv.org/5.0/citelist.html)\n\n\n[ next Introduction ](https://docs.opencv.org/5.0/intro.html \"next page\")\nOn this page \n  * [Introduction](https://docs.opencv.org/5.0/#introduction)\n  * [How to use pre-built OpenCV binaries](https://docs.opencv.org/5.0/#how-to-use-pre-built-opencv-binaries)\n  * [OpenCV Tutorials](https://docs.opencv.org/5.0/#opencv-tutorials)\n  * [Python Tutorials](https://docs.opencv.org/5.0/#python-tutorials)\n  * [Javascript Tutorials](https://docs.opencv.org/5.0/#javascript-tutorials)\n  * [Contrib Tutorials](https://docs.opencv.org/5.0/#contrib-tutorials)\n  * [Main modules](https://docs.opencv.org/5.0/#main-modules)\n  * [Extra modules](https://docs.opencv.org/5.0/#extra-modules)\n  * [Frequently Asked Questions](https://docs.opencv.org/5.0/#frequently-asked-questions)\n  * [Bibliography](https://docs.opencv.org/5.0/#bibliography)\n\n\nResources \n  * [OpenCV Wiki](https://github.com/opencv/opencv/wiki)\n  * [What's new in 5.0](https://github.com/opencv/opencv/wiki/OpenCV-5)\n  * [Forum](https://forum.opencv.org)\n  * [Stack Overflow](https://stackoverflow.com/questions/tagged/opencv)\n  * [Issue tracker](https://github.com/opencv/opencv/issues)\n\n\nCreated using [Sphinx](https://www.sphinx-doc.org/) 8.1.3.   \n\nBuilt with the [PyData Sphinx Theme](https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html) 0.17.1. \n`Ctrl`+`K` [ ![](https://docs.opencv.org/doc/doxygen/html/search/close.svg)](javascript:searchBox.CloseResultsWindow\\(\\))\n[•All](javascript:void\\(0\\))[Classes](javascript:void\\(0\\))[Namespaces](javascript:void\\(0\\))[Files](javascript:void\\(0\\))[Functions](javascript:void\\(0\\))[Variables](javascript:void\\(0\\))[Typedefs](javascript:void\\(0\\))[Enumerations](javascript:void\\(0\\))[Enumerator](javascript:void\\(0\\))[Properties](javascript:void\\(0\\))[Friends](javascript:void\\(0\\))[Macros](javascript:void\\(0\\))[Modules](javascript:void\\(0\\))[Pages](javascript:void\\(0\\))\nLoading...\nSearching...\nNo Matches\n",
  "body_base_path": "attachments/0bd8424f50b4/pages/",
  "body_markdown_path": "attachments/0bd8424f50b4/pages/archived-body.md",
  "local_html": "attachments/0bd8424f50b4/pages/archived-body.html",
  "body_source": "prior_capture"
}