refactor: move IOCRService to IImageService

This commit is contained in:
lilong.129
2023-05-31 12:08:54 +08:00
parent 9d78c52713
commit aafff8de9d
3 changed files with 40 additions and 48 deletions
+2 -2
View File
@@ -10,11 +10,11 @@ import (
)
func checkOCR(buff *bytes.Buffer) error {
service, err := newVEDEMOCRService()
service, err := newVEDEMImageService()
if err != nil {
return err
}
imageResult, err := service.getImageResult(buff)
imageResult, err := service.GetImage(buff)
if err != nil {
return err
}