public abstract class ImagePdfTextExtractor extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ImagePdfTextExtractor.OcrServerHost |
| 构造器和说明 |
|---|
ImagePdfTextExtractor() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ImagePdfTextExtractor.OcrServerHost |
fetchDefaultOrrServer() |
static List<BufferedImage> |
fetchPdfImages(InputStream inputStream) |
static String |
imagePdfToText(InputStream pdfFile,
ImagePdfTextExtractor.OcrServerHost ocrServer) |
static String |
imagesToText(List<InputStream> imageFile,
ImagePdfTextExtractor.OcrServerHost ocrServer) |
static String |
imageToText(InputStream imageFile,
ImagePdfTextExtractor.OcrServerHost ocrServer) |
public static List<BufferedImage> fetchPdfImages(InputStream inputStream) throws IOException, com.itextpdf.text.DocumentException
IOExceptioncom.itextpdf.text.DocumentExceptionpublic static ImagePdfTextExtractor.OcrServerHost fetchDefaultOrrServer()
public static String imagesToText(List<InputStream> imageFile, ImagePdfTextExtractor.OcrServerHost ocrServer)
public static String imagePdfToText(InputStream pdfFile, ImagePdfTextExtractor.OcrServerHost ocrServer)
public static String imageToText(InputStream imageFile, ImagePdfTextExtractor.OcrServerHost ocrServer)
Copyright © 2025 姹熻嫃鍗楀ぇ鍏堣吘淇℃伅浜т笟鑲′唤鏈夐檺鍏徃. All rights reserved.