Registry / other / opencv2

opencv2

JSON →
library2.4.13.7vcpkgunverified

Open Source Computer Vision Library (version 2.x).

vcpkg install opencv2
INSTALL
IMPORT
SIG · OPENCV2
O
opencv2
othercppv2.4.13.7
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

#include <opencv2/opencv.hpp> #include <iostream> int main() { cv::Mat img = cv::imread("image.jpg"); if (img.empty()) { std::cerr << "Could not read image\n"; return 1; } cv::imshow("Display", img); cv::waitKey(0); return 0; }
Debug
Known issues
breakingOpenCV 2.x is outdated; consider using opencv (version 4.x) for new projects.
fix
Use the 'opencv' port instead of 'opencv2' for latest features and security fixes.
affects: all
Upgrade
Version history
2.4.13.7latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

opencv2 — pip install opencv2 · libregistry