Sentence or Topic Segmentation

Hey guys, I hope you are well:D. I was wondering if it is possible to use fastai as part of topic modeling or sentence segmentation.

What I mean by that is: we have images, we scan them and extract the text (we assume we have an ocr) and we classify parts of image as belonging to different section.

It would be great to receive any idea and big big thank you!