feat: set ocrCluster to default_1600 for live

This commit is contained in:
huangbin.beal
2023-10-31 14:43:55 +08:00
parent f1b51a8c62
commit b30461e90a
2 changed files with 196 additions and 0 deletions

View File

@@ -217,6 +217,10 @@ func (s *veDEMImageService) GetImage(imageBuf *bytes.Buffer, options ...ActionOp
for _, uiType := range actionOptions.ScreenShotWithUITypes {
bodyWriter.WriteField("uiTypes", uiType)
}
// 临时支持直播使用高精度集群
bodyWriter.WriteField("ocrCluster", "default_1600")
if actionOptions.ScreenShotWithOCRCluster != "" {
bodyWriter.WriteField("ocrCluster", actionOptions.ScreenShotWithOCRCluster)
}