pyamiimage


Namepyamiimage JSON
Version 0.0.13 PyPI version JSON
download
home_pagehttps://github.com/petermr/pyamiimage
SummaryImage analysis for words and graphics.
upload_time2022-09-24 08:52:39
maintainer
docs_urlNone
authorPeter Murray-Rust, Anuv Chakraborty
requires_python
licenseApache2
keywords text and image mining
VCS
bugtrack_url
requirements lxml matplotlib networkx numpy Pillow pytesseract easyocr pytest scikit_image scikit-learn setuptools skan sknw
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyamiimage
`pyamiimage` is a set of tools to extract semantic information from scientific diagrams. 

The current goal is to extract terpene synthase pathway diagrams. 
'Extraction' means that we will go from pixel values in an image to a 'smart diagram'. The output of `pyamiimage` is an image with annotations of substrate, products and enzymes.

We are working to add more support for open formats that encode chemical/pathway information such as [CML](https://www.xml-cml.org/) and [GPML](https://github.com/PathVisio/GPML).

## Installation

### Tesseract
To run `pyamiimage` on your local system you need to have `Tesseract` installed. If you don't have `Tesseract` installed, install it from [here](https://tesseract-ocr.github.io/tessdoc/).

```
pip install pyamiimage
```
## Usage

`pyamiimage` is a command-line tool and can be accessed via the terminal or command prompt. To bring up the help run:
```
pyamiimage --help
```

You can also include pyamiimage in your program using the provided classes.

### AmiImage
AmiImage class provides methods for image manipulation. 
```
from pyamiimage.ami_image import AmiImage

gray = AmiImage.create_grayscale_from_file(image_file_path)
```

### AmiGraph
AmiGraph class generate a graph from arrows in a diagram.

### AmiOCR
AmiOCR class provides methods to extract words from the iamge. Uses Tesseract.

## Timeline
merged main into nodes_and_pixels and re-branched 



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/petermr/pyamiimage",
    "name": "pyamiimage",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "text and image mining",
    "author": "Peter Murray-Rust, Anuv Chakraborty",
    "author_email": "petermurrayrust@googlemail.com",
    "download_url": "https://files.pythonhosted.org/packages/66/27/8f7d53f191c86e8a0584ca125d3284f14b8cdd302c064d6f41e8ff631c83/pyamiimage-0.0.13.tar.gz",
    "platform": null,
    "description": "# pyamiimage\n`pyamiimage` is a set of tools to extract semantic information from scientific diagrams. \n\nThe current goal is to extract terpene synthase pathway diagrams. \n'Extraction' means that we will go from pixel values in an image to a 'smart diagram'. The output of `pyamiimage` is an image with annotations of substrate, products and enzymes.\n\nWe are working to add more support for open formats that encode chemical/pathway information such as [CML](https://www.xml-cml.org/) and [GPML](https://github.com/PathVisio/GPML).\n\n## Installation\n\n### Tesseract\nTo run `pyamiimage` on your local system you need to have `Tesseract` installed. If you don't have `Tesseract` installed, install it from [here](https://tesseract-ocr.github.io/tessdoc/).\n\n```\npip install pyamiimage\n```\n## Usage\n\n`pyamiimage` is a command-line tool and can be accessed via the terminal or command prompt. To bring up the help run:\n```\npyamiimage --help\n```\n\nYou can also include pyamiimage in your program using the provided classes.\n\n### AmiImage\nAmiImage class provides methods for image manipulation. \n```\nfrom pyamiimage.ami_image import AmiImage\n\ngray = AmiImage.create_grayscale_from_file(image_file_path)\n```\n\n### AmiGraph\nAmiGraph class generate a graph from arrows in a diagram.\n\n### AmiOCR\nAmiOCR class provides methods to extract words from the iamge. Uses Tesseract.\n\n## Timeline\nmerged main into nodes_and_pixels and re-branched \n\n\n",
    "bugtrack_url": null,
    "license": "Apache2",
    "summary": "Image analysis for words and graphics.",
    "version": "0.0.13",
    "split_keywords": [
        "text",
        "and",
        "image",
        "mining"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "a82888f4021463cea4a4770964ead7fa",
                "sha256": "a204adaea04daebca0c4de46565ca10a7558dfa1aa7bfdb3f46317d9f190b611"
            },
            "downloads": -1,
            "filename": "pyamiimage-0.0.13.tar.gz",
            "has_sig": false,
            "md5_digest": "a82888f4021463cea4a4770964ead7fa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 178996,
            "upload_time": "2022-09-24T08:52:39",
            "upload_time_iso_8601": "2022-09-24T08:52:39.166462Z",
            "url": "https://files.pythonhosted.org/packages/66/27/8f7d53f191c86e8a0584ca125d3284f14b8cdd302c064d6f41e8ff631c83/pyamiimage-0.0.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-09-24 08:52:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "petermr",
    "github_project": "pyamiimage",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "lxml",
            "specs": []
        },
        {
            "name": "matplotlib",
            "specs": []
        },
        {
            "name": "networkx",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "Pillow",
            "specs": []
        },
        {
            "name": "pytesseract",
            "specs": []
        },
        {
            "name": "easyocr",
            "specs": []
        },
        {
            "name": "pytest",
            "specs": []
        },
        {
            "name": "scikit_image",
            "specs": []
        },
        {
            "name": "scikit-learn",
            "specs": []
        },
        {
            "name": "setuptools",
            "specs": []
        },
        {
            "name": "skan",
            "specs": []
        },
        {
            "name": "sknw",
            "specs": []
        }
    ],
    "lcname": "pyamiimage"
}
        
Elapsed time: 0.01917s