imaginairy-normal-map


Nameimaginairy-normal-map JSON
Version 0.0.3 PyPI version JSON
download
home_page
SummaryImage-to-normal-map
upload_time2023-05-04 06:18:38
maintainer
docs_urlNone
authorBryce Drennan
requires_python>=3.7
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Image-to-Normal-Map
**Create normal maps from images (using AI)**

[![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/estimating-and-exploiting-the-aleatoric/surface-normals-estimation-on-nyu-depth-v2-1)](https://paperswithcode.com/sota/surface-normals-estimation-on-nyu-depth-v2-1?p=estimating-and-exploiting-the-aleatoric)
[![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/estimating-and-exploiting-the-aleatoric/surface-normals-estimation-on-scannetv2)](https://paperswithcode.com/sota/surface-normals-estimation-on-scannetv2?p=estimating-and-exploiting-the-aleatoric)

<img src="https://raw.githubusercontent.com/brycedrennan/imaginairy-normal-map/6b3b1692cbdc21d55c84a01e0b7875df030b6d79/tests/oval-office-large.jpg" width=45% ><img src="https://raw.githubusercontent.com/brycedrennan/imaginairy-normal-map/6b3b1692cbdc21d55c84a01e0b7875df030b6d79/tests/oval-office-large-normal.jpg" width=45%>

**Quick Start**
```bash
pip install imaginairy-normal-map
```

```python
from PIL import Image
from imaginairy_normal_map.model import create_normal_map_pil_img

img = Image.open("oval-office-large.jpg")
normal_img = create_normal_map_pil_img(img)
normal_img.save("oval-office-large-normal.jpg")
```


**This project was made to support the AI image generation project, [imaginAIry](https://github.com/brycedrennan/imaginAIry).**




**Credit to Gwangbin Bae, Ignas Budvytis, and Roberto Cipolla for creation of 
the [original algorithm and code](https://github.com/baegwangbin/surface_normal_uncertainty).**




<img width=70% src="https://github.com/baegwangbin/surface_normal_uncertainty/blob/main/figs/readme_scannet.png?raw=true">
<img width=100% src="https://github.com/baegwangbin/surface_normal_uncertainty/blob/main/figs/readme_generalize.png?raw=true">



            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "imaginairy-normal-map",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Bryce Drennan",
    "author_email": "",
    "download_url": "",
    "platform": null,
    "description": "# Image-to-Normal-Map\n**Create normal maps from images (using AI)**\n\n[![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/estimating-and-exploiting-the-aleatoric/surface-normals-estimation-on-nyu-depth-v2-1)](https://paperswithcode.com/sota/surface-normals-estimation-on-nyu-depth-v2-1?p=estimating-and-exploiting-the-aleatoric)\n[![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/estimating-and-exploiting-the-aleatoric/surface-normals-estimation-on-scannetv2)](https://paperswithcode.com/sota/surface-normals-estimation-on-scannetv2?p=estimating-and-exploiting-the-aleatoric)\n\n<img src=\"https://raw.githubusercontent.com/brycedrennan/imaginairy-normal-map/6b3b1692cbdc21d55c84a01e0b7875df030b6d79/tests/oval-office-large.jpg\" width=45% ><img src=\"https://raw.githubusercontent.com/brycedrennan/imaginairy-normal-map/6b3b1692cbdc21d55c84a01e0b7875df030b6d79/tests/oval-office-large-normal.jpg\" width=45%>\n\n**Quick Start**\n```bash\npip install imaginairy-normal-map\n```\n\n```python\nfrom PIL import Image\nfrom imaginairy_normal_map.model import create_normal_map_pil_img\n\nimg = Image.open(\"oval-office-large.jpg\")\nnormal_img = create_normal_map_pil_img(img)\nnormal_img.save(\"oval-office-large-normal.jpg\")\n```\n\n\n**This project was made to support the AI image generation project, [imaginAIry](https://github.com/brycedrennan/imaginAIry).**\n\n\n\n\n**Credit to Gwangbin Bae, Ignas Budvytis, and Roberto Cipolla for creation of \nthe [original algorithm and code](https://github.com/baegwangbin/surface_normal_uncertainty).**\n\n\n\n\n<img width=70% src=\"https://github.com/baegwangbin/surface_normal_uncertainty/blob/main/figs/readme_scannet.png?raw=true\">\n<img width=100% src=\"https://github.com/baegwangbin/surface_normal_uncertainty/blob/main/figs/readme_generalize.png?raw=true\">\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Image-to-normal-map",
    "version": "0.0.3",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7d4236c07efe1296b3f276a25bd34d26565c62b6524b023daddad03131b47953",
                "md5": "02749a294ca1d34680fe4ce4f8441821",
                "sha256": "59663273e77e481bc5bfe53197a0f382e5e4f9e348ff9f1ab1df6d91dc500023"
            },
            "downloads": -1,
            "filename": "imaginairy_normal_map-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "02749a294ca1d34680fe4ce4f8441821",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 7208,
            "upload_time": "2023-05-04T06:18:38",
            "upload_time_iso_8601": "2023-05-04T06:18:38.554570Z",
            "url": "https://files.pythonhosted.org/packages/7d/42/36c07efe1296b3f276a25bd34d26565c62b6524b023daddad03131b47953/imaginairy_normal_map-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-04 06:18:38",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "imaginairy-normal-map"
}
        
Elapsed time: 0.06469s