zouyu
2025-09-26 3fbbfcc8f509c352c58dc8a126220b49b72ed5a0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.xindao.ocr.smartjavaai.entity;
 
import ai.djl.modality.cv.Image;
import ai.djl.ndarray.NDArray;
/**
 * 图像信息
 */
public class ImageInfo {
    private String name;
    private Double prob;
    private Image image;
    private NDArray box;
 
    public ImageInfo(Image image, NDArray box) {
        this.image = image;
        this.box = box;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public Double getProb() {
        return prob;
    }
 
    public void setProb(Double prob) {
        this.prob = prob;
    }
 
    public Image getImage() {
        return image;
    }
 
    public void setImage(Image image) {
        this.image = image;
    }
 
    public NDArray getBox() {
        return box;
    }
 
    public void setBox(NDArray box) {
        this.box = box;
    }
}