include/depthai/common/CameraImageOrientation.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <ostream>
4 
6 
7 // Global namespace
8 inline std::ostream& operator<<(std::ostream& out, const dai::CameraImageOrientation& orientation) {
9  switch(orientation) {
11  out << "AUTO";
12  break;
14  out << "NORMAL";
15  break;
17  out << "HORIZONTAL_MIRROR";
18  break;
20  out << "VERTICAL_FLIP";
21  break;
23  out << "ROTATE_180_DEG";
24  break;
25  }
26  return out;
27 }
dai::CameraImageOrientation::NORMAL
@ NORMAL
dai::CameraImageOrientation::VERTICAL_FLIP
@ VERTICAL_FLIP
dai::CameraImageOrientation
CameraImageOrientation
Definition: shared/depthai-shared/include/depthai-shared/common/CameraImageOrientation.hpp:11
dai::copyable_unique_ptr::operator<<
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &os, const copyable_unique_ptr< T > &cu_ptr)
Definition: copyable_unique_ptr.hpp:374
dai::CameraImageOrientation::AUTO
@ AUTO
dai::CameraImageOrientation::ROTATE_180_DEG
@ ROTATE_180_DEG
CameraImageOrientation.hpp
dai::CameraImageOrientation::HORIZONTAL_MIRROR
@ HORIZONTAL_MIRROR


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:18