Translate Words or Image on a Page

Translate page content through OCR and Google Translate

by @pixies

Activate

Overview

Translate text from an image using OCR and language translation APIs.

Activate the Mod

  1. Activate this mod. If you're not logged into PixieBrix or have not previously created a PixieBrix account, you'll be prompted to do so before continuing the activation flow for this mod.

  2. Once logged in, use the PixieBrix Extension Console to configure this mod's two integrations.

    OCR Supreme - ✨ Built-in

    OCR integration options

    Google Translate - ✨ Built-in

    Google translate integration options with Rapid API

  3. Finish activating this mod by clicking "Activate" in the Extension Console

    purple button that says activate


Try it Out

  1. Go to a website with an image or text you want to translate. For example, you could visit this Wikipedia article.

  2. Open the Quick Bar with your configured shortcut and select the Translate with OCR option.

    Quick bar with configured actions

  3. Configure the Image and Target language in the sidebar modal. Also, use the Image Cropper to specify the page portion you want to translate.

    sidebar with fields for the target language and current language and an image cropper

  4. Finally, click "Submit" to execute the translation.
     translated text in the german and original text in English


Endless Possibilities

This is just the beginning! Once you activate your mod, the possibilities are endless. With PixieBrix, you can customize any mod to meet your needs or even build something entirely new. If you run into any trouble, need some friendly support, or want to share your creations with the world, join our PixieBrix Slack Community.


Related Tags