Home and Learn: AI Beginners Course
Created:
Of course, there are plenty of websites out there that will allow you to upload an image and remove the background. But it's nice to keep it on your own computer. It costs nothing, there's no account to create, your images stay private, and you won't run into anyone else's rules about what you can and can't work on.
In this lesson, you'll learn how to remove an unwanted background from an image. Again, just like the previous lesson, we'll use FooocusPlus.
People remove backgrounds to make a subject stand out, fit a particular design, or reuse an image in different settings. Common reasons include:
Background removal works best when the AI can clearly tell subject from background.
Work very well with:
Struggles most with:
With that in mind, let's use FooocusPlus to remove the background from an image.
We have an AI-generated image here of a newsreader. We'd like to remove the background. Let's see how it's done.
Download this image onto your own computer:

Start your FooocusPlus, just like you did last time.
In FooocusPlus, check the Features box to toggle the option on. When you do, you'll see the following appear:

On the lefthand side, you select the image you want to change. The output image on the right will then be updated, showing you any changes that have been made.
Select your newsreader image as the input image. It will then be duplicated on the right:

Now expand the item below, Transparency & Composition. You'll see these options:
The headline feature is Remove Background. Don't toggle this just yet.
To the right of Remove Background, you have some more options - Background Masking Model and Use Alpha Matting. Click the dropdown for Background Masking Model to see the available options:

The ones you'll use most are: u2netp, u2net_human_seg,
and isnet-general-use. The default is isnet-general-use.
Background Masking Models are alternative AI models that create the cut-out mask. The white/visible part is kept, and the background becomes transparent or is replaced.
We'll look at the Use Alpha Matting option in a moment.
Select u2net_human_seg as the Background Masking Model for your newsreader. Now toggle Remove Background. FooocusPlus then gets to work removing the background:

At first glance, it's difficult to see how successful (or not) the background removal has been. What you need is a closer look at the image.
Click the button bottom right to save your image. On a Windows machine, the default location is:
C:\Users\USER_NAME\api\FooocusPlus.git\UserDir\Outputs
(Obviously, change USER_NAME to your own username.)
In the Outputs directory, you'll see folders with names in the date format. For example, 2026-11-07 (year-month-day). Double-click a date folder to see your images.
If you double-click an image, Windows opens it in its default image viewer. However, your image viewer may be set to Dark Mode. If so, you'll see something like this:

In Dark mode, you can't see if the background has been removed successfully around the edges. Fortunately, the Windows image viewer has a light mode.
Click the three dots at the top of the viewer, indicated by a red arrow in the image above. From the menu that appears, select Settings. In Settings, change the App theme to Light:

Close the Settings screen and the Windows image viewer will be in light mode:

Much better. We can now see the problem: the background has not been properly removed from the edges.
To solve this, go back to FooocusPlus. Toggle the option to Use Alpha Matting:

Unfortunately, just toggling Alpha Matting doesn't update the image. You can either click the Apply Transparency button or uncheck Remove Background and then check it again. This will force FooocusPlus to update the output image. Save your image again and double click the new version to see what it looks like in the Windows image viewer:

As you can see, the edges are much better. But not perfect. If you continue to zoom in, you'll see jaggy edges and stray grey background bits that haven't been removed. It's a bit of trial-and-error here. If it looks terrible at first, play around with the settings. There isn't a one-size-fits-all when it comes to background removal.
In the next lesson, you'll learn how to take an image with the background removed, just like the one above, and add it to a new image, all using AI. This time, we'll do some manga!
Image Overlays - a Manga Example -->
Email us: enquiry at homeandlearn.co.uk