J
J
Jek2020-06-22 06:31:45
C++ / C#
Jek, 2020-06-22 06:31:45

How to get an image from a webcam in C language?

I am learning the C language from a book, in which the task is to take an image from a webcam using opencv. but i didn't find tutorial or docs on opencv 4.3 in c language online. are there any workarounds to get a picture (video)? Or can you tell me a resource on opencv 4.3 C? there was also an idea to use uncompiled *.c and *.h files from opencv, but I didn’t understand which of them I need and where they are (I searched for the master branch in the sources). I would be grateful if you tell me how to take a picture not only from a webcam on Windows, but also in Linux. if anything I have Visual studio 2019, Code::Blocks, cygwin, mingw64, gcc

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ananiev, 2020-06-22
@SaNNy32

The C API seems to be no longer developed since version 3.0. https://answers.opencv.org/question/17546/opencv-w...

S
Sergey Gornostaev, 2020-06-22
@sergey-gornostaev

Since 2010, the C API for OpenCV is no longer being developed. People make wraps .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question