opencv::videoio
pub const CAP_PROP_XI_IS_DEVICE_EXIST: i32 = 547;
Returns 1 if camera connected and works properly.