
## get_rectangles function

Detects the text areas in the image. Automatic image skew correction is not applied.

```cpp
size_t get_rectangles(const char *image_path, areas_type type, bool all_image, rect *buffer, size_t buffer_size)
```

**Returns:** size_t

