visp icon indicating copy to clipboard operation
visp copied to clipboard

Grabbing image frames from laptop's in-built camera

Open shrutichakraborty opened this issue 1 year ago • 1 comments

Hi all, I am new to visp and I have installed it on ubuntu 20.04 using WSL on windows. I am wondering how can I access the live camera feed from my laptop's camera using VISP and the proceed to processing the live images?

Thanks!

shrutichakraborty avatar Nov 20 '23 10:11 shrutichakraborty

Hi, I have never tested this feature. You need to check if your WSL contains /dev/video devices when a camera is plugged. If this is the case, you can start by trying to use OpenCV cv::VideoCapture().

An example is provided in ViSP in tutorial-grabber-opencv.cpp.

fspindle avatar Nov 22 '23 13:11 fspindle