docs: add examples for API

This commit is contained in:
debugtalk
2022-11-25 21:38:58 +08:00
parent e745f4fdea
commit 0e8ce507c4
5 changed files with 319 additions and 10 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ func (s *veDEMOCRService) GetTexts(imageBuf *bytes.Buffer, options ...DataOption
if err != nil {
return nil, errors.Wrap(err, "save screenshot failed")
}
log.Info().Str("path", path).Msg("save screenshot")
log.Debug().Str("path", path).Msg("save screenshot")
}
for _, ocrResult := range ocrResults {