pyaesthetics.utils.textdetection

pyaesthetics.utils.textdetection(img)

This function uses pytesseract to get information about the presence of text in an image.

Parameters:

img (numpy.ndarray) – image to analyze, in RGB

Returns:

number of characters in the text

Return type:

int