toolboc/retroarch-screenshot-translator

By toolboc

Updated almost 4 years ago

Translates screenshots captured in /storage/screenshots/ to the framebuffer of fb0

Image

133

ScreenshotTranslator

Docker Pulls

Translates screenshots captured in /storage/screenshots/ to the framebuffer of fb0 using a local container instance of cognitive-services-recognize-text

ParameterDescriptionType
FontsizeControls the size of the rendered translation font (default: 25)Integer
FontFamilyControls the FontFamily used to render the translation (default: DejaVuSansMono-Bold)string
LanguageControls the Language to translate text to (currently only translates from English)string

FontFamily values are obtained from installed fonts in /usr/share/fonts/truetype/*

Valid values include:

  • DejaVuSans-Bold
  • DejaVuSans
  • DejaVuSansMono-Bold
  • DejaVuSansMono
  • DejaVuSerif-Bold
  • DejaVuSerif
  • TakaoMincho (Japanese)
  • TakaoPMincho (Japanese)
  • NanumGothicBold (Korean)
  • NanumMyeongjoBold (Korean)

Language values can be obtained from the Microsoft Text Translator Language Support Documentation

Docker Pull Command

docker pull toolboc/retroarch-screenshot-translator