You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add a `Mat(Scalar)` constructor to OpenCV for convenience (issue bytedeco/javacv#738)
* Include the `libavutil/time.h` for FFmpeg (issue bytedeco/javacv#735)
I am trying to set the value of the Mat to 255 (white), it throws an exception.
It is the code:
The Exception:
This API should not receive a Mat object, it will good to pass a Scalar object, something like this:
mat.setTo(Scalar scalar);
And also the the opencv_core.add() parameters are not enough, it should be something like this:
It is the original OpenCV API (simple, easy, beautiful and enjoyable)
The text was updated successfully, but these errors were encountered: