Documentation
¶
Index ¶
- func ReadImage(imagePath string) (string, error)
- func ReadImageWithAccuracy(imagePath, groundTruth string) (string, float64, error)
- func ReadImageWithModel(imagePath, modelPath, charset string) (string, error)
- func ReadImages(imagePaths []string) ([]string, error)
- func ReadPDF(pdfPath string) ([]string, error)
- func ReadPDFs(pdfPaths []string) ([][]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadImage ¶
ReadImage recognizes text from an image file. It automatically downloads the model if not present.
func ReadImageWithAccuracy ¶
ReadImageWithAccuracy recognizes text and calculates accuracy against ground truth.
func ReadImageWithModel ¶
ReadImageWithModel allows specifying custom model and charset paths.
func ReadImages ¶
ReadImages recognizes text from multiple image files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.