mirror of
https://github.com/geekwenjie/SmartJavaAI.git
synced 2026-09-17 23:52:45 +00:00
- 新增OCR文字识别模块:支持最新 PP-OCRv5
- OCR文本识别:支持文字方向检测与自动校正
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package cn.smartjavaai.ocr.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* OCR信息
|
||||
* @author dwj
|
||||
* @date 2025/5/20
|
||||
*/
|
||||
@Data
|
||||
public class OcrInfo {
|
||||
|
||||
private List<List<OcrItem>> lineList;
|
||||
|
||||
private String fullText;
|
||||
|
||||
|
||||
public OcrInfo(List<List<OcrItem>> lineList, String fullText) {
|
||||
this.lineList = lineList;
|
||||
this.fullText = fullText;
|
||||
}
|
||||
public OcrInfo() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user