切り抜きや背景透過・学習素材集めのお供に最適!Transparent-Backgroundが超高性能なので使ってみよう!ほか拡張機能の紹介【Stable Diffusion】

テルルとロビン【てるろび】旧やすらぼ
3 Jun 202311:06

TLDRIn this informative video, the creators compare various masking and background removal tools, highlighting Transparent-Background by Plemeri and its ease of use through command line. They also discuss the impact of mask accuracy on work efficiency and explore expansion functions like ABG Remover and PBRemTools within Automatic1111. The video demonstrates how different tools handle line art, portraits, and photo-like illustrations, offering insights for users to choose the best tool for their needs. Additionally, they introduce InPaint Upload for changing backgrounds while preserving masked characters, showcasing its potential for creative applications.

Takeaways

  • 🎨 The video discusses a comparison of masking tools for illustrations, emphasizing the importance of accurate masks in various applications.
  • 🚀 EBsynth-Utility was introduced as a tool that supports rotoscoping and provides high accuracy in mask creation, particularly around intricate details like ears.
  • 🔍 Transparent-Background by Plemeri is highlighted as a convenient and efficient tool for background removal, which can be installed individually and used on the command line.
  • 📦 Installation of Transparent-Background is straightforward, requiring only the command 'PIP Install Transparent-background' in a global environment.
  • 🖌️ Transparent-Background offers options to create masks with different background colors (black, green, white) and supports batch processing for multiple images.
  • 🎥 The tool can also process videos, removing backgrounds to create collage materials, showcasing its versatility.
  • 🌐 The video introduces other masking expansion functions like ABG Remover, Anime Segmentation, PBRemTools, and WebUI-RemBG, each with unique features and applications.
  • 🔧 PBRemTools and ABG Remover are noted for their ability to generate masks and replace custom colors with desired backgrounds.
  • 🔎 A comparison of the masking tools is presented using different types of illustrations to demonstrate their effectiveness in various scenarios.
  • 🛠️ The video concludes with a brief introduction on how to use masks with I2i's InPaint Upload for changing backgrounds while keeping the original character intact.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is a comparison of different masking tools and background removal techniques for illustrations.

  • What was the expansion function introduced in the last video?

    -The expansion function introduced in the last video is called EBsynth-Utility, which supports the production of V2V (Version 2 Video) and can be used to easily create a rotoscope.

  • How does the accuracy of mask creation in Stage 1 using EBsynth-Utility compare to other tools?

    -The mask creation in Stage 1 using EBsynth-Utility is very accurate, perfectly tracing the edges such as the ears, whereas other tools may result in less precise outcomes.

  • What program was referred to for the creation of masks?

    -The program referred to for mask creation is Transparent-Background by Plemeri.

  • How can Transparent-Background be installed?

    -Transparent-Background can be installed by typing 'PIP Install Transparent-background' in the command prompt or PowerShell.

  • What are the different background options available with Transparent-Background?

    -With Transparent-Background, you can create a mask with a black background using '--type map', or specify '--type green' for a green background or '--type white' for a white background.

  • Can Transparent-Background handle batch processing?

    -Yes, Transparent-Background supports batch processing, allowing you to process multiple images at once and output them to a specified folder.

  • What is the significance of the performance of the masking function in the workflow?

    -The performance of the masking function greatly affects the efficiency of the work, as it can automate the process of removing backgrounds, which is often necessary for creating icons, poems, or games.

  • How does the video demonstrate the use of Transparent-Background for video files?

    -The video shows that if you specify a video in the source when using Transparent-Background, the background of the video can be removed, making it easy to create collage materials.

  • What are some of the expansion functions for background removal mentioned in the video?

    -Some of the expansion functions for background removal mentioned in the video include ABG Remover, Anime Segmentation, PBRemTools, and WebUI-RemBG.

  • How can the mask created with these tools be utilized?

    -The masks created with these tools can be used to change the background of an image or video while maintaining the character from the original, as demonstrated by using I2i's InPaint Upload function.

Outlines

00:00

🎨 Introduction to Masking and Background Removal Tools

The video begins with an introduction to masking in illustration creation, highlighting the importance of accurate mask creation for efficiency in various applications such as game development or poetry. The speaker discusses their experience with the EBsynth-Utility expansion function for rotoscoping and compares it with other tools. They express curiosity about the Transparent-Background program by Plemeri, which they found convenient for installation and use. The video aims to introduce Transparent-Background and other Automatic1111 masking and background removal functions, emphasizing the impact of mask performance on work efficiency.

05:02

🛠️ Exploring Transparent-Background and PBRemTools

The speaker delves into the specifics of the Transparent-Background tool, demonstrating its command-line operation for background removal and mask creation. They compare the results with other tools like EBsynth-Utility and discuss the tool's batch processing capabilities. The video also introduces PBRemTools, a web UI-based program with various masking functions similar to ABG Remover, and discusses its features, including the ability to process images and videos. The speaker then compares different masking tools using various types of illustrations to showcase their effectiveness.

10:04

🌟 Utilizing Masks for Character Extraction and Background Changes

The video concludes with a discussion on how to utilize masks beyond simple background removal. The speaker introduces the InPaint Upload function for still images, which allows for changing backgrounds while maintaining the masked character from the original image. They demonstrate the process of using InPaint Upload to generate a new background, incorporating a cyberpunk-style image into the example. The video encourages viewers to make good use of the introduced tools and functions for efficient and creative work with illustrations and backgrounds.

Mindmap

Keywords

💡Masking

Masking is the process of removing the background or isolating specific elements from an image or illustration. In the context of the video, it's crucial for efficiency in work, especially when preparing materials for projects like poems or games. The video compares different masking tools and their accuracy in tracing the edges of illustrations, such as ears and hair, to achieve a clean result.

💡EBsynth-Utility

EBsynth-Utility is an expansion function introduced in the video that supports the production of V2V (Vector to Vector) and aids in the creation of rotoscopes. It is noted for its precision in mask creation, particularly in tracing the edges of illustrations accurately.

💡Transparent-Background

Transparent-Background is a program by Plemeri that facilitates the removal of image backgrounds. It is highlighted for its convenience and ease of use, as it can be installed individually and operated via command line, making it suitable for batch processing of images.

💡Rotoscope

A rotoscope is a technique used in video editing and animation to create a mask around a subject in each frame of a video, allowing for selective editing or compositing. In the video, the EBsynth-Utility is mentioned as a tool that can simplify the rotoscoping process.

💡GitHub

GitHub is a web-based hosting service for version control and collaboration that is used by developers to store, manage, and collaborate on code. In the video, GitHub is mentioned as the platform where the Transparent-Background program can be found and installed.

💡PIP

PIP is a package installer for Python that allows users to install and manage software packages. In the video, PIP is used to install the Transparent-Background program globally on the computer.

💡Command Line

The command line is a text-based interface used to interact with a computer system by typing commands. In the video, the command line is utilized to operate the Transparent-Background tool and demonstrate its background removal capabilities.

💡Batch Processing

Batch processing refers to the ability to execute a series of tasks or programs without individual intervention. In the video, it is mentioned as a feature of Transparent-Background that allows for the simultaneous processing of multiple images to remove backgrounds or create masks.

💡ABG Remover

ABG Remover is a background removal function that can be used as a script for T2i and I2i. It is known for its ability to implement background removal and replace a custom color with a background of the user's choice.

💡Anime Segmentation

Anime Segmentation is an online tool based on Hugging Face that allows users to create masks for illustrations. It is implemented in the web UI and offers the same functionality as the standalone version.

💡PBRemTools

PBRemTools is a tool with various masking functions, based on ABG Remover, that can be operated with a dedicated tab in a new machine. It offers additional features like post-processing with Tile Division or CascadePSP to increase accuracy.

💡WebUI-RemBG

WebUI-RemBG is a feature implemented in the web UI that allows for background removal. It is based on a famous background removal program on GitHub and can process batches of images through a designated folder in the Extra Tab.

💡InPaint Upload

InPaint Upload is a function that can be used in addition to the normal InPaint for assigning masks to images. It is useful for changing the background of an image while maintaining the character from the original picture.

Highlights

Robin and Teruru discuss a comparison of masking tools used in illustration work.

EBsynth-Utility, an expansion function for V2V production, was introduced in a previous video.

The accuracy of mask creation in Stage 1 is crucial for the quality of the final illustration.

Transparent-Background by Plemeri is a convenient program for mask creation and background removal.

The performance of masking functions greatly affects the efficiency of work.

Masking is essential for using illustrations in various applications like poems or games.

GitHub has numerous repositories for background removal, indicating a widespread interest in the topic.

Installation of Transparent-Background is straightforward, requiring only a command in the terminal.

Transparent-Background can be used for both single images and batch processing of a folder of images.

The tool can also handle video files, removing the background for further creative use.

Automatic1111 offers several expansion functions for background removal, including ABG Remover and WebUI-RemBG.

PBRemTools is a versatile masking function with options for different background colors.

The comparison of masking tools is based on their ability to detect and process details like hair and ears.

Transparent-background stands out for its clean and precise masking capabilities.

The choice of masking tool depends on the user's preference for command line operation or GUI.

In addition to background masks, the mask can be utilized with I2i's InPaint Upload for changing backgrounds while keeping the character.

InPaint Upload allows for fine-tuning of the masked area and the generation of a new background.

The use of masks can significantly enhance the creative possibilities in illustration and design work.