Banuba SDK
feature_id.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 <functional>
11 
12 namespace bnb { namespace interfaces {
13 
14 enum class feature_id : int {
15  frx,
16  pulse,
17  action_units,
18  background,
19  hair,
20  eyes,
21  brows,
22  skin,
23  face,
24  lips,
25  lips_shine,
26  glasses,
27  hand_skelet,
28  acne,
29  ruler,
30  hair_strand,
31  ring,
32  neck,
33  pose_estimation,
34  /** Nails segmentation and recoloring */
35  nails,
36  hand_gestures,
37  textured_nails,
38  /** Activates eyes corrector */
39  eyes_correction,
40  /** Activates lips corrector */
41  lips_correction,
42  /** Activates latents corrector */
43  latents_correction,
44  /** Computes coefficient for light correction */
45  light_correction,
46  /** Watch try-on */
47  watch,
48  face_match,
49  /** Ears detection */
50  ears,
51  /** Enable latents filtration for AU, affects FRX face mesh */
52  action_units_antijitter,
53  /** Face skin segmentation */
54  face_skin,
55  face_attributes,
56  face_shape,
57  pupillary_distance,
58  frown_detection,
59  gender_detect,
60  teeth_tone,
61  light_source,
62  chromakey,
63  lips_gloss,
64  lips_chameleon,
65  eyelids,
66  eyelids_gloss,
67  eyelids_chameleon,
68  glasses_frame_color,
69  eye_lenses,
70  face_skin_color,
71  acne_severity,
72  /**
73  * Wrinkles feature parameter layout:
74  * x > 0.5 enables on-FRX mask projection;
75  * y > 0.5 enables wrinkles filtering;
76  * z is the filter factor in [0, 1]: 1 keeps the full mask, while 0 leaves only the deepest
77  * pixels of each wrinkle line;
78  * w is unused.
79  */
80  wrinkles,
81  /** Requires an added wrinkles feature param with x > 0.5 */
82  wrinkles_severity,
83  /** Teeth segmentation */
84  teeth,
85  mouth,
86  /** Legacy low-cost lips segmentation */
87  lips_low,
88 };
89 
90 } } // namespace bnb::interfaces
91 
92 namespace std {
93 
94 template <>
95 struct hash<::bnb::interfaces::feature_id> {
96  size_t operator()(::bnb::interfaces::feature_id type) const {
97  return std::hash<int>()(static_cast<int>(type));
98  }
99 };
100 
101 } // namespace std
102 /// @}
103