Registry / other / opencv4

opencv4

JSON →
library4.12.0vcpkgunverified

Open Source Computer Vision Library provides computer vision and machine learning algorithms.

vcpkg install opencv4
INSTALL
IMPORT
SIG · OPENCV4
O
opencv4
othercppv4.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

opencv2/opencv.hpp
#include <opencv2/opencv.hpp>

Read and display an image using OpenCV

#include <opencv2/opencv.hpp> #include <iostream> int main() { cv::Mat img = cv::imread("image.jpg"); if (img.empty()) { std::cerr << "Could not read image" << std::endl; return 1; } cv::imshow("Display window", img); cv::waitKey(0); return 0; }
Debug
Known issues
breakingOpenCV 4.x removed some legacy C API functions; code written for OpenCV 2.x may not compile.
fix
Update code to use the C++ API (cv::Mat, etc.) and check migration guides.
affects: >=4.0.0
Upgrade
Version history
4.12.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

opencv4 — pip install opencv4 · libregistry