Go to the documentation of this file.
7 std::cout <<
"Searching for all available devices...\n\n";
10 if(infos.size() <= 0) {
11 std::cout <<
"Couldn't find any available devices.\n";
15 for(
auto&
info : infos) {
16 std::cout <<
"Found device: " <<
info.name <<
" mxid: " <<
info.mxid <<
" state: " <<
info.state << std::endl;
20 std::cout <<
"\nBooting the first available camera (" << infos[0].name <<
")...\n";
22 std::cout <<
"Available camera sensors: ";
24 std::cout <<
"Socket: " << sensor.first <<
" - " << sensor.second <<
", ";
26 std::cout << std::endl;
29 std::cout <<
"Product name: " << eeprom.
productName <<
", board name: " << eeprom.boardName << std::endl;
Represents the pipeline, set of nodes and connections between them.
void info(const FormatString &fmt, Args &&...args)
std::unordered_map< CameraBoardSocket, std::string > getCameraSensorNames()
CalibrationHandler readCalibration2()
static std::vector< DeviceInfo > getAllAvailableDevices()
dai::EepromData getEepromData() const
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19