change: make ocr as optional build tags

This commit is contained in:
debugtalk
2022-09-21 17:27:54 +08:00
parent d4311fa1a0
commit be41ec8fd7
8 changed files with 65 additions and 33 deletions
+10
View File
@@ -0,0 +1,10 @@
//go:build !ocr
package uixt
import "github.com/rs/zerolog/log"
func (dExt *DriverExt) FindTextByOCR(ocrText string) (x, y, width, height float64, err error) {
log.Fatal().Msg("OCR is not supported")
return
}