I believe everyone inevitably needs to do some image processing in their work, and image extraction is the most basic operation.
Although it is not difficult, every time you have to open tools like Photoshop to perform a series of operations, especially when you don't need such precise image extraction, using Photoshop still feels like "using a cannon to kill a mosquito."
It wastes time and energy.
Today, I will introduce a tool called Magic Copy that allows you to directly extract images in your browser. It is incredibly convenient!
Project Introduction
Magic Copy is a tool that allows you to extract images directly in your browser. It supports Chrome and Firefox and has already received 1.8k stars.
This tool uses Meta AI's Segment Anything Model (SAM) AI model, which can easily extract the desired parts of an image with excellent results.
Project Installation
Here, I will demonstrate the installation process using the Chrome browser. There are two installation methods:
Method 1: Search for Magic Copy in the application store and install it directly.
Method 2:
-
Download magic-copy.zip from the project's releases page and extract it.
-
Open the Chrome browser and enter "chrome://extensions/" in the address bar. Enable developer mode and load the extracted files.
Demo Effect
After installation, randomly select an image in the browser, right-click, and select Magic Copy.
Then, you will enter the image extraction interface. Use the left mouse button to select the part of the image you want to extract. For example, in the image below, the green dinosaur, the tool will automatically select the entire body of the dinosaur.
Then, in the upper right corner, you can choose to copy the image to the clipboard or download it directly to your local device.
If you want to extract other shapes as well, you can use the left mouse button to make multiple selections and use the undo button until you are satisfied with the selection. Click "Preview" to see the extraction effect.
Project Summary
Based on my experience, Magic Copy is a very convenient tool to use. It can be done with just one click, and the extraction results are excellent. It is perfect for scenarios where precise image extraction is not required. It is highly recommended for everyone to use.
The project also supports local deployment. If you are interested, you can explore the project at the following address: