Vision AI V1 API - Class Google::Cloud::VisionAI::V1::RawImageDescriptor (v0.2.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::RawImageDescriptor.

The descriptor for a raw image.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#format

def format() -> ::String
Returns
  • (::String) — Raw image format. Its possible values are: "srgb".

#format=

def format=(value) -> ::String
Parameter
  • value (::String) — Raw image format. Its possible values are: "srgb".
Returns
  • (::String) — Raw image format. Its possible values are: "srgb".

#height

def height() -> ::Integer
Returns
  • (::Integer) — The height of the image.

#height=

def height=(value) -> ::Integer
Parameter
  • value (::Integer) — The height of the image.
Returns
  • (::Integer) — The height of the image.

#width

def width() -> ::Integer
Returns
  • (::Integer) — The width of the image.

#width=

def width=(value) -> ::Integer
Parameter
  • value (::Integer) — The width of the image.
Returns
  • (::Integer) — The width of the image.