Turi Create  4.0
superposition.hpp
1 /* Copyright © 2019 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at
5  * https://opensource.org/licenses/BSD-3-Clause
6  */
7 
8 #include <boost/gil/gil_all.hpp>
9 
10 #include <core/data/image/image_type.hpp>
11 
12 #include <core/data/sframe/gl_sframe.hpp>
13 #include <toolkits/object_detection/one_shot_object_detection/util/parameter_sampler.hpp>
14 
15 namespace turi {
16 namespace one_shot_object_detection {
17 namespace data_augmentation {
18 
19 flex_image create_synthetic_image(
20  const boost::gil::rgba8_image_t::const_view_t &starter_image_view,
21  const boost::gil::rgb8_image_t::const_view_t &background_view,
22  ParameterSampler &parameter_sampler);
23 
24 } // namespace data_augmentation
25 } // namespace one_shot_object_detection
26 } // namespace turi
image_type flex_image