Banuba SDK
types.hpp
1 #pragma once
2 
3 #include <bnb/types/interfaces/all.hpp>
4 #include <memory>
5 
6 namespace bnb::interfaces
7 {
8  using face_data_sptr = std::shared_ptr<face_data>;
9  using face_data_wptr = std::weak_ptr<face_data>;
10  using face_data_uptr = std::unique_ptr<face_data>;
11  using face_data_ptr = bnb::interfaces::face_data*;
12 
13  using frame_data_sptr = std::shared_ptr<frame_data>;
14  using frame_data_wptr = std::weak_ptr<frame_data>;
15  using frame_data_uptr = std::unique_ptr<frame_data>;
16  using frame_data_ptr = bnb::interfaces::frame_data*;
17 
18  using frx_recognition_result_sptr = std::shared_ptr<frx_recognition_result>;
19  using frx_recognition_result_wptr = std::weak_ptr<frx_recognition_result>;
20  using frx_recognition_result_uptr = std::unique_ptr<frx_recognition_result>;
21  using frx_recognition_result_ptr = bnb::interfaces::frx_recognition_result*;
22 
23  using transformation_sptr = std::shared_ptr<transformation>;
24  using transformation_wptr = std::weak_ptr<transformation>;
25  using transformation_uptr = std::unique_ptr<transformation>;
26  using transformation_ptr = bnb::interfaces::transformation*;
27 
28 }
bnb::interfaces::transformation
Definition: transformation.hpp:20
bnb::interfaces::face_data
Definition: face_data.hpp:22
bnb::interfaces::frame_data
getters throw exceptions when data are not available android NNs usually output gpu masks
Definition: frame_data.hpp:42
bnb::interfaces::frx_recognition_result
Definition: frx_recognition_result.hpp:20