get_rectangles_number

get_rectangles_number function

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

size_t get_rectangles_number(const char *image_path, areas_type type, bool all_image)

Returns: size_t