How to Remove Text From Images Using TextSnatcher on Linux

We independently review everything we recommend. When you buy through our links, we may earn a commission.

How to Remove Text Images TextSnatcher Linux

Some people find using CLI tools to OCR a picture to be an extremely nerve-wracking experience. TextSnatcher is the greatest graphical application available for Linux that can extract text from photos.

The ability to copy text from photos is a nifty little technique that enables you to extract a piece of information from an image. For example, you may copy a text fragment from the image or make a note of an error message that appears on the screen if you have this ability.

Because Linux does not come equipped with a built-in OCR application, you will need to use OCR readers that are not associated with Linux. However, most of these programs are command line interface (CLI) oriented, therefore they are not particularly user-friendly.

TextSnatcher will come in handy at this point. It’s a straightforward and easy-to-understand piece of software that makes it a breeze to copy text from photos when running Linux. Let’s plunge in to find out more, shall we?

What exactly is the TextSnatcher app?

TextSnatcher is simply a front-end for the Tesseract optical character recognition (OCR) engine, which is one of the most well-known OCR engines and is utilized by a variety of operating systems. Because of this, in addition to being simple to operate, the tool is brisk in its character recognition as well as precise in its results.

TextSnatcher is able to translate between a variety of tongues, including English, Chinese, Japanese, Spanish, French, German, and Arabic. Therefore, it will be simple for you to extract text from photos that contain these languages.

How to Install TextSnatcher on Linux

TextSnatcher is compatible with all of the main Linux distributions, and there are several different ways to install it on your computer. To install it on your PC, follow the instructions that are provided below.

You may download TextSnatcher from Flathub and install it on your system if it is running Ubuntu, Linux Mint, or any other distribution of Linux. To accomplish this, first check to see if your operating system supports the Flatpak format. You are able to accomplish this by launching a terminal and typing in the following command:

flatpak –version

If this gives you a version number, then Flatpak is already installed on your computer. In any other case, you will need to install it first, which you can accomplish by following our comprehensive tutorial to Flatpak.

After that, in order to install TextSnatcher, type the following command:

flatpak install flathub com.github.rajsolai.textsnatcher

On the other hand, if you are working with elementary OS, you may use the URL that is provided below to download TextSnatcher from the AppCenter.

You also have the option of compiling TextSnatcher from its source code yourself, which you may do if you so choose (perhaps because you want a certain version). If you want to proceed in this manner, you will, however, be required to additionally install the dependent components listed below:

  • granite
  • gtk+-3.0
  • gobject-2.0
  • gdk-pixbuf-2.0
  • libhandy-1
  • libportal-0.5

After you have installed them, proceed to clone the TextSnatcher repository by entering the following command into the terminal:

git clone TextSnatcher

The following methods can be used to navigate to the TextSnatcher directory:

cd TextSnatcher

Now build the program with Meson:

meson build –prefix=/usr

By using the cd command, you may navigate to the build directory:

cd build

And finally, install it by running:

sudo ninja install && com.github.rajsolai.textsnatcher

How to Make Use of the TextSnatcher

TextSnatcher is rather simple to use when it has been installed on your computer.

To get started, open the menu of available applications. The next step is to look for TextSnatcher and then to start using it. You will first be presented with a very small window for TextSnatcher. Adjust the size of this window to suit your needs in order to make it simpler for you to carry out the tasks associated with it.

The next step is to select a language that you wish to pull out of an image. To accomplish this, tap the flag symbol located in the upper left corner of the window, and then choose a language from the list of languages that are accessible.

Following the selection of the language, the following step is to provide TextSnatcher with the image from which you wish to extract text in order to complete the process. There are three distinct approaches to taking care of this matter:

  • Take Screenshot: It is a feature that enables you to take a picture of the portion of the screen that contains the text that you wish to extract.
  • Choose File: It gives you the ability to choose a file located on your computer and pull text from that file.
  • Get from Clipboard: This feature enables you to copy a picture to your clipboard and get out the text from it.

You may access these choices by pressing the Snatch Now button located on the home screen of TextSnatcher. When you do so, it will bring you the following screen with the following three options:

Take Screenshot

If you want to pull text from your screen, the quickest and easiest method to do it is to take a snapshot of the screen and then feed that screenshot into TextSnatcher so that the text can be pulled from the screenshot.

To accomplish this, click the option labeled “Take Screenshot.”

TextSnatcher will now begin the process of taking screenshots using the scrot screenshot application and will provide you with a crosshair cursor. Utilize it to sketch out the region surrounding the text you wish to extract in order to snap a screenshot of it.

Please be patient and wait just a moment. The text will be processed by TextSnatcher, and the results will be added to your clipboard. You may paste the text that you copied from the image into any note-taking application on your computer by using the keyboard shortcut Ctrl + V or by right-clicking on the blank area and selecting Paste from the context menu.

Choose File

Another option to provide TextSnatcher with a picture is to upload it to your computer. This is helpful if you have previously captured a screenshot of the material you want in text form or if you have already saved an image on your computer that contains the text you want to utilize.

To utilize this approach, you will need to click the option labeled “Choose File.”

TextSnatcher will automatically launch the file manager; when it does, select the file you wish to upload and then select Open or Ok to upload it.

TextSnatcher will read the image and copy its text to your clipboard as soon as the image has been posted. This text will be visible to you just as it was in the previous choice.

Get from Clipboard

You can also use the Get from Clipboard option to input an image into TextSnatcher and extract text from it. This works in the same way as the previous option. It is important to keep in mind, however, that the operation of this feature is currently unreliable, in particular on computers that use the X11 window manager. On occasion, we were successful in getting it to operate, while at other times, it just displayed an error message.

However, the concept behind this is not complicated at all. You will need to make a copy of the image into your clipboard before you can begin to extract text from it. After that, TextSnatcher will search through the images on your clipboard to locate the one containing text and then extract that text.

A Simple Method for Text Extraction From Images

The process of removing text from photos on Linux is made extremely simple with TextSnatcher. It delivers on its promise of lightning-fast operation and is remarkably intuitive to employ. In addition, the program’s support for several languages enables users to extract text in a variety of languages using the software, which is a very convenient feature.

TextSnatcher allows you to quickly and simply extract text from a website, PDF file, lecture notes, or videos, and store it in a note-taking application of your choice on your own computer. You may now use TextSnatcher whenever there is text on a website, PDF file, lecture notes, or videos.

On the other hand, if you prefer working with online tools, there are a few websites that you can check out instead to convert photographs to text for free. You can find these websites by searching the internet.

We will be happy to hear your thoughts

Leave a reply