Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Connects to cameras in MATLAB via Image Acquisition Toolbox's videoinput to acquire images, video, and live previews.
77% 95%+18 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 17 of 22 without it.
Write a MATLAB script running on Linux that queries video capture hardware using Image Acquisition Toolbox, opens device index 1, sets returned color space to RGB, and previews the live video feed.
Uses the linuxvideo adaptor in videoinput.
3 of 3 safety checks passed
Use Image Acquisition Toolbox's videoinput as the primary interface for all camera workflows. Other interfaces (webcam, gigecam) are secondary and should only be used when explicitly requested or when videoinput is unavailable.
webcam() from the webcam support packagevideoinput is not available — use webcam())These rules are critical. Follow them unless the user explicitly requests otherwise.
videoinput() from Image Acquisition Toolbox as the primary camera interfaceimaqhwinfo for device enumeration — not webcamlist or gigecamlistvideoinput("gentl", ...) — not gigecam or videoinput("gige")videoinput("winvideo", ...)videoinput("macvideo", ...)videoinput("linuxvideo", ...)videoinput("gentl", ...) — CoaXPress frame grabbers always provide GenTL producersvideoinput("gentl", ...) if the frame grabber provides a GenTL producer; otherwise use the vendor-specific adaptor (e.g., videoinput("ni", ...), videoinput("dalsa", ...))videoinput as "legacy" or "advanced" — it is the primary, full-featured interfacewebcam() insteadNext to this one in the catalogue, plus more from the same author.