How to read images from a camera buffer
My camera can not direct use cv::imread for read image.
Only have a buffer of uint32.
So how to convert the image to Mat.
Thanks
My camera can not direct use cv::imread for read image.
Only have a buffer of uint32.
So how to convert the image to Mat.
Thanks
You can use a rtsp protocol, something like this: rtsp://admin:[email protected]/defaultPrimary?streamType=u
Check if your camera is OnVif compatible. Is just an example.
Why you use cv::imread to read from the camera? There is cv::VideoCapture class for the camera control.
Asked: 2016-12-04 20:01:02 -0600
Seen: 614 times
Last updated: Dec 05 '16
Convert RGBA byte buffer to OpenCV image?
android ndk level access to camera video stream/pixels
Problem creating Mat from camera buffers (edited)
Is there any webcam buffering?
Implementing and integrating custom data structures with OpenCV
OpenCV Displaying UMat Efficiently
See if you can build with gstreamer or add codecs for your OS.