build(deps): 添加 Windows 平台 OCR 依赖并优化文件操作

- 在 pom.xml 中添加 rapidocr-onnx-windows-x86_64 依赖,版本 1.2.2
- 在 FileUploadResource.java 中移除未使用的 Paths 导入
This commit is contained in:
user 2025-03-15 00:01:58 +08:00
parent db274b79bb
commit cc84530889
2 changed files with 5 additions and 1 deletions

View File

@ -114,6 +114,11 @@
<artifactId>rapidocr-onnx-platform</artifactId>
<version>0.0.7</version>
</dependency>
<dependency>
<groupId>io.github.mymonstercat</groupId>
<artifactId>rapidocr-onnx-windows-x86_64</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>io.github.mymonstercat</groupId>

View File

@ -6,7 +6,6 @@ import io.github.mymonstercat.Model;
import io.github.mymonstercat.ocr.InferenceEngine;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;