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
I'm trying to load an image stored in a buffer to OpenCV in Julia. In order to achieve that, I'm reading the buffer using take! function, obtaining a Vector{UInt8} type as a result.
However, when trying to create the image from that vector using OpenCV.Mat{UInt8}(1, size(vector), OpenCV.CV_8U, vector), an error is raised as there is no method matching that call. The closest method Julia finds is OpenCV.Mat{T}(::Any, !Matched::AbstractArray(T,3)).
Does OpenCV.jl support creating Mat objects from unidimensional buffers?
The text was updated successfully, but these errors were encountered:
I'm trying to load an image stored in a buffer to OpenCV in Julia. In order to achieve that, I'm reading the buffer using take! function, obtaining a Vector{UInt8} type as a result.
However, when trying to create the image from that vector using OpenCV.Mat{UInt8}(1, size(vector), OpenCV.CV_8U, vector), an error is raised as there is no method matching that call. The closest method Julia finds is OpenCV.Mat{T}(::Any, !Matched::AbstractArray(T,3)).
Does OpenCV.jl support creating Mat objects from unidimensional buffers?
The text was updated successfully, but these errors were encountered: