def _get_font(self): ''' The function get size of font for image with given size :return: font for drawing ''' return sly_font.get_font( font_size=sly_font.get_readable_font_size(self.img_size))
def _get_font(self): return sly_font.get_font( font_size=sly_font.get_readable_font_size(self.img_size))