get_rectangles_from_raw_bytes

get_rectangles_from_raw_bytes function

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

size_t get_rectangles_from_raw_bytes(const ImageDescriptor &descriptor, areas_type type, bool all_image, rect *buffer, size_t buffer_size)

Returns: size_t