def DescribeImageStat(self, request):
    '控制台识别统计\n\n        :param request: Request instance for DescribeImageStat.\n        :type request: :class:`tencentcloud.ims.v20200713.models.DescribeImageStatRequest`\n        :rtype: :class:`tencentcloud.ims.v20200713.models.DescribeImageStatResponse`\n\n        '
    try:
        params = request._serialize()
        body = self.call('DescribeImageStat', params)
        response = json.loads(body)
        if ('Error' not in response['Response']):
            model = models.DescribeImageStatResponse()
            model._deserialize(response['Response'])
            return model
        else:
            code = response['Response']['Error']['Code']
            message = response['Response']['Error']['Message']
            reqid = response['Response']['RequestId']
            raise TencentCloudSDKException(code, message, reqid)
    except Exception as e:
        if isinstance(e, TencentCloudSDKException):
            raise
        else:
            raise TencentCloudSDKException(e.message, e.message)
控制台识别统计

:param request: Request instance for DescribeImageStat.
:type request: :class:`tencentcloud.ims.v20200713.models.DescribeImageStatRequest`
:rtype: :class:`tencentcloud.ims.v20200713.models.DescribeImageStatResponse`
def DescribeImageStat(self, request):
    '控制台识别统计\n\n        :param request: Request instance for DescribeImageStat.\n        :type request: :class:`tencentcloud.ims.v20200713.models.DescribeImageStatRequest`\n        :rtype: :class:`tencentcloud.ims.v20200713.models.DescribeImageStatResponse`\n\n        '
    try:
        params = request._serialize()
        body = self.call('DescribeImageStat', params)
        response = json.loads(body)
        if ('Error' not in response['Response']):
            model = models.DescribeImageStatResponse()
            model._deserialize(response['Response'])
            return model
        else:
            code = response['Response']['Error']['Code']
            message = response['Response']['Error']['Message']
            reqid = response['Response']['RequestId']
            raise TencentCloudSDKException(code, message, reqid)
    except Exception as e:
        if isinstance(e, TencentCloudSDKException):
            raise
        else:
            raise TencentCloudSDKException(e.message, e.message)