File tree Expand file tree Collapse file tree
google/chromeos/uidetection/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Copyright 2022 Google LLC
1+ // Copyright 2023 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -47,6 +47,10 @@ message UiDetectionRequest {
4747
4848 // Indicates whether to resize the image when detecting.
4949 optional bool resize_image = 3 ;
50+
51+ // Name of the calling test, as it should appear in analytics. For example,
52+ // 'tast.uidetection.BasicDetections'.
53+ string test_id = 4 ;
5054}
5155
5256// Detection type specifies what to detect in the image.
@@ -116,6 +120,10 @@ message CustomIconDetectionRequest {
116120message UiDetectionResponse {
117121 // Locations of matching UI elements.
118122 repeated BoundingBox bounding_boxes = 1 ;
123+
124+ // Detection image PNG after all transformations have been applied. If absent,
125+ // assume the image was not transformed.
126+ bytes transformed_image_png = 2 ;
119127}
120128
121129// The location of a UI element.
You can’t perform that action at this time.
0 commit comments