image

package
v2.0.1-beta31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*kernel.BaseClient
}

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)

func (*Client) AICrop

func (comp *Client) AICrop(imgURL string, img *power.HashMap) (*response.ResponseIMGAICrop, error)

本接口提供基于小程序的图片智能裁剪能力 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/img/img.aiCrop.html

func (*Client) ScanQRCode

func (comp *Client) ScanQRCode(imgURL string, img *power.HashMap) (*response.ResponseIMGScanQRCode, error)

本接口提供基于小程序的条码/二维码识别的API https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/img/img.scanQRCode.html

func (*Client) SuperResolution

func (comp *Client) SuperResolution(imgURL string, img *power.HashMap) (*response.ResponseIMGSuperResolution, error)

本接口提供基于小程序的图片高清化能力 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/img/img.superresolution.html

func (*Client) UploadImage

func (comp *Client) UploadImage(entryPoint string, imgURL string, img *power.HashMap, result interface{}) (interface{}, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL