[][src]Struct rusoto_rekognition::DetectLabelsRequest

pub struct DetectLabelsRequest {
    pub image: Image,
    pub max_labels: Option<i64>,
    pub min_confidence: Option<f32>,
}

Fields

image: Image

The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. Images stored in an S3 Bucket do not need to be base64-encoded.

If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

max_labels: Option<i64>

Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels.

min_confidence: Option<f32>

Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value.

If MinConfidence is not specified, the operation returns labels with a confidence values greater than or equal to 55 percent.

Trait Implementations

impl PartialEq<DetectLabelsRequest> for DetectLabelsRequest[src]

impl Default for DetectLabelsRequest[src]

impl Clone for DetectLabelsRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DetectLabelsRequest[src]

impl Serialize for DetectLabelsRequest[src]

Auto Trait Implementations

impl Send for DetectLabelsRequest

impl Sync for DetectLabelsRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self