moevat


Namemoevat JSON
Version 1.1.1 PyPI version JSON
download
home_pagehttps://github.com/mhamdan91/moevat
SummaryPython libary to quickly label data/images.
upload_time2023-12-12 01:27:02
maintainer
docs_urlNone
authormhamdan91 (Hamdan, Muhammad)
requires_python
license
keywords python gui labeling machine-learning labeler classification images annotation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Moevat (Moe visual annotation tool)
=======================================
## Table of Contents

 * [Overview](#overview)
 * [Library Installalion](#library-installalion)
 * [Library Usage](#library-usage)


## Overview
This tool allows you to quickly label images of up to 10 classes and this is basically because we  only have 10 numbers in NumPad :(O). If you have more than 10 classes, you can choose one class to be all others and reclassfiy others afterwards. This tool is meant for quick labeling and is not meant to be an extensive and manually controlled GUI.


## Library Installalion
To install the library simply run the following command in a cmd, shell or whatever...

```bash
# It's recommended to create a virtual environment

# Windows
pip install moevat

# Linux
pip3 install moevat
```

## Library usage?
To use this tool you need to provide:
- To show usage message run the following command `moevat -u`
- a directory containing images to label.
- an output file path to store labeled images in and this file can only be of type [json, csv]
- If you mislabel an image and wish to correct this, simply go back to that image and apply the new label.
- If you wish to copy or move labeled images after completing labeling, you must specify the
  `data-transfer` option where (**cp** -> copy, and **mv** -> move). You also need to specify a
  destination folder to transfer images to, this would be specifying the `dst-folder` option.
- If you wish to resize window size that displays image and labeling instructions, you can
  choose from the preset resolutions.
- If you wish to overlay measurements in pixels on top of image, you can provide the `measure` flag.
- If you wish to save overlayed measurements, then you can provide the `save-overlay` flag. Note this only saves to a json format.
- By default the tool will display the class names along with their human readable labels if
  you provide a labels.yaml file. This file contains classes and human readable labels in
  the following format: (See example: [labels.yaml](https://github.com/mhamdan91/moevat/blob/main/labels.yml))
```yaml
    # ** Good class names **
    classes:
        0: "dog"
        1: "cat"
        2: "horse"
        3: "mouse"
        4: "rabbit"
        5: "bird"
        6: "car"
        7: "human"
        8: "elephant"
        9: "house"

    # ** Okay class names **
    classes:
        0: "brown dog"
        1: "small cat"
        2: "original horse"
        3: "black mouse"
        4: "white rabbit"
        5: "big bird"
        6: "red car"
        7: "tall human"
        8: "tiny elephant"
        9: "huge house"

    # ** Bad class names **
    classes:
        0: "dog is barking at the mailman"
        1: "cat is sleeping deeply"
        2: "horse is racing very fast"
        3: "mouse is ticking extremely fast"
        4: "rabbit is jumping around"
        5: "bird is flying"
        6: "car is very ice"
        7: "human is playing well"
        8: "elephant is too huge to move"
        9: "house without windows"
```
- The tool will allow you navigate forward and backward, by default the tool allows you loop through
  images as long as you not labeled them all. This means you can start from **left -> right** or
  **right -> left**, i.e. from **last-image --> first-image** or from **first-image -> last-image**.
- The tool will automatically cache data while you are labeling, and if you wish to end your labeling
  session, simply click on **ESCAPE**.
- If you wish to resume labeling from where you stopped last time, simply provide the labels file which
  you used in the previous session and the tool will only show images that have not been labeled yet.


### Example use
Example use (in a terminal run the following command):
```bash
moevat -i <images_dir> -o <output_file_path.csv> -t <cp_or_mv> -d <destination_folder> -l <path_to_labels.yaml>
```

----------------------------------------
Author: Hamdan, Muhammad (@mhamdan91 - ©)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mhamdan91/moevat",
    "name": "moevat",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,gui,labeling,machine-learning,labeler,classification,images,annotation",
    "author": "mhamdan91 (Hamdan, Muhammad)",
    "author_email": "<mhamdan.dev@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/d5/1d/7cefadaeabeaf07f210b6b82aa139863a2f54e196e40263aabe1a5cbeed3/moevat-1.1.1.tar.gz",
    "platform": null,
    "description": "Moevat (Moe visual annotation tool)\r\n=======================================\r\n## Table of Contents\r\n\r\n * [Overview](#overview)\r\n * [Library Installalion](#library-installalion)\r\n * [Library Usage](#library-usage)\r\n\r\n\r\n## Overview\r\nThis tool allows you to quickly label images of up to 10 classes and this is basically because we  only have 10 numbers in NumPad :(O). If you have more than 10 classes, you can choose one class to be all others and reclassfiy others afterwards. This tool is meant for quick labeling and is not meant to be an extensive and manually controlled GUI.\r\n\r\n\r\n## Library Installalion\r\nTo install the library simply run the following command in a cmd, shell or whatever...\r\n\r\n```bash\r\n# It's recommended to create a virtual environment\r\n\r\n# Windows\r\npip install moevat\r\n\r\n# Linux\r\npip3 install moevat\r\n```\r\n\r\n## Library usage?\r\nTo use this tool you need to provide:\r\n- To show usage message run the following command `moevat -u`\r\n- a directory containing images to label.\r\n- an output file path to store labeled images in and this file can only be of type [json, csv]\r\n- If you mislabel an image and wish to correct this, simply go back to that image and apply the new label.\r\n- If you wish to copy or move labeled images after completing labeling, you must specify the\r\n  `data-transfer` option where (**cp** -> copy, and **mv** -> move). You also need to specify a\r\n  destination folder to transfer images to, this would be specifying the `dst-folder` option.\r\n- If you wish to resize window size that displays image and labeling instructions, you can\r\n  choose from the preset resolutions.\r\n- If you wish to overlay measurements in pixels on top of image, you can provide the `measure` flag.\r\n- If you wish to save overlayed measurements, then you can provide the `save-overlay` flag. Note this only saves to a json format.\r\n- By default the tool will display the class names along with their human readable labels if\r\n  you provide a labels.yaml file. This file contains classes and human readable labels in\r\n  the following format: (See example: [labels.yaml](https://github.com/mhamdan91/moevat/blob/main/labels.yml))\r\n```yaml\r\n    # ** Good class names **\r\n    classes:\r\n        0: \"dog\"\r\n        1: \"cat\"\r\n        2: \"horse\"\r\n        3: \"mouse\"\r\n        4: \"rabbit\"\r\n        5: \"bird\"\r\n        6: \"car\"\r\n        7: \"human\"\r\n        8: \"elephant\"\r\n        9: \"house\"\r\n\r\n    # ** Okay class names **\r\n    classes:\r\n        0: \"brown dog\"\r\n        1: \"small cat\"\r\n        2: \"original horse\"\r\n        3: \"black mouse\"\r\n        4: \"white rabbit\"\r\n        5: \"big bird\"\r\n        6: \"red car\"\r\n        7: \"tall human\"\r\n        8: \"tiny elephant\"\r\n        9: \"huge house\"\r\n\r\n    # ** Bad class names **\r\n    classes:\r\n        0: \"dog is barking at the mailman\"\r\n        1: \"cat is sleeping deeply\"\r\n        2: \"horse is racing very fast\"\r\n        3: \"mouse is ticking extremely fast\"\r\n        4: \"rabbit is jumping around\"\r\n        5: \"bird is flying\"\r\n        6: \"car is very ice\"\r\n        7: \"human is playing well\"\r\n        8: \"elephant is too huge to move\"\r\n        9: \"house without windows\"\r\n```\r\n- The tool will allow you navigate forward and backward, by default the tool allows you loop through\r\n  images as long as you not labeled them all. This means you can start from **left -> right** or\r\n  **right -> left**, i.e. from **last-image --> first-image** or from **first-image -> last-image**.\r\n- The tool will automatically cache data while you are labeling, and if you wish to end your labeling\r\n  session, simply click on **ESCAPE**.\r\n- If you wish to resume labeling from where you stopped last time, simply provide the labels file which\r\n  you used in the previous session and the tool will only show images that have not been labeled yet.\r\n\r\n\r\n### Example use\r\nExample use (in a terminal run the following command):\r\n```bash\r\nmoevat -i <images_dir> -o <output_file_path.csv> -t <cp_or_mv> -d <destination_folder> -l <path_to_labels.yaml>\r\n```\r\n\r\n----------------------------------------\r\nAuthor: Hamdan, Muhammad (@mhamdan91 - \u00c2\u00a9)\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Python libary to quickly label data/images.",
    "version": "1.1.1",
    "project_urls": {
        "Homepage": "https://github.com/mhamdan91/moevat"
    },
    "split_keywords": [
        "python",
        "gui",
        "labeling",
        "machine-learning",
        "labeler",
        "classification",
        "images",
        "annotation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7abb7a11a09d8b3f21225b58f2d00d920735293b599d31930e5ceddff284193a",
                "md5": "7589dccf4f80d8f40c70a90bf455c347",
                "sha256": "f5cd65c5e1c72ee14784cb7e1b7f7c690c3c068da05e86408d1124cdd3e9f3b8"
            },
            "downloads": -1,
            "filename": "moevat-1.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7589dccf4f80d8f40c70a90bf455c347",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 15353,
            "upload_time": "2023-12-12T01:27:00",
            "upload_time_iso_8601": "2023-12-12T01:27:00.563851Z",
            "url": "https://files.pythonhosted.org/packages/7a/bb/7a11a09d8b3f21225b58f2d00d920735293b599d31930e5ceddff284193a/moevat-1.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d51d7cefadaeabeaf07f210b6b82aa139863a2f54e196e40263aabe1a5cbeed3",
                "md5": "84f0f0061fd328d109f48322915bb7cb",
                "sha256": "909fb2c4d1998b3bf27a46c6454ee1082effee7c87f1653e261fec5612aa43fc"
            },
            "downloads": -1,
            "filename": "moevat-1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "84f0f0061fd328d109f48322915bb7cb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12534,
            "upload_time": "2023-12-12T01:27:02",
            "upload_time_iso_8601": "2023-12-12T01:27:02.474380Z",
            "url": "https://files.pythonhosted.org/packages/d5/1d/7cefadaeabeaf07f210b6b82aa139863a2f54e196e40263aabe1a5cbeed3/moevat-1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-12 01:27:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mhamdan91",
    "github_project": "moevat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "moevat"
}
        
Elapsed time: 0.20818s