{
  "name": "opencv4",
  "href": "https://vcpkg.link/ports/opencv4",
  "supports": "all",
  "published_at": "2026-10-02T03:54:16.000Z",
  "is_deprecated": false,
  "is_featured": false,
  "documentation_href": "https://docs.opencv.org/4.14.0/",
  "homepage_href": "https://opencv.org/",
  "description": [
    "Open Source Computer Vision Library"
  ],
  "license": null,
  "version": {
    "type": "semver",
    "value": "4.14.0",
    "port": 0
  },
  "commit": {
    "tree_href": "https://github.com/microsoft/vcpkg/tree/2c88ca199b27256e4c7d9f796216f82f2b976b0e/ports/opencv4",
    "hash": "2c88ca199b27256e4c7d9f796216f82f2b976b0e"
  },
  "repository": null,
  "dependencies": [
    {
      "name": "cpu-features",
      "href": "https://vcpkg.link/ports/cpu-features",
      "is_host": false,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "android"
    },
    {
      "name": "vcpkg-cmake",
      "href": "https://vcpkg.link/ports/vcpkg-cmake",
      "is_host": true,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "all"
    },
    {
      "name": "vcpkg-cmake-config",
      "href": "https://vcpkg.link/ports/vcpkg-cmake-config",
      "is_host": true,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "all"
    },
    {
      "name": "vcpkg-get-python-packages",
      "href": "https://vcpkg.link/ports/vcpkg-get-python-packages",
      "is_host": true,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "all"
    },
    {
      "name": "zlib",
      "href": "https://vcpkg.link/ports/zlib",
      "is_host": false,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "all"
    }
  ],
  "dev_dependencies": [],
  "features": [
    {
      "name": "ade",
      "default": [],
      "description": [
        "graph api"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "ade",
          "href": "https://vcpkg.link/ports/ade",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "aravis",
      "default": [],
      "description": [
        "aravis"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "aravis",
          "href": "https://vcpkg.link/ports/aravis",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "calib3d",
      "default": [
        "all"
      ],
      "description": [
        "calib3d module"
      ],
      "supports": "all",
      "dependencies": []
    },
    {
      "name": "carotene",
      "default": [],
      "description": [
        "carotene module"
      ],
      "supports": "all",
      "dependencies": []
    },
    {
      "name": "contrib",
      "default": [],
      "description": [
        "opencv_contrib module"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "cuda",
      "default": [],
      "description": [
        "CUDA support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "cuda",
          "href": "https://vcpkg.link/ports/cuda",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "cudnn",
      "default": [],
      "description": [
        "cuDNN support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "cudnn",
          "href": "https://vcpkg.link/ports/cudnn",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "dc1394",
      "default": [],
      "description": [
        "Dc1394 support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "libdc1394",
          "href": "https://vcpkg.link/ports/libdc1394",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "directml",
      "default": [
        {
          "raw": "windows & !uwp & !mingw",
          "expression": {
            "type": "and",
            "left": {
              "type": "node",
              "value": "windows"
            },
            "right": {
              "type": "and",
              "left": {
                "type": "not",
                "expression": {
                  "type": "node",
                  "value": "uwp"
                }
              },
              "right": {
                "type": "not",
                "expression": {
                  "type": "node",
                  "value": "mingw"
                }
              }
            }
          }
        }
      ],
      "description": [
        "Build with DirectML support"
      ],
      "supports": "windows & !uwp & !mingw",
      "dependencies": []
    },
    {
      "name": "dnn",
      "default": [
        "all"
      ],
      "description": [
        "Enable dnn module"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "flatbuffers",
          "href": "https://vcpkg.link/ports/flatbuffers",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "flatbuffers",
          "href": "https://vcpkg.link/ports/flatbuffers",
          "is_host": true,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "arm64"
        },
        {
          "name": "protobuf",
          "href": "https://vcpkg.link/ports/protobuf",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "dnn-cuda",
      "default": [],
      "description": [
        "Build dnn module with CUDA support"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "dshow",
      "default": [
        {
          "raw": "windows & !uwp",
          "expression": {
            "type": "and",
            "left": {
              "type": "node",
              "value": "windows"
            },
            "right": {
              "type": "not",
              "expression": {
                "type": "node",
                "value": "uwp"
              }
            }
          }
        }
      ],
      "description": [
        "Enable DirectShow"
      ],
      "supports": "windows & !uwp",
      "dependencies": []
    },
    {
      "name": "eigen",
      "default": [],
      "description": [
        "Eigen support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "eigen3",
          "href": "https://vcpkg.link/ports/eigen3",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "ffmpeg",
      "default": [],
      "description": [
        "ffmpeg support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "ffmpeg",
          "href": "https://vcpkg.link/ports/ffmpeg",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "freetype",
      "default": [],
      "description": [
        "Freetype support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "freetype",
          "href": "https://vcpkg.link/ports/freetype",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "harfbuzz",
          "href": "https://vcpkg.link/ports/harfbuzz",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "fs",
      "default": [
        "all"
      ],
      "description": [
        "Enable filesystem support"
      ],
      "supports": "all",
      "dependencies": []
    },
    {
      "name": "gapi",
      "default": [
        {
          "raw": "!uwp",
          "expression": {
            "type": "not",
            "expression": {
              "type": "node",
              "value": "uwp"
            }
          }
        }
      ],
      "description": [
        "Enable gapi module"
      ],
      "supports": "!uwp",
      "dependencies": []
    },
    {
      "name": "gdcm",
      "default": [],
      "description": [
        "GDCM support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "gdcm",
          "href": "https://vcpkg.link/ports/gdcm",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "gstreamer",
      "default": [],
      "description": [
        "gstreamer support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "gstreamer",
          "href": "https://vcpkg.link/ports/gstreamer",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "gtk",
      "default": [
        {
          "raw": "linux",
          "expression": {
            "type": "node",
            "value": "linux"
          }
        }
      ],
      "description": [
        "GTK support for opencv"
      ],
      "supports": "!windows & !osx & !ios & !android",
      "dependencies": [
        {
          "name": "gtk3",
          "href": "https://vcpkg.link/ports/gtk3",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "halide",
      "default": [],
      "description": [
        "Halide support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "halide",
          "href": "https://vcpkg.link/ports/halide",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "hdf",
      "default": [],
      "description": [
        "Enable Hierarchical Data Format (hdf) I/O"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "hdf5",
          "href": "https://vcpkg.link/ports/hdf5",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "highgui",
      "default": [
        "all"
      ],
      "description": [
        "highgui module"
      ],
      "supports": "all",
      "dependencies": []
    },
    {
      "name": "intrinsics",
      "default": [
        "all"
      ],
      "description": [
        "Enable intrinsics"
      ],
      "supports": "all",
      "dependencies": []
    },
    {
      "name": "ipp",
      "default": [],
      "description": [
        "Enable Intel Integrated Performance Primitives"
      ],
      "supports": "(osx & x64) | (windows & (x64 | x86)) | (linux & (x64 | x86))",
      "dependencies": []
    },
    {
      "name": "jpeg",
      "default": [
        "all"
      ],
      "description": [
        "JPEG support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "libjpeg-turbo",
          "href": "https://vcpkg.link/ports/libjpeg-turbo",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "jpegxl",
      "default": [],
      "description": [
        "JPEGXL support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "libjxl",
          "href": "https://vcpkg.link/ports/libjxl",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "kleidicv",
      "default": [],
      "description": [
        "Use the ARM KleidiCV acceleration library"
      ],
      "supports": "arm64 & !windows",
      "dependencies": []
    },
    {
      "name": "msmf",
      "default": [
        {
          "raw": "windows & !uwp & !mingw",
          "expression": {
            "type": "and",
            "left": {
              "type": "node",
              "value": "windows"
            },
            "right": {
              "type": "and",
              "left": {
                "type": "not",
                "expression": {
                  "type": "node",
                  "value": "uwp"
                }
              },
              "right": {
                "type": "not",
                "expression": {
                  "type": "node",
                  "value": "mingw"
                }
              }
            }
          }
        }
      ],
      "description": [
        "Microsoft Media Foundation support for opencv"
      ],
      "supports": "windows & !uwp & !mingw",
      "dependencies": []
    },
    {
      "name": "nonfree",
      "default": [],
      "description": [
        "allow nonfree and unredistributable libraries"
      ],
      "supports": "all",
      "dependencies": []
    },
    {
      "name": "opencl",
      "default": [],
      "description": [
        "Enable opencl support"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "opencl",
          "href": "https://vcpkg.link/ports/opencl",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "openexr",
      "default": [],
      "description": [
        "OpenEXR support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "openexr",
          "href": "https://vcpkg.link/ports/openexr",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "opengl",
      "default": [],
      "description": [
        "opengl support for opencv"
      ],
      "supports": "!osx",
      "dependencies": [
        {
          "name": "opengl",
          "href": "https://vcpkg.link/ports/opengl",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "openjpeg",
      "default": [],
      "description": [
        "JPEG 2000 support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "openjpeg",
          "href": "https://vcpkg.link/ports/openjpeg",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "openmp",
      "default": [],
      "description": [
        "Enable OpenMP support"
      ],
      "supports": "!osx",
      "dependencies": []
    },
    {
      "name": "openvino",
      "default": [],
      "description": [
        "OpenVINO support for OpenCV DNN"
      ],
      "supports": "!uwp & !x86",
      "dependencies": [
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "openvino",
          "href": "https://vcpkg.link/ports/openvino",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "openvino",
          "href": "https://vcpkg.link/ports/openvino",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "x64 & !(osx | uwp)"
        }
      ]
    },
    {
      "name": "ovis",
      "default": [],
      "description": [
        "opencv_ovis module"
      ],
      "supports": "!(windows & static)",
      "dependencies": [
        {
          "name": "ogre",
          "href": "https://vcpkg.link/ports/ogre",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "png",
      "default": [
        "all"
      ],
      "description": [
        "PNG support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "libpng",
          "href": "https://vcpkg.link/ports/libpng",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "python",
      "default": [],
      "description": [
        "Python wrapper support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "dlpack",
          "href": "https://vcpkg.link/ports/dlpack",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "python3",
          "href": "https://vcpkg.link/ports/python3",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "qt",
      "default": [],
      "description": [
        "Qt GUI support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "qt5compat",
          "href": "https://vcpkg.link/ports/qt5compat",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "qtbase",
          "href": "https://vcpkg.link/ports/qtbase",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "quality",
      "default": [],
      "description": [
        "Build opencv_quality module"
      ],
      "supports": "!uwp",
      "dependencies": [
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "quirc",
      "default": [
        "all"
      ],
      "description": [
        "Enable QR code module"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "quirc",
          "href": "https://vcpkg.link/ports/quirc",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "rgbd",
      "default": [],
      "description": [
        "Build opencv_rgbd module"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "sfm",
      "default": [],
      "description": [
        "opencv_sfm module"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "ceres",
          "href": "https://vcpkg.link/ports/ceres",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "gflags",
          "href": "https://vcpkg.link/ports/gflags",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "glog",
          "href": "https://vcpkg.link/ports/glog",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "tbb",
      "default": [],
      "description": [
        "Enable Intel Threading Building Blocks"
      ],
      "supports": "!static",
      "dependencies": [
        {
          "name": "tbb",
          "href": "https://vcpkg.link/ports/tbb",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "text",
      "default": [],
      "description": [
        "Enable Scene Text Detection and Recognition"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "tesseract",
          "href": "https://vcpkg.link/ports/tesseract",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "thread",
      "default": [
        "all"
      ],
      "description": [
        "Enable thread support"
      ],
      "supports": "all",
      "dependencies": []
    },
    {
      "name": "tiff",
      "default": [
        "all"
      ],
      "description": [
        "TIFF support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "tiff",
          "href": "https://vcpkg.link/ports/tiff",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "v4l",
      "default": [
        {
          "raw": "linux",
          "expression": {
            "type": "node",
            "value": "linux"
          }
        }
      ],
      "description": [
        "Video4Linux support for opencv"
      ],
      "supports": "linux",
      "dependencies": []
    },
    {
      "name": "vtk",
      "default": [],
      "description": [
        "vtk support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "vtk",
          "href": "https://vcpkg.link/ports/vtk",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "vulkan",
      "default": [],
      "description": [
        "Vulkan support for opencv dnn"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "opencv4",
          "href": "https://vcpkg.link/ports/opencv4",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "all"
        },
        {
          "name": "vulkan-headers",
          "href": "https://vcpkg.link/ports/vulkan-headers",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "webp",
      "default": [
        "all"
      ],
      "description": [
        "WebP support for opencv"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "libwebp",
          "href": "https://vcpkg.link/ports/libwebp",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "win32ui",
      "default": [
        {
          "raw": "windows & !uwp",
          "expression": {
            "type": "and",
            "left": {
              "type": "node",
              "value": "windows"
            },
            "right": {
              "type": "not",
              "expression": {
                "type": "node",
                "value": "uwp"
              }
            }
          }
        }
      ],
      "description": [
        "Enable win32ui"
      ],
      "supports": "windows & !uwp",
      "dependencies": []
    },
    {
      "name": "world",
      "default": [],
      "description": [
        "Compile to a single package support for opencv"
      ],
      "supports": "all",
      "dependencies": []
    }
  ]
}