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

com.visenze.visearch.internal.json.ImageResultMixin Maven / Gradle / Ivy

There is a newer version: 1.14.5
Show newest version
package com.visenze.visearch.internal.json;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Map;

@JsonIgnoreProperties(ignoreUnknown = true)
abstract class ImageResultMixin {

    protected String imName;
    protected Map metadata;
    protected Float score;

    public ImageResultMixin(@JsonProperty("im_name") String imName,
                            @JsonProperty("value_map") Map metadata,
                            @JsonProperty("score") Float score) {
        this.imName = imName;
        this.metadata = metadata;
        this.score = score;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy