feat: 新增tesseract OCR服务接口

This commit is contained in:
JR
2025-08-01 15:15:17 +08:00
parent 21e354258e
commit 0e50b769e9
9 changed files with 142 additions and 202 deletions

View File

@@ -0,0 +1,14 @@
package com.klp.common.config;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Data
@Component
public class TesseractConfig {
@Value("${tesseract.data-path}")
private String datapath;
}