# extract_from_images_with_rapidocr

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/parsers/pdf/extract_from_images_with_rapidocr)

Extract text from images with RapidOCR.

## Signature

```python
extract_from_images_with_rapidocr(
    images: Sequence[Union[Iterable[np.ndarray], bytes]],
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `images` | `Sequence[Union[Iterable[np.ndarray], bytes]]` | Yes | Images to extract text from. |

## Returns

`str`

Text extracted from images.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/document_loaders/parsers/pdf.py#L64)