We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://opencv.org/
I want to use sol2 to bind the opencv library. But I don't know how to implement it? For example, reading and binarizing images.
cv::Mat src = cv::imread("demo.png", IMREAD_GRAYSCALE); cv::Mat dst; cv::threshold(src, dst, 128, 255, THRESH_BINARY); cv::imshow("binary", dst);
Could you please write an example? How to bind opencv? I want to use lua to implement this C++ source code. Thank you!
The text was updated successfully, but these errors were encountered:
You take all the types, classes, functions and methods, and bind them one by one. That's how it's done for literally anything, not for OpenCV only.
Sol repo contains enough examples to help you do it, but if you dare, then good luck.
Sorry, something went wrong.
No branches or pull requests
https://opencv.org/
I want to use sol2 to bind the opencv library.
But I don't know how to implement it?
For example, reading and binarizing images.
Could you please write an example? How to bind opencv? I want to use lua to implement this C++ source code.
Thank you!
The text was updated successfully, but these errors were encountered: