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  occlussion,
27  glasses,
28  acne,
29  hand_skelet,
30  eye_bags,
31  face_acne,
32  ruler,
33  hair_strand,
34  ring,
35  neck,
36  pose_estimation,
37  /** Body segmentation. I.e. bodies detection on the frame. */
38  body,
39  /** Nails segmentation and recoloring */
40  nails,
41  /** Combined face acne and eyebags removal */
42  acne_eyebags,
43  hand_gestures,
44  textured_nails,
45  /** Activates eyes corrector */
46  eyes_correction,
47  /** Activates lips corrector */
48  lips_correction,
49  /** Computes coefficient for light correction */
50  light_correction,
51  /** Watch try-on */
52  watch,
53  face_match,
54  /** Ears detection */
55  ears,
56  /** Enable latents filtration for AU, affects FRX face mesh */
57  action_units_antijitter,
58  /** Face skin segmentation */
59  face_skin,
60  face_attributes,
61  pupillary_distance,
62  frown_detection,
63  gender_detect,
64  teeth_tone,
65  light_source,
66 };
67 
68 } } // namespace bnb::interfaces
69 
70 namespace std {
71 
72 template <>
73 struct hash<::bnb::interfaces::feature_id> {
74  size_t operator()(::bnb::interfaces::feature_id type) const {
75  return std::hash<int>()(static_cast<int>(type));
76  }
77 };
78 
79 } // namespace std
80 /// @}
81