irt-data-utils


Nameirt-data-utils JSON
Version 0.0.1a2 PyPI version JSON
download
home_pagehttps://github.com/dhchenx/irt-data-utils
SummaryInfrared Thermal Data Utils
upload_time2023-06-07 10:38:44
maintainer
docs_urlNone
authorDonghua Chen
requires_python>=3.6, <4
licenseMIT
keywords infrared thermal image data processing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Infrared Thermal Data Utils

### Examples
1. convert ddt file to images
```python
import irtdata.DDTFile as ddt

ddt.convert_ddt_to_csv_png(
    ddt_path="data/test1.ddt",
    csv_path='outputs/test1.csv',
    png_path='outputs/test1.png',
    bmp_path='outputs/test1.bmp')

```
2. Get temperature arrays from FLIR images
```python
import irtdata.FLIR as flir
flir_path='data/test2.jpg'
flir.extract_temperature(flir_path,save_csv_path='outputs/test2.csv')
temp_data = flir.get_heatmap('outputs/test2.csv',
                             save_image_path='outputs/test2.jpg',show=True)
```

3. Get Face Info

```python
import src.irtdata.face_detection as fd

list_node=fd.get_face_info(optical_path,csv_path)

print(list_node)
```

4. Fetch temperature info from gray images with temperature info

```python
import src.irtdata.image_utils as iu

temp_image_path=r'data/FLIR_00004.jpeg'

temps=iu.get_thermal_data_from_image(image_path=temp_image_path)

print(temps)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dhchenx/irt-data-utils",
    "name": "irt-data-utils",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6, <4",
    "maintainer_email": "",
    "keywords": "infrared thermal image,data processing",
    "author": "Donghua Chen",
    "author_email": "douglaschan@126.com",
    "download_url": "https://files.pythonhosted.org/packages/28/b2/311673b7b223b2d35d0029b842eba37672e558f1766fa614628461de207c/irt-data-utils-0.0.1a2.tar.gz",
    "platform": null,
    "description": "## Infrared Thermal Data Utils\r\n\r\n### Examples\r\n1. convert ddt file to images\r\n```python\r\nimport irtdata.DDTFile as ddt\r\n\r\nddt.convert_ddt_to_csv_png(\r\n    ddt_path=\"data/test1.ddt\",\r\n    csv_path='outputs/test1.csv',\r\n    png_path='outputs/test1.png',\r\n    bmp_path='outputs/test1.bmp')\r\n\r\n```\r\n2. Get temperature arrays from FLIR images\r\n```python\r\nimport irtdata.FLIR as flir\r\nflir_path='data/test2.jpg'\r\nflir.extract_temperature(flir_path,save_csv_path='outputs/test2.csv')\r\ntemp_data = flir.get_heatmap('outputs/test2.csv',\r\n                             save_image_path='outputs/test2.jpg',show=True)\r\n```\r\n\r\n3. Get Face Info\r\n\r\n```python\r\nimport src.irtdata.face_detection as fd\r\n\r\nlist_node=fd.get_face_info(optical_path,csv_path)\r\n\r\nprint(list_node)\r\n```\r\n\r\n4. Fetch temperature info from gray images with temperature info\r\n\r\n```python\r\nimport src.irtdata.image_utils as iu\r\n\r\ntemp_image_path=r'data/FLIR_00004.jpeg'\r\n\r\ntemps=iu.get_thermal_data_from_image(image_path=temp_image_path)\r\n\r\nprint(temps)\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Infrared Thermal Data Utils",
    "version": "0.0.1a2",
    "project_urls": {
        "Bug Reports": "https://github.com/dhchenx/irt-data-utils/issues",
        "Homepage": "https://github.com/dhchenx/irt-data-utils",
        "Source": "https://github.com/dhchenx/irt-data-utils"
    },
    "split_keywords": [
        "infrared thermal image",
        "data processing"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e082a6f5922b10c129380078cb627b88c09dfb195800dbd3352a8366a646f69",
                "md5": "bbb259ca8b061f7d33e5707801470432",
                "sha256": "541f1c7e9d03bfcfb57d70c59646666644d1552136bfe6ee241f7c87a93d3feb"
            },
            "downloads": -1,
            "filename": "irt_data_utils-0.0.1a2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bbb259ca8b061f7d33e5707801470432",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6, <4",
            "size": 17516,
            "upload_time": "2023-06-07T10:38:43",
            "upload_time_iso_8601": "2023-06-07T10:38:43.313572Z",
            "url": "https://files.pythonhosted.org/packages/6e/08/2a6f5922b10c129380078cb627b88c09dfb195800dbd3352a8366a646f69/irt_data_utils-0.0.1a2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "28b2311673b7b223b2d35d0029b842eba37672e558f1766fa614628461de207c",
                "md5": "6a44d00180dc00172dd2e61e2f360978",
                "sha256": "87c28510dfbc35c5cb7ae4fb59729a2705de3340fd00bab898b1e23a1985a8c2"
            },
            "downloads": -1,
            "filename": "irt-data-utils-0.0.1a2.tar.gz",
            "has_sig": false,
            "md5_digest": "6a44d00180dc00172dd2e61e2f360978",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6, <4",
            "size": 16449,
            "upload_time": "2023-06-07T10:38:44",
            "upload_time_iso_8601": "2023-06-07T10:38:44.917515Z",
            "url": "https://files.pythonhosted.org/packages/28/b2/311673b7b223b2d35d0029b842eba37672e558f1766fa614628461de207c/irt-data-utils-0.0.1a2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-07 10:38:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dhchenx",
    "github_project": "irt-data-utils",
    "github_not_found": true,
    "lcname": "irt-data-utils"
}
        
Elapsed time: 0.09203s