Function usb_cam::utils::available_devices

Function Documentation

inline std::map<std::string, v4l2_capability> usb_cam::utils::available_devices()

List currently available valid V4L2 devices Can be used to check if a device string is valid before starting up.

Inspired by: http://stackoverflow.com/questions/4290834/how-to-get-a-list-of-video-capture-devices-web-cameras-on-linux-ubuntu-c