Banuba SDK
external_face_data.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup Types
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file was generated by Djinni from types.djinni
7 
8 #pragma once
9 
10 #include <utility>
11 #include <vector>
12 
13 namespace bnb { namespace interfaces {
14 
15 /** Holds recognition result from an external source (ARKit, ARCore, etc.) */
16 struct external_face_data final {
17  std::vector<float> vertices;
18  std::vector<float> model_mat;
19  std::vector<float> view_mat;
20  std::vector<float> proj_mat;
21  std::vector<float> landmarks;
22  std::vector<bool> landmarks_mask;
23  std::vector<float> landmarks_brows;
24  std::vector<float> latents;
25 
26  external_face_data(std::vector<float> vertices_,
27  std::vector<float> model_mat_,
28  std::vector<float> view_mat_,
29  std::vector<float> proj_mat_,
30  std::vector<float> landmarks_,
31  std::vector<bool> landmarks_mask_,
32  std::vector<float> landmarks_brows_,
33  std::vector<float> latents_)
34  : vertices(std::move(vertices_))
35  , model_mat(std::move(model_mat_))
36  , view_mat(std::move(view_mat_))
37  , proj_mat(std::move(proj_mat_))
38  , landmarks(std::move(landmarks_))
39  , landmarks_mask(std::move(landmarks_mask_))
40  , landmarks_brows(std::move(landmarks_brows_))
41  , latents(std::move(latents_))
42  {}
43 };
44 
45 } } // namespace bnb::interfaces
46 /// @}
47 
bnb::interfaces::external_face_data
Holds recognition result from an external source (ARKit, ARCore, etc.)
Definition: external_face_data.hpp:16