Skip to content

Commit

Permalink
turn verbose off
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah committed Nov 4, 2024
1 parent 4120056 commit 2204278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/ocr.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (service OcrService) ReadImageWithEasyOcr(preparedImageBytes []byte) (strin

var textBuffer bytes.Buffer
var text string
cmd := exec.Command("easyocr", "-l", "en", "-f", tempPath, "--detail", "0", "--gpu", "0")
cmd := exec.Command("easyocr", "-l", "en", "-f", tempPath, "--detail", "0", "--gpu", "0", "--verbose", "0")
cmd.Stdout = &textBuffer

err = cmd.Run()
Expand Down

0 comments on commit 2204278

Please sign in to comment.