Documentation ¶
Index ¶
Constants ¶
View Source
const ApiPrefixUrl = "https://aip.baidubce.com"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessToken ¶
type AccessToken struct { AcsToken string `json:"access_token"` RefToken string `json:"refresh_token"` AcsExpireIn int64 `json:"expires_in"` }
func (AccessToken) GetAccessToken ¶
func (a AccessToken) GetAccessToken() access.Value
func (AccessToken) GetRefAccessToken ¶
func (a AccessToken) GetRefAccessToken() access.Value
type PersonInfo ¶
type PersonResult ¶
type PersonResult struct { LabelMap string `json:"labelmap"` ScoreMap string `json:"scoremap"` ForeGround string `json:"foreground"` PersonNum int `json:"person_num"` PersonInfo []PersonInfo `json:"person_info"` }
type WordsResult ¶
type WordsResult struct { Words []Words `json:"words_result"` WordsLen int `json:"words_result_num"` }
func AccurateBasic ¶
AccurateBasic 通用文字识别(高精度版) https://ai.baidu.com/ai-doc/OCR/1k3h7y3db
func GeneralBasic ¶
GeneralBasic 通用文字识别(标准版) https://ai.baidu.com/ai-doc/OCR/zk3h7xz52
Click to show internal directories.
Click to hide internal directories.