picslate.core.convert
- picslate.core.convert(image: object, lang: str, to_lang: str, corrector: str = 'False', translator: str = 'auto', path_save: str = '', debug: bool = False, show: bool = False) object[source]
convert. translate a picture
- Parameters
image (object) – image to be translated
lang (str) – image’s language
to_lang (str) – language to be translated
corrector (str) – corrector to used, can be “False” or a dictionnary to be used from enchant library
translator (str) – translator to be used, can be a callable, “auto”, “translate” ,”argos”
path_save (str) – path to save the picture created
debug (bool) –
show (bool) – show the picture
- Return type
object