feat: 新增tesseract OCR服务接口
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user