imgtxt was dumb

This commit is contained in:
2023-08-27 20:12:39 +05:30
parent d7fc768109
commit f7dc568f72
3 changed files with 0 additions and 47 deletions

View File

@@ -1,13 +0,0 @@
package utils
import (
"github.com/otiai10/gosseract/v2"
)
func ImgTxt(file string) (string, error) {
client := gosseract.NewClient()
defer client.Close()
client.SetImage(file)
text, err := client.Text()
return text, err
}