Returns the current device index.
device = cv.Utils.getDevice()
Returns the current device index set by cv.Utils.setDevice or initialized by default.