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  /** Neuro beauty preprocessing */
42  beauty_preproc,
43  /** Combined face acne and eyebags removal */
44  acne_eyebags,
45  hand_gestures,
46  textured_nails,
47  /** Activates eyes corrector */
48  eyes_correction,
49  /** Activates lips corrector */
50  lips_correction,
51  /** Computes coefficient for light correction */
52  light_correction,
53  /** Watch try-on */
54  watch,
55  face_match,
56  /** Ears detection */
57  ears,
58  /** Enable latents filtration for AU, affects FRX face mesh */
59  action_units_antijitter,
60  /** Face skin segmentation */
61  face_skin,
62  face_attributes,
63  /** Pupillary distance in mm. */
64  pupillary_distance,
65  frown_detection,
66  gender_detect,
67  teeth_tone,
68 };
69 
70 } } // namespace bnb::interfaces
71 
72 namespace std {
73 
74 template <>
75 struct hash<::bnb::interfaces::feature_id> {
76  size_t operator()(::bnb::interfaces::feature_id type) const {
77  return std::hash<int>()(static_cast<int>(type));
78  }
79 };
80 
81 } // namespace std
82 /// @}
83