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

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

Message describing PersonVehicleDetectionConfig.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enable_people_counting

def enable_people_counting() -> ::Boolean
Returns
  • (::Boolean) — At least one of enable_people_counting and enable_vehicle_counting fields must be set to true. Whether to count the appearances of people, output counts have 'people' as the key.

#enable_people_counting=

def enable_people_counting=(value) -> ::Boolean
Parameter
  • value (::Boolean) — At least one of enable_people_counting and enable_vehicle_counting fields must be set to true. Whether to count the appearances of people, output counts have 'people' as the key.
Returns
  • (::Boolean) — At least one of enable_people_counting and enable_vehicle_counting fields must be set to true. Whether to count the appearances of people, output counts have 'people' as the key.

#enable_vehicle_counting

def enable_vehicle_counting() -> ::Boolean
Returns
  • (::Boolean) — Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key.

#enable_vehicle_counting=

def enable_vehicle_counting=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key.
Returns
  • (::Boolean) — Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key.