feat: add new path for recognize
This commit is contained in:
@@ -22,3 +22,10 @@ type GetFormulaTaskResponse struct {
|
||||
type FormulaRecognitionResponse struct {
|
||||
Result string `json:"result"`
|
||||
}
|
||||
|
||||
// ImageOCRResponse 图片OCR接口返回的响应
|
||||
type ImageOCRResponse struct {
|
||||
Latex string `json:"latex"` // LaTeX 格式内容
|
||||
Markdown string `json:"markdown"` // Markdown 格式内容
|
||||
MathML string `json:"mathml"` // MathML 格式(无公式时为空)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user