langchain_community.document_loaders.parsers.pdf.extract_from_images_with_rapidocr¶

langchain_community.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 (Sequence[Union[Iterable[ndarray], bytes]]) – Images to extract text from.

Returns

Text extracted from images.

Raises

ImportError – If rapidocr-onnxruntime package is not installed.

Return type

str