include
depthai
common
include/depthai/common/CameraImageOrientation.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <ostream>
4
5
#include "
depthai-shared/common/CameraImageOrientation.hpp
"
6
7
// Global namespace
8
inline
std::ostream&
operator<<
(std::ostream& out,
const
dai::CameraImageOrientation
& orientation) {
9
switch
(orientation) {
10
case
dai::CameraImageOrientation::AUTO
:
11
out <<
"AUTO"
;
12
break
;
13
case
dai::CameraImageOrientation::NORMAL
:
14
out <<
"NORMAL"
;
15
break
;
16
case
dai::CameraImageOrientation::HORIZONTAL_MIRROR
:
17
out <<
"HORIZONTAL_MIRROR"
;
18
break
;
19
case
dai::CameraImageOrientation::VERTICAL_FLIP
:
20
out <<
"VERTICAL_FLIP"
;
21
break
;
22
case
dai::CameraImageOrientation::ROTATE_180_DEG
:
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