chore: migrate and structure cmbone project
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package services
|
||||
|
||||
import (
|
||||
"cmbone/platform"
|
||||
)
|
||||
|
||||
type OCRService struct{}
|
||||
|
||||
// 识别Base64图片(data:image/png;base64,...)
|
||||
func (o *OCRService) RecognizeImageBase64(base64str string) (string, error) {
|
||||
return platform.RecognizeImageBase64(base64str)
|
||||
}
|
||||
Reference in New Issue
Block a user