getDevice (cv.Utils) - MATLAB File Help
cv.Utils.getDevice

Returns the current device index.

device = cv.Utils.getDevice()

Output

Returns the current device index set by cv.Utils.setDevice or initialized by default.

See also
Method Details
Access public
Sealed false
Static true