fixed multi camera start

This commit is contained in:
Joe Dong
2022-12-28 13:55:26 +08:00
parent ca92f8cd79
commit 470ebe1c5f
5 changed files with 165 additions and 117 deletions
+11
View File
@@ -205,4 +205,15 @@ OBFormat OBFormatFromString(const std::string &format) {
}
}
std::string ObDeviceTypeToString(const OBDeviceType &type) {
switch (type) {
case OBDeviceType::OB_STRUCTURED_LIGHT_BINOCULAR_CAMERA:
return "structured light binocular camera";
case OBDeviceType::OB_STRUCTURED_LIGHT_MONOCULAR_CAMERA:
return "structured light monocular camera";
case OBDeviceType::OB_TOF_CAMERA:
return "tof camera";
}
return "unknown technology camera";
}
} // namespace orbbec_camera