PyVirtry


NamePyVirtry JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/powerjsv/jsv_package_test
SummaryNone
upload_time2024-08-08 03:57:52
maintainerNone
docs_urlNone
authorpowerjsv
requires_python>=3.10
licenseNone
keywords vton powerjsv toy project pypi
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyVirtry

## Description

PyVitry is an end-to-end Python package that provides simple and efficient application of Virtual Try On technology.
Virtual try-on is an innovative way for customers to visualize clothes, makeup, glasses, and accessories without putting them on physically. Although many research and commercial projects are in progress, there is no library that users can easily use end-to-end. Therefore, we developed a library that can execute virtual try on with a few lines of simple code without complex work. We utilized [IDM-VTON](https://github.com/yisol/IDM-VTON) which is very powerful and performs well. This model better expresses the texture and pattern of clothes.

## Installation and Usage

### Prerequisites

To install PyVirtry, you will need the following minimum specifications:
+ Python 3.10 or later
+ System RAM 17GB
+ GPU RAM 18.7GB
+ Disk 62GB

It is assumed that the Pytorch suitable for the user and the cuda version are compatible accordingly.

### Getting Started

__NOTE:__ It only currently provides synthetic results for the upper body.

1. Install PyVirtry library

```
pip install PyVirtry
```

2. Import the library and create an IDMVTON instance.

```
from PyVirtry.VirtualTryOn import models

model = models.IDMVTON()
```

3. You must specify 
+ human image path
+ garment image path
+ description of the garment
+ output image path

The description should include the texture, shape, form, type, etc. of the clothing. The more detailed it is, the more helpful it is in expressing the model.

```
result = model.start_tryon(human_img_path = 'Enter your HUMAN IMAGE PATH',
                           garm_img_path = 'Enter your GARMENT IMAGE PATH', 
                           garment_des = 'Enter the DESCRIPTION OF GARMENT',
                           output_path= 'Enter your OUTPUT PATH')

```

## Reference

This project is based on [IDM-VTON](https://github.com/yisol/IDM-VTON). We modified the code to make it work simply.  

## Licencse

We follow the [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode) license specified in IDM-VTON. Please note that this is not intended for commercial use.

## Getting Help

If you encounter any issues or have questions, please open an issue on our GitHub page.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/powerjsv/jsv_package_test",
    "name": "PyVirtry",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "vton, powerjsv, toy project, pypi",
    "author": "powerjsv",
    "author_email": "powerjsv12@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/03/6a/175aa3b952d3ebcdb1036559fdf6263342786bdf0abdcc8f63afbedb343b/pyvirtry-1.0.2.tar.gz",
    "platform": null,
    "description": "# PyVirtry\n\n## Description\n\nPyVitry is an end-to-end Python package that provides simple and efficient application of Virtual Try On technology.\nVirtual try-on is an innovative way for customers to visualize clothes, makeup, glasses, and accessories without putting them on physically. Although many research and commercial projects are in progress, there is no library that users can easily use end-to-end. Therefore, we developed a library that can execute virtual try on with a few lines of simple code without complex work. We utilized [IDM-VTON](https://github.com/yisol/IDM-VTON) which is very powerful and performs well. This model better expresses the texture and pattern of clothes.\n\n## Installation and Usage\n\n### Prerequisites\n\nTo install PyVirtry, you will need the following minimum specifications:\n+ Python 3.10 or later\n+ System RAM 17GB\n+ GPU RAM 18.7GB\n+ Disk 62GB\n\nIt is assumed that the Pytorch suitable for the user and the cuda version are compatible accordingly.\n\n### Getting Started\n\n__NOTE:__ It only currently provides synthetic results for the upper body.\n\n1. Install PyVirtry library\n\n```\npip install PyVirtry\n```\n\n2. Import the library and create an IDMVTON instance.\n\n```\nfrom PyVirtry.VirtualTryOn import models\n\nmodel = models.IDMVTON()\n```\n\n3. You must specify \n+ human image path\n+ garment image path\n+ description of the garment\n+ output image path\n\nThe description should include the texture, shape, form, type, etc. of the clothing. The more detailed it is, the more helpful it is in expressing the model.\n\n```\nresult = model.start_tryon(human_img_path = 'Enter your HUMAN IMAGE PATH',\n                           garm_img_path = 'Enter your GARMENT IMAGE PATH', \n                           garment_des = 'Enter the DESCRIPTION OF GARMENT',\n                           output_path= 'Enter your OUTPUT PATH')\n\n```\n\n## Reference\n\nThis project is based on [IDM-VTON](https://github.com/yisol/IDM-VTON). We modified the code to make it work simply.  \n\n## Licencse\n\nWe follow the [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode) license specified in IDM-VTON. Please note that this is not intended for commercial use.\n\n## Getting Help\n\nIf you encounter any issues or have questions, please open an issue on our GitHub page.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/powerjsv/jsv_package_test"
    },
    "split_keywords": [
        "vton",
        " powerjsv",
        " toy project",
        " pypi"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "913215fd3a64be8a94b105a520fa837fc62d02125f502988f9061164b3b00ebc",
                "md5": "c78fc6a36f3afef2779394a1787751e3",
                "sha256": "0206e7c464736e30ab0e36861e6e15186b5dfd66d1641d545c919c59e4e9a229"
            },
            "downloads": -1,
            "filename": "PyVirtry-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c78fc6a36f3afef2779394a1787751e3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 979661,
            "upload_time": "2024-08-08T03:57:50",
            "upload_time_iso_8601": "2024-08-08T03:57:50.648874Z",
            "url": "https://files.pythonhosted.org/packages/91/32/15fd3a64be8a94b105a520fa837fc62d02125f502988f9061164b3b00ebc/PyVirtry-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "036a175aa3b952d3ebcdb1036559fdf6263342786bdf0abdcc8f63afbedb343b",
                "md5": "17b5993337909ac77760833dab979768",
                "sha256": "a35c64014c61bc7253fe80882fcdd80b4514347defd8ea05553c9c1aacecedb5"
            },
            "downloads": -1,
            "filename": "pyvirtry-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "17b5993337909ac77760833dab979768",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 759881,
            "upload_time": "2024-08-08T03:57:52",
            "upload_time_iso_8601": "2024-08-08T03:57:52.907492Z",
            "url": "https://files.pythonhosted.org/packages/03/6a/175aa3b952d3ebcdb1036559fdf6263342786bdf0abdcc8f63afbedb343b/pyvirtry-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-08 03:57:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "powerjsv",
    "github_project": "jsv_package_test",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyvirtry"
}
        
Elapsed time: 0.36709s