![JAR search and dependency download from the Maven repository](/logo.png)
com.applitools.eyes.locators.BaseOcrRegion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-sdk-core-java3 Show documentation
Show all versions of eyes-sdk-core-java3 Show documentation
Applitools Eyes SDK base for Java
The newest version!
package com.applitools.eyes.locators;
import com.applitools.eyes.AppOutput;
import com.applitools.eyes.Region;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@JsonInclude(JsonInclude.Include.NON_NULL)
public abstract class BaseOcrRegion {
private AppOutput appOutput;
@JsonIgnore
private String hint = null;
private Float minMatch;
private String language;
private Region region = null;
public BaseOcrRegion hint(String hint) {
if (hint == null || !hint.isEmpty()) {
this.hint = hint;
}
return this;
}
public BaseOcrRegion minMatch(float minMatch) {
this.minMatch = minMatch;
return this;
}
public BaseOcrRegion language(String language) {
this.language = language;
return this;
}
public BaseOcrRegion region(Region region) {
this.region = region;
return this;
}
public String getHint() {
return hint;
}
public Float getMinMatch() {
return minMatch;
}
public String getLanguage() {
return language;
}
public AppOutput getAppOutput() {
return appOutput;
}
public Region getRegion() {
return region;
}
public void setAppOutput(AppOutput appOutput) {
this.appOutput = appOutput;
}
@JsonProperty("regions")
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy