Answer the question
In order to leave comments, you need to log in
Why is the libCVD example not displaying the image from the webcam?
I've been fiddling with this library all day. and all the same, yes because.
but there are successes, the exception is not thrown, but it does not work correctly.
VideoBuffer<Rgb<byte> > * video_buffer = open_video_source<Rgb<byte> >("colourspace:[from=yuv422]//v4l2:[verbose]///dev/video0");
VideoDisplay disp(video_buffer->size());
while(1)
{
VideoFrame<Rgb<byte> > *frame = video_buffer->get_frame();
glDrawPixels(*frame);
video_buffer->put_frame(frame);
}
In file included from ../../Desktop/libcvd-master/cvd/videosource.h:19:0,
from ../main.cpp:1:
../../Desktop/libcvd-master/ cvd/readaheadvideobuffer.h:12:116: note: #pragma message: ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build
#pragma message("ReadAheadVideoBuffer will not do any read - ahead because threads are not supported in this build")
Answer the question
In order to leave comments, you need to log in
You need to set a preprocessor definition for CVD_HAVE_PTHREAD
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question