Skip to content

Commit

Permalink
Small words change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nourepide committed Nov 25, 2023
1 parent 38858e8 commit 67b8392
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions Writerside/topics/Modules.md
Original file line number Diff line number Diff line change
@@ -1,97 +1,98 @@
# Modules

In Allor, **modules** are integral components that are loaded into the **ComfyUI**, containing **nodes** that users
In Allor, **modules** are general components that are loaded into the **ComfyUI**, containing **nodes** that users
interact with.

This page provides detailed information about each module, helping you understand their **functionality**.

In Allor, **modules** have the flexibility to utilize various **implementations** as a backend for nodes.
This versatility allows for a diverse range of **functionalities** and **interactions** within the plugin.

Here is a backend list:
Here is a list of backends:

* **PyTorch** — Image processing with Tensor without transformation.
* **NumPy** — PyTorch and NumPy arrays share their underlying memory locations, allowing for efficient transformations without any performance loss.
* **NumPy** — PyTorch and NumPy arrays share underlying memory locations, allowing for efficient transformations without any performance loss.
* **OpenCV** — An open-source library dedicated to real-time image processing. It offers even higher operation speeds than pure tensor processing.
* **Pillow** — A widely used Python library for image manipulation. Slow speed of work, if possible, we will switch from it to OpenCV.
* **Rembg** — A specialized library for removing image backgrounds. Despite its slower operation speed (up to 30 seconds), it provides effective background removal capabilities.

### Alpha Chanel

Module for working with **transparency** chanel in images. Allows you to create, add, restore or remove alpha chanel.
A module for working with the **transparency** channel in images,
enabling the creation, addition, restoration, or removal of the alpha channel.

**Backend**: PyTorch.

### Image Container

Module that allows you to create an **empty container** based on the images
for use as **size value** and **mathematical operations** with it.
This module allows the creation of an **empty container** based on images
for use as a **size value** and for **mathematical operations**.

**Backend**: PyTorch.

### Image Composite

Module that allows you to **place images** of different sizes on top of **each other** while maintaining transparency.
This module enables the **placement of images** of varying sizes atop **each other**, preserving transparency.

**Backend**: PyTorch.

### Image Segmentation

Module for **removing background** from images.
For the better result, it is recommended to add prompt that generates plain background.
A module for **removing backgrounds** from images.
For optimal results, it is recommended to add a prompt that generates a plain background.

**Backend**: Rembg.

### Image Text

Module that allows you to **create text as image**.
In the future will be moved to Image Draw module.
This module enables the **creation of a text as an image**.
Plans include moving it to the Image Draw module.

**Backend**: Pillow.

### Image Draw

Module for **draw figures** as images.
This module may be reworked in the future.
A module for **drawing figures** as images.
This module may undergo rework in the future.

**Backend**: Pillow.

### Image Effects

Module for working with **visual effects** and **optical distortions**.
A module for working with **visual effects** and **optical distortions**.

**Backend**: OpenCV, PyTorch.

### Image Filter

A module for changing the image by **applying mathematical operations**.
A module for altering images by **applying mathematical operations**.
Unlike effects, it does not focus on artwork changes.

**Backend**: Pillow.

### Image Noise

Module for working with noise on images. In early stage of development.
A module for working with noise on images. Currently, in the early stage of development.

**Backend**: NumPy.

### Image Transform

Module for **changing the representation** of images.
Allows you to resize, reflect, expand, rotate and crop images.
A module for **changing the representation** of images.
It enables resizing, reflecting, expanding, rotating, and cropping images.

**Backend**: PyTorch, Pillow.

### Image Batch

Module for comfortable work with **batch image processing**.
Allows adding images to batch, splitting, removing or getting the desired image from the array.
A module for comfortable work with **batch image processing**.
It allows adding images to a batch, splitting, removing, or getting the desired image from the array.

**Backend**: PyTorch.

### Clamp

The module that provides a **strongly typed solution** to improve the **readability of nodes**.
The module provides a **strongly typed solution** to improve the **readability of nodes**.

The nodes within this module uniquely have their module name positioned at the end of their name,
rather than at the beginning.
Expand Down

0 comments on commit 67b8392

Please sign in to comment.