
clarifai2.dto.model.DetectionModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Clarifai Java API Client
The newest version!
package clarifai2.dto.model;
import clarifai2.dto.model.output_info.DetectionOutputInfo;
import clarifai2.dto.prediction.Detection;
import com.google.auto.value.AutoValue;
import org.jetbrains.annotations.NotNull;
@SuppressWarnings("NullableProblems")
@AutoValue
public abstract class DetectionModel extends Model {
DetectionModel() {}
@NotNull @Override public final ModelType modelType() { return modelTypeStatic(); }
public static ModelType modelTypeStatic() { return ModelType.DETECT_CONCEPT; }
@SuppressWarnings("ConstantConditions")
@NotNull
@Override
public final DetectionOutputInfo outputInfo() {
return (DetectionOutputInfo) super.outputInfo();
}
@AutoValue.Builder
public interface Builder extends Model.Builder {
@NotNull @Override DetectionModel build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy