Metadata-Version: 2.4
Name: image_gen_aux
Version: 0.1.0.dev0
Summary: Image generation auxiliary tools and libraries.
Home-page: https://github.com/asomoza/image_gen_aux
Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/asomoza/image_gen_aux/graphs/contributors)
Author-email: alvaro.somoza@huggingface.co
License: Apache 2.0 License
Keywords: deep learning diffusion pytorch
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.8.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: huggingface-hub>=0.20.2
Requires-Dist: numpy
Requires-Dist: safetensors>=0.3.1
Requires-Dist: Pillow
Requires-Dist: spandrel
Requires-Dist: transformers
Requires-Dist: kornia
Requires-Dist: timm
Requires-Dist: opencv-python-headless
Provides-Extra: quality
Requires-Dist: urllib3<=2.0.0; extra == "quality"
Requires-Dist: isort>=5.5.4; extra == "quality"
Requires-Dist: ruff==0.1.5; extra == "quality"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-timeout; extra == "test"
Requires-Dist: pytest-xdist; extra == "test"
Requires-Dist: requests-mock==1.10.0; extra == "test"
Provides-Extra: torch
Requires-Dist: torch>=2.3; extra == "torch"
Provides-Extra: dev
Requires-Dist: urllib3<=2.0.0; extra == "dev"
Requires-Dist: isort>=5.5.4; extra == "dev"
Requires-Dist: ruff==0.1.5; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-timeout; extra == "dev"
Requires-Dist: pytest-xdist; extra == "dev"
Requires-Dist: requests-mock==1.10.0; extra == "dev"
Requires-Dist: torch>=2.3; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

<!---
 Copyright 2024 The HuggingFace Team. All rights reserved.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

# Image Generation Auxiliary Tools

Set of auxiliary tools to use with image and video generation libraries. Mainly created to be used with [diffusers](https://github.com/huggingface/diffusers).

## Tools

Each set of tools has its own README where you can find more information on how to use them.

* [Upscalers](https://github.com/asomoza/image_gen_aux/blob/main/src/image_gen_aux/upscalers/README.md)
* [Preprocessors](https://github.com/asomoza/image_gen_aux/blob/main/src/image_gen_aux/preprocessors/README.md)

## Installation

This is a very early version, so only the installation from source is available.

### Install from source

`pip install -e .`

### Install with PyPi

`pip install git+https://github.com/asomoza/image_gen_aux.git`

## Contribution

Soon

## Credits

This library uses inference and models from various authors. If you think you must be credited or if we are missing someone, please let us know.

### Libraries

* [Spandrel](https://github.com/chaiNNer-org/spandrel) for loading super resolution models.

### Super resolution models

* [UltraSharp](https://openmodeldb.info/models/4x-UltraSharp)
* [DAT](https://github.com/zhengchen1999/dat)
* [RealPLKSR|DAT](https://github.com/Phhofm/models)
* [Remacri](https://openmodeldb.info/models/4x-Remacri)

### Preprocessors

* [Depth Anything V2](https://depth-anything-v2.github.io)
* [LineArt](https://github.com/carolineec/informative-drawings)
* [LineArtStandard](https://github.com/Fannovel16/comfyui_controlnet_aux/blob/main/src/custom_controlnet_aux/lineart_standard/__init__.py)
* [TEED](https://github.com/xavysp/TEED)
* [ZoeDepth](https://github.com/isl-org/ZoeDepth)
