All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.vision.v1.CropHintsParamsOrBuilder Maven / Gradle / Ivy

There is a newer version: 3.47.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/vision/v1/image_annotator.proto

package com.google.cloud.vision.v1;

public interface CropHintsParamsOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.CropHintsParams)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Aspect ratios in floats, representing the ratio of the width to the height
   * of the image. For example, if the desired aspect ratio is 4/3, the
   * corresponding float value should be 1.33333.  If not specified, the
   * best possible crop is returned. The number of provided aspect ratios is
   * limited to a maximum of 16; any aspect ratios provided after the 16th are
   * ignored.
   * 
* * repeated float aspect_ratios = 1; */ java.util.List getAspectRatiosList(); /** *
   * Aspect ratios in floats, representing the ratio of the width to the height
   * of the image. For example, if the desired aspect ratio is 4/3, the
   * corresponding float value should be 1.33333.  If not specified, the
   * best possible crop is returned. The number of provided aspect ratios is
   * limited to a maximum of 16; any aspect ratios provided after the 16th are
   * ignored.
   * 
* * repeated float aspect_ratios = 1; */ int getAspectRatiosCount(); /** *
   * Aspect ratios in floats, representing the ratio of the width to the height
   * of the image. For example, if the desired aspect ratio is 4/3, the
   * corresponding float value should be 1.33333.  If not specified, the
   * best possible crop is returned. The number of provided aspect ratios is
   * limited to a maximum of 16; any aspect ratios provided after the 16th are
   * ignored.
   * 
* * repeated float aspect_ratios = 1; */ float getAspectRatios(int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy