mirror of
https://github.com/geekwenjie/SmartJavaAI.git
synced 2026-09-15 22:57:26 +00:00
- 新增OCR文字识别模块:支持最新 PP-OCRv5
- OCR文本识别:支持文字方向检测与自动校正
This commit is contained in:
@@ -29,6 +29,8 @@ public class Config {
|
||||
if(StringUtils.isNotBlank(cachePath)){
|
||||
System.setProperty("DJL_CACHE_DIR", cachePath);
|
||||
}
|
||||
System.setProperty("ai.djl.default_engine", "PyTorch");
|
||||
log.info("设置默认引擎:{}", "PyTorch");
|
||||
}
|
||||
|
||||
// 设置缓存路径的方法
|
||||
|
||||
Reference in New Issue
Block a user