3232 * </note>
3333 * <p>
3434 * You pass the input and target images either as base64-encoded image bytes or
35- * as a references to images in an Amazon S3 bucket. If you use the Amazon CLI
36- * to call Amazon Rekognition operations, passing image bytes is not supported.
37- * The image must be either a PNG or JPEG formatted file.
35+ * as references to images in an Amazon S3 bucket. If you use the AWS CLI to
36+ * call Amazon Rekognition operations, passing image bytes isn't supported. The
37+ * image must be formatted as a PNG or JPEG file.
3838 * </p>
3939 * <p>
4040 * In response, the operation returns an array of face matches ordered by
@@ -91,6 +91,12 @@ public class CompareFacesRequest extends AmazonWebServiceRequest implements Seri
9191 * AWS CLI to call Amazon Rekognition operations, passing base64-encoded
9292 * image bytes is not supported.
9393 * </p>
94+ * <p>
95+ * If you are using an AWS SDK to call Amazon Rekognition, you might not
96+ * need to base64-encode image bytes passed using the <code>Bytes</code>
97+ * field. For more information, see Images in the Amazon Rekognition
98+ * developer guide.
99+ * </p>
94100 */
95101 private Image sourceImage ;
96102
@@ -100,6 +106,12 @@ public class CompareFacesRequest extends AmazonWebServiceRequest implements Seri
100106 * AWS CLI to call Amazon Rekognition operations, passing base64-encoded
101107 * image bytes is not supported.
102108 * </p>
109+ * <p>
110+ * If you are using an AWS SDK to call Amazon Rekognition, you might not
111+ * need to base64-encode image bytes passed using the <code>Bytes</code>
112+ * field. For more information, see Images in the Amazon Rekognition
113+ * developer guide.
114+ * </p>
103115 */
104116 private Image targetImage ;
105117
@@ -132,11 +144,23 @@ public CompareFacesRequest() {
132144 * you use the AWS CLI to call Amazon Rekognition operations,
133145 * passing base64-encoded image bytes is not supported.
134146 * </p>
147+ * <p>
148+ * If you are using an AWS SDK to call Amazon Rekognition, you
149+ * might not need to base64-encode image bytes passed using the
150+ * <code>Bytes</code> field. For more information, see Images in
151+ * the Amazon Rekognition developer guide.
152+ * </p>
135153 * @param targetImage <p>
136154 * The target image as base64-encoded bytes or an S3 object. If
137155 * you use the AWS CLI to call Amazon Rekognition operations,
138156 * passing base64-encoded image bytes is not supported.
139157 * </p>
158+ * <p>
159+ * If you are using an AWS SDK to call Amazon Rekognition, you
160+ * might not need to base64-encode image bytes passed using the
161+ * <code>Bytes</code> field. For more information, see Images in
162+ * the Amazon Rekognition developer guide.
163+ * </p>
140164 */
141165 public CompareFacesRequest (Image sourceImage , Image targetImage ) {
142166 setSourceImage (sourceImage );
@@ -149,12 +173,24 @@ public CompareFacesRequest(Image sourceImage, Image targetImage) {
149173 * AWS CLI to call Amazon Rekognition operations, passing base64-encoded
150174 * image bytes is not supported.
151175 * </p>
176+ * <p>
177+ * If you are using an AWS SDK to call Amazon Rekognition, you might not
178+ * need to base64-encode image bytes passed using the <code>Bytes</code>
179+ * field. For more information, see Images in the Amazon Rekognition
180+ * developer guide.
181+ * </p>
152182 *
153183 * @return <p>
154184 * The input image as base64-encoded bytes or an S3 object. If you
155185 * use the AWS CLI to call Amazon Rekognition operations, passing
156186 * base64-encoded image bytes is not supported.
157187 * </p>
188+ * <p>
189+ * If you are using an AWS SDK to call Amazon Rekognition, you might
190+ * not need to base64-encode image bytes passed using the
191+ * <code>Bytes</code> field. For more information, see Images in the
192+ * Amazon Rekognition developer guide.
193+ * </p>
158194 */
159195 public Image getSourceImage () {
160196 return sourceImage ;
@@ -166,12 +202,24 @@ public Image getSourceImage() {
166202 * AWS CLI to call Amazon Rekognition operations, passing base64-encoded
167203 * image bytes is not supported.
168204 * </p>
205+ * <p>
206+ * If you are using an AWS SDK to call Amazon Rekognition, you might not
207+ * need to base64-encode image bytes passed using the <code>Bytes</code>
208+ * field. For more information, see Images in the Amazon Rekognition
209+ * developer guide.
210+ * </p>
169211 *
170212 * @param sourceImage <p>
171213 * The input image as base64-encoded bytes or an S3 object. If
172214 * you use the AWS CLI to call Amazon Rekognition operations,
173215 * passing base64-encoded image bytes is not supported.
174216 * </p>
217+ * <p>
218+ * If you are using an AWS SDK to call Amazon Rekognition, you
219+ * might not need to base64-encode image bytes passed using the
220+ * <code>Bytes</code> field. For more information, see Images in
221+ * the Amazon Rekognition developer guide.
222+ * </p>
175223 */
176224 public void setSourceImage (Image sourceImage ) {
177225 this .sourceImage = sourceImage ;
@@ -184,6 +232,12 @@ public void setSourceImage(Image sourceImage) {
184232 * image bytes is not supported.
185233 * </p>
186234 * <p>
235+ * If you are using an AWS SDK to call Amazon Rekognition, you might not
236+ * need to base64-encode image bytes passed using the <code>Bytes</code>
237+ * field. For more information, see Images in the Amazon Rekognition
238+ * developer guide.
239+ * </p>
240+ * <p>
187241 * Returns a reference to this object so that method calls can be chained
188242 * together.
189243 *
@@ -192,6 +246,12 @@ public void setSourceImage(Image sourceImage) {
192246 * you use the AWS CLI to call Amazon Rekognition operations,
193247 * passing base64-encoded image bytes is not supported.
194248 * </p>
249+ * <p>
250+ * If you are using an AWS SDK to call Amazon Rekognition, you
251+ * might not need to base64-encode image bytes passed using the
252+ * <code>Bytes</code> field. For more information, see Images in
253+ * the Amazon Rekognition developer guide.
254+ * </p>
195255 * @return A reference to this updated object so that method calls can be
196256 * chained together.
197257 */
@@ -206,12 +266,24 @@ public CompareFacesRequest withSourceImage(Image sourceImage) {
206266 * AWS CLI to call Amazon Rekognition operations, passing base64-encoded
207267 * image bytes is not supported.
208268 * </p>
269+ * <p>
270+ * If you are using an AWS SDK to call Amazon Rekognition, you might not
271+ * need to base64-encode image bytes passed using the <code>Bytes</code>
272+ * field. For more information, see Images in the Amazon Rekognition
273+ * developer guide.
274+ * </p>
209275 *
210276 * @return <p>
211277 * The target image as base64-encoded bytes or an S3 object. If you
212278 * use the AWS CLI to call Amazon Rekognition operations, passing
213279 * base64-encoded image bytes is not supported.
214280 * </p>
281+ * <p>
282+ * If you are using an AWS SDK to call Amazon Rekognition, you might
283+ * not need to base64-encode image bytes passed using the
284+ * <code>Bytes</code> field. For more information, see Images in the
285+ * Amazon Rekognition developer guide.
286+ * </p>
215287 */
216288 public Image getTargetImage () {
217289 return targetImage ;
@@ -223,12 +295,24 @@ public Image getTargetImage() {
223295 * AWS CLI to call Amazon Rekognition operations, passing base64-encoded
224296 * image bytes is not supported.
225297 * </p>
298+ * <p>
299+ * If you are using an AWS SDK to call Amazon Rekognition, you might not
300+ * need to base64-encode image bytes passed using the <code>Bytes</code>
301+ * field. For more information, see Images in the Amazon Rekognition
302+ * developer guide.
303+ * </p>
226304 *
227305 * @param targetImage <p>
228306 * The target image as base64-encoded bytes or an S3 object. If
229307 * you use the AWS CLI to call Amazon Rekognition operations,
230308 * passing base64-encoded image bytes is not supported.
231309 * </p>
310+ * <p>
311+ * If you are using an AWS SDK to call Amazon Rekognition, you
312+ * might not need to base64-encode image bytes passed using the
313+ * <code>Bytes</code> field. For more information, see Images in
314+ * the Amazon Rekognition developer guide.
315+ * </p>
232316 */
233317 public void setTargetImage (Image targetImage ) {
234318 this .targetImage = targetImage ;
@@ -241,6 +325,12 @@ public void setTargetImage(Image targetImage) {
241325 * image bytes is not supported.
242326 * </p>
243327 * <p>
328+ * If you are using an AWS SDK to call Amazon Rekognition, you might not
329+ * need to base64-encode image bytes passed using the <code>Bytes</code>
330+ * field. For more information, see Images in the Amazon Rekognition
331+ * developer guide.
332+ * </p>
333+ * <p>
244334 * Returns a reference to this object so that method calls can be chained
245335 * together.
246336 *
@@ -249,6 +339,12 @@ public void setTargetImage(Image targetImage) {
249339 * you use the AWS CLI to call Amazon Rekognition operations,
250340 * passing base64-encoded image bytes is not supported.
251341 * </p>
342+ * <p>
343+ * If you are using an AWS SDK to call Amazon Rekognition, you
344+ * might not need to base64-encode image bytes passed using the
345+ * <code>Bytes</code> field. For more information, see Images in
346+ * the Amazon Rekognition developer guide.
347+ * </p>
252348 * @return A reference to this updated object so that method calls can be
253349 * chained together.
254350 */
0 commit comments