Pinterest Stumbleupon Whatsapp
Ads by Google

Text is normally trapped inside images. With the Project Naptha Chrome extension, you can select, copy, and edit that text with just a few clicks. It’s a quick way to copy important text from images or make your own meme. The extension uses advanced computer imaging technology — but, as a user, it feels a bit like magic.

How Does It Work?

There are multiple forms of text on the web. There’s standard text that you can copy and paste into other documents. You can use a bookmarklet Stop Installing Browser Add-ons - For a Faster, Leaner Browser Use Bookmarklets Instead Stop Installing Browser Add-ons - For a Faster, Leaner Browser Use Bookmarklets Instead Read More  or other tool to easily modify the text that appears on web pages all you like. Text in images is different. To a computer, the text in images isn’t really text — it’s just another part of the image. That’s why you can’t just easily erase or edit text in images.

Project Naptha is a Chrome extension made by Kevin Kwok. It detects the text in images so you can select, copy, and edit it. This extension will even allow you to press Ctrl+F and search inside images on the current page, but that feature is currently experimental.

select text with project naptha

This project uses the same sort of OCR (Optical Character Recognition) The 3 Best Free OCR Tools to Convert Your Files Back Into Editable Documents The 3 Best Free OCR Tools to Convert Your Files Back Into Editable Documents Believe it or not, some people still print documents to physical pieces of paper. Optical Character Recognition (OCR) software takes those printed documents and converts them right back into machine-readable text. We've found some of... Read More technology that services like Google Drive A Look At Google Drive, Google's Long-Awaited Cloud Storage Service A Look At Google Drive, Google's Long-Awaited Cloud Storage Service After more than 6 years of rumors and a long-ago cancellation because "files are so 1990", Google Drive is finally here. Coming with 5 GB of free storage space, a Dropbox-like desktop sync client, and... Read More and Microsoft OneNote Microsoft Updates OneNote With OCR, Camera Scan, Share Charm Microsoft Updates OneNote With OCR, Camera Scan, Share Charm Microsoft OneNote has now had a major update on the desktop OS that brings some cool new functions, including ‘Camera Scan’ for smart scanning and the ability to read and search scanned items. Read More use to analyze the text inside images and make it searchable. That said, Project Naptha doesn’t use traditional OCR. Instead, it uses Stroke Width Transform, which was invented by Microsoft Research in 2008. This is a bit demanding, so the extension predicts where your mouse is moving and runs the algorithm to recognize text when your cursor moves toward an image. The “inpainting” technique allows the extension to automatically fill in parts of the image when you remove or alter text, sort of like how Adobe Photoshop’s content-aware fill works.

The image processing happens mostly on your computer by default, but you can also have the images uploaded to Google’s Tesseract OCR engine for improved accuracy.

Ads by Google

Selecting and Modifying Text in Images

Install Project Naptha from the Chrome Web Store. Next, locate an image with text inside it in your web browser and mouse over it. You’ll be able to select text inside the image just as if that text were on a web page. You can right-click to copy your text to the clipboard.

The option that lets you modify text is a bit hidden. You’ll need to select text in an image, right-click that text, point to Translate, and select Modify Text. Type your new text for the image into the box that appears. Select the Erase Text option here if you’d rather just remove text from the image entirely.

modify text with project naptha

You’ll see multiple “Enter Text” boxes if the image has multiple regions of text you can edit. The result obviously won’t be perfect — the font won’t match exactly, for one thing. If text is removed from a more complex background, you may see a few graphical artifacts appear.

modify meme text in chrome

Tweaking Project Naptha

Project Naptha is an alternative to meme generator sites 5 Awesome Meme Generators On The Web 5 Awesome Meme Generators On The Web Anyone who spends any serious amount of time on the Web will be aware of Internet memes. At least those who venture into the useless-yet-entertaining side streets the Web has to offer. Those who are... Read More , allowing you to quickly modify any meme you come across before sharing it with other people. If you’d like to use Project Naptha to edit images on your computer, you’ll need to visit Chrome’s Extensions page and enable the “Allow access to file URLs” option for Project Naptha. Drag and drop the image files from your hard drive into a Chrome tab and you can then edit them.

edit local images on computer with project naptha

You can also control which text-recognition engine the extension uses and adjust other options. Right-click text in an image and you’ll see all the options you can configure with this extension.

By default it uses the Ocrad.js JavaScript What is JavaScript and How Does It Work? [Technology Explained] What is JavaScript and How Does It Work? [Technology Explained] Read More  library to run all the OCR processing on your computer, but you can also select one of the Tesseract options to have Google’s cloud-based OCR engine do the work for you. This may give you better results if the included OCR library isn’t recognizing some of the text.

select ocr engine for project naptha

Project Naptha isn’t magic — it’s just a sophisticated, easy-to-use implementation of some advanced text-recognition and image-modification techniques. If technology like this were integrated in browsers in the future, it could make images more interactive and easily searchable everywhere.

Have you tried using Project Naptha? Do you prefer it to using traditional meme-generation methods? What else could it be useful for? Share your thoughts with us in the comments below!

Image Credits: hand with a pincer Via Shutterstock

Leave a Reply

Your email address will not be published. Required fields are marked *