get_rectangles_number_from_raw_bytes

get_rectangles_number_from_raw_bytes function

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

size_t get_rectangles_number_from_raw_bytes(const ImageDescriptor &descriptor, areas_type type, bool all_image)

Returns: size_t