All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.greenback.kit.vision.VisionAnnotation Maven / Gradle / Ivy

There is a newer version: 1.0.39
Show newest version
package com.greenback.kit.vision;

import java.util.List;

public class VisionAnnotation {
 
    private String id;
    private String text;
    private List bounds;
    private List spans;
    
    public String getType() {
        return "text";
    }
   
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    
    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
    
    public List getBounds() {
        return bounds;
    }

    public void setBounds(List bounds) {
        this.bounds = bounds;
    }

    public List getSpans() {
        return spans;
    }

    public void setSpans(List spans) {
        this.spans = spans;
    }
    
    @Override
    public String toString() {
        return this.getType() + ": " + this.text;
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy