@@ -24,7 +24,7 @@ limitations under the License.
2424#include " tensorflow_lite_support/cc/port/statusor.h"
2525#include " tensorflow_lite_support/cc/task/core/external_file_handler.h"
2626#include " tensorflow_lite_support/cc/task/vision/core/base_vision_task_api.h"
27- #include " tensorflow_lite_support/cc/task/vision/proto/image_transformer_options.proto "
27+ #include " tensorflow_lite_support/cc/task/vision/proto/image_transformer_options_proto_inc.h "
2828
2929namespace tflite {
3030namespace task {
@@ -61,7 +61,7 @@ namespace vision {
6161// A CLI demo tool is available for easily trying out this API, and provides
6262// example usage. See:
6363// examples/task/vision/desktop/image_classifier_demo.cc
64- class ImageTransformer : public BaseVisionTaskApi <tflite::task::vision::FrameBuffer> {
64+ class ImageTransformer : public BaseVisionTaskApi <:: tflite::task::vision::FrameBuffer> {
6565 public:
6666 using BaseVisionTaskApi::BaseVisionTaskApi;
6767
@@ -85,7 +85,7 @@ class ImageTransformer : public BaseVisionTaskApi<tflite::task::vision::FrameBuf
8585 // only supported colorspace for now),
8686 // - rotate it according to its `Orientation` so that inference is performed
8787 // on an "upright" image.
88- tflite::support::StatusOr<tflite::task::vision::FrameBuffer> Transform (
88+ tflite::support::StatusOr<:: tflite::task::vision::FrameBuffer> Transform (
8989 const FrameBuffer& frame_buffer);
9090
9191 // Same as above, except that the transformation is performed based on the
@@ -99,15 +99,15 @@ class ImageTransformer : public BaseVisionTaskApi<tflite::task::vision::FrameBuf
9999 // `frame_buffer` data before any `Orientation` flag gets applied. Also, the
100100 // region of interest is not clamped, so this method will return a non-ok
101101 // status if the region is out of these bounds.
102- tflite::support::StatusOr<tflite::task::vision::FrameBuffer> Transform (
102+ tflite::support::StatusOr<:: tflite::task::vision::FrameBuffer> Transform (
103103 const FrameBuffer& frame_buffer, const BoundingBox& roi);
104104
105105 protected:
106106 // The options used to build this ImageTransformer.
107107 std::unique_ptr<ImageTransformerOptions> options_;
108108
109109 // Post-processing to transform the raw model outputs into image results.
110- tflite::support::StatusOr<std::unique_ptr<tflite::task::vision::FrameBuffer>> Postprocess ();
110+ tflite::support::StatusOr<std::unique_ptr<:: tflite::task::vision::FrameBuffer>> Postprocess ();
111111
112112 // Performs sanity checks on the provided ImageTransformerOptions.
113113 static absl::Status SanityCheckOptions (const ImageTransformerOptions& options);
0 commit comments