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

com.volcengine.service.visual.model.response.VisualImageCutResponse Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.service.visual.model.response;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

@Data
public class VisualImageCutResponse extends VisualBaseResponse {
    
    @JSONField(name = "data")
    ImageCutData data;
    @Data
    public static class ImageCutData {
        @JSONField(name = "boundingbox")
        BoundingBox boundingBox;
        @Data
        public static class BoundingBox {
            @JSONField(name = "x_min")
            float xMin;
            @JSONField(name = "x_max")
            float xMax;
            @JSONField(name = "y_min")
            float yMin;
            @JSONField(name = "y_max")
            float yMax;
        }

        @JSONField(name = "image")
        ImageInfo image;
        @Data
        public static class ImageInfo {
            @JSONField(name = "url")
            String url;
            @JSONField(name = "data")
            String data;
        }

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy