com.testsigma.sdk.OCR Maven / Gradle / Ivy
package com.testsigma.sdk;
import java.io.File;
import java.util.List;
import java.util.Map;
public interface OCR {
public List extractTextFromPage();
public List extractTextFromImage(OCRImage image);
public List extractTextFromElement(Element element);
public FindImageResponse findImage(String imageURl, Float threshold);
public FindImageResponse findImage(String imageUrl);
public FindImageResponse findImage(String imageUrl, Float threshold, Integer scale);
public FindImageResponse findImage(String imageUrl, Integer occurrence);
public FindImageResponse findImage(String imageUrl, Integer occurrence, Float threshold);
public void uploadFile(String s3SignedURL, File baseImageFile);
public Map> extractTextAndSentencesFromImage(OCRImage image);
public Map> extractTextAndSentencesFromImage();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy