Documentation ¶
Index ¶
- type Client
- func (comp *Client) BankCard(path string) (*response.ResponseOCRBankCard, error)
- func (comp *Client) BizLicense(path string) (*response.ResponseOCRBizLicense, error)
- func (comp *Client) Common(path string) (*response.ResponseOCRCommon, error)
- func (comp *Client) Driving(path string) (*response.ResponseOCRDriving, error)
- func (comp *Client) IDCard(path string, IDType string) (*response.ResponseOCRIDCard, error)
- func (comp *Client) PlateNumber(path string) (*response.ResponseOCRPlateNumber, error)
- func (comp *Client) VehicleLicense(path string) (*response.ResponseOCRVehicleLicense, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *kernel.BaseClient AllowTypes []string }
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) *Client
func (*Client) BankCard ¶
func (comp *Client) BankCard(path string) (*response.ResponseOCRBankCard, error)
银行卡 OCR 识别接口 https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html
func (*Client) BizLicense ¶
func (comp *Client) BizLicense(path string) (*response.ResponseOCRBizLicense, error)
营业执照 OCR 识别接口 https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html
func (*Client) Common ¶
func (comp *Client) Common(path string) (*response.ResponseOCRCommon, error)
通用印刷体 OCR 识别接口 https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html
func (*Client) Driving ¶
func (comp *Client) Driving(path string) (*response.ResponseOCRDriving, error)
驾驶证 OCR 识别接口 https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html
func (*Client) IDCard ¶
身份证 OCR 识别接口 https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html
func (*Client) PlateNumber ¶
func (comp *Client) PlateNumber(path string) (*response.ResponseOCRPlateNumber, error)
车牌识别接口 https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html
func (*Client) VehicleLicense ¶
func (comp *Client) VehicleLicense(path string) (*response.ResponseOCRVehicleLicense, error)
驾驶证 OCR 识别接口 https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html