def __init__(self):
		RpcRequest.__init__(self, 'visionai', '2019-10-24', 'DetectMultiObject','visionai')
		self.set_method('POST')
		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
示例#2
0
 def __init__(self):
     RpcRequest.__init__(self, 'visionai', '2019-10-24',
                         'SegmentProdcategory', 'visionai')
     self.set_method('POST')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())
 def __init__(self):
     RpcRequest.__init__(self, 'visionai', '2019-10-24', 'RecognizeVehicle',
                         'visionai')
     self.set_method('POST')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())