langchain.document_loaders.parsers.pdf.extract_from_images_with_rapidocr

langchain.document_loaders.parsers.pdf.extract_from_images_with_rapidocr(images: Sequence[Union[Iterable[ndarray], bytes]]) str[source]

Extract text from images with RapidOCR.

Parameters

images – Images to extract text from.

Returns

Text extracted from images.

Raises

ImportError – If rapidocr-onnxruntime package is not installed.