Returns the video capturing opening status.
ret = VideoCapture_isOpened(videoCapture)
Video capture object (VideoCapture).
Status (boolean).
VideoCapture_isOpened
returns %T
if video capturing has been successfully initialized and opened.
scicv_Init(); // First capturing device connected videoCapture = new_VideoCapture(0); if ~VideoCapture_isOpened(videoCapture) then disp("Capturing device #0 cannot be opened. Please plug a camera.") end delete_VideoCapture(videoCapture); | ![]() | ![]() |