File tree Expand file tree Collapse file tree 4 files changed +2
-5
lines changed
include/openvino/core/preprocess Expand file tree Collapse file tree 4 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -156,12 +156,10 @@ class OPENVINO_API PreProcessSteps final {
156156 // / \return Reference to 'this' to allow chaining with other calls in a builder-like manner.
157157 PreProcessSteps& resize (ResizeAlgorithm alg);
158158
159- // [ADDED NEW FEATURE]
160159 // / \brief Flips the image spatially.
161160 // / \param mode The direction to flip (HORIZONTAL or VERTICAL).
162161 // / \return Reference to the current 'PreProcessSteps' object.
163162 PreProcessSteps& flip (FlipMode mode);
164- // [END NEW FEATURE]
165163
166164 // / \brief Crop input tensor between begin and end coordinates. Under the hood, inserts `opset8::Slice` operation to
167165 // / execution graph. It is recommended to use to together with `ov::preprocess::InputTensorInfo::set_shape` to set
Original file line number Diff line number Diff line change @@ -471,12 +471,10 @@ PreProcessSteps& PreProcessSteps::resize(ResizeAlgorithm alg) {
471471 return *this ;
472472}
473473
474- // [ADDED NEW FEATURE]
475474PreProcessSteps& PreProcessSteps::flip (FlipMode mode) {
476475 m_impl->add_flip_impl (mode);
477476 return *this ;
478477}
479- // [END NEW FEATURE]
480478
481479PreProcessSteps& PreProcessSteps::crop (const std::vector<int >& begin, const std::vector<int >& end) {
482480 m_impl->add_crop_impl (begin, end);
Original file line number Diff line number Diff line change @@ -920,4 +920,4 @@ void PreStepsList::add_flip_impl(FlipMode mode) {
920920 name);
921921}
922922} // namespace preprocess
923- } // namespace ov
923+ } // namespace ov
Original file line number Diff line number Diff line change 11// Copyright (C) 2018-2026 Intel Corporation
22// SPDX-License-Identifier: Apache-2.0
33//
4+
45#include " gtest/gtest.h"
56#include " openvino/core/model.hpp"
67#include " openvino/core/preprocess/pre_post_process.hpp"
You can’t perform that action at this time.
0 commit comments