Banuba SDK
process_image_params.hpp
Go to the documentation of this file.
1 /// \file
2 /// \addtogroup EffectPlayer
3 /// @{
4 ///
5 // AUTOGENERATED FILE - DO NOT MODIFY!
6 // This file generated by Djinni from effect_player.djinni
7 
8 #pragma once
9 
11 #include <optional>
12 #include <string>
13 #include <utility>
14 #include <vector>
15 
16 namespace bnb { namespace interfaces {
17 
18 struct process_image_params final {
19  /** Set this param to force running of acne processing feature */
21  /** User-defined acne areas to mask, rectangles are in input image coordinate space */
22  std::optional<std::vector<::bnb::interfaces::pixel_rect>> acne_user_areas;
23  /** For internal use, not for clients. Stores path to JSON with face data, to mock frx results */
24  std::optional<std::string> face_data_json_path;
25 
26  process_image_params(bool acne_processing_,
27  std::optional<std::vector<::bnb::interfaces::pixel_rect>> acne_user_areas_,
28  std::optional<std::string> face_data_json_path_)
29  : acne_processing(std::move(acne_processing_))
30  , acne_user_areas(std::move(acne_user_areas_))
31  , face_data_json_path(std::move(face_data_json_path_))
32  {}
33 };
34 
35 } } // namespace bnb::interfaces
36 /// @}
37 
bnb::interfaces::process_image_params::face_data_json_path
std::optional< std::string > face_data_json_path
For internal use, not for clients.
Definition: process_image_params.hpp:24
pixel_rect.hpp
bnb::interfaces::process_image_params
Definition: process_image_params.hpp:18
bnb::interfaces::process_image_params::acne_user_areas
std::optional< std::vector<::bnb::interfaces::pixel_rect > > acne_user_areas
User-defined acne areas to mask, rectangles are in input image coordinate space.
Definition: process_image_params.hpp:22
bnb::interfaces::process_image_params::acne_processing
bool acne_processing
Set this param to force running of acne processing feature.
Definition: process_image_params.hpp:20