{"id":32995367,"url":"https://github.com/chinakook/labelImg2","last_synced_at":"2025-11-18T06:02:14.299Z","repository":{"id":37815931,"uuid":"135096169","full_name":"chinakook/labelImg2","owner":"chinakook","description":"labelImg2 with rotated box and extra label support","archived":false,"fork":false,"pushed_at":"2025-06-01T09:05:57.000Z","size":6927,"stargazers_count":160,"open_issues_count":0,"forks_count":49,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-30T20:59:18.034Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chinakook.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-28T01:39:52.000Z","updated_at":"2025-07-24T01:39:36.000Z","dependencies_parsed_at":"2022-08-19T11:21:17.697Z","dependency_job_id":null,"html_url":"https://github.com/chinakook/labelImg2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chinakook/labelImg2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinakook%2FlabelImg2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinakook%2FlabelImg2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinakook%2FlabelImg2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinakook%2FlabelImg2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chinakook","download_url":"https://codeload.github.com/chinakook/labelImg2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinakook%2FlabelImg2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285013741,"owners_count":27100053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-18T02:00:05.759Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-11-13T12:00:21.876Z","updated_at":"2025-11-18T06:02:14.293Z","avatar_url":"https://github.com/chinakook.png","language":"Python","readme":"LabelImg2\n========\n\nLabelImg2 is a graphical image annotation tool.\n\nIt is written in Python and uses Qt for its graphical interface.\n\nAnnotations are saved as XML files in PASCAL VOC format, the format used\nby `ImageNet \u003chttp://www.image-net.org/\u003e`__.\n\nAnnotations can now be exported in Ultralytics YOLO's BOX format and OBB format.\n\n.. image:: img/screen0.jpg\n     :alt: labelImg2 with rotated box and extra label\n\nInstallation\n------------------\n\nBuild from source\n~~~~~~~~~~~~~~~~~\n\nLinux/Ubuntu/Mac requires at least `Python\n\nUbuntu Linux\n^^^^^^^^^^^^\n\nPython 3 + Qt5\n\n.. code::\n\n    sudo apt-get install pyqt5-dev-tools\n    sudo pip3 install lxml\n    python3 labelImg.py\n    python3 labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]\n\nWindows + Anaconda\n^^^^^^^\n\nDownload and install `Anaconda \u003chttps://www.anaconda.com/download/#download\u003e`__ (Python 3+)\n\nOpen the Anaconda Prompt and go to the `labelImg \u003c#labelimg\u003e`__ directory.\nYou might need admin privileges to install.\n\n.. code::\n\n    conda install pyqt=5\n    python labelImg.py\n    python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]\n\nUsage\n-----\n\nSteps (PascalVOC)\n~~~~~\n\n1. Build and launch using the instructions above.\n2. Click 'Change default saved annotation folder' in Menu/File\n3. Click 'Open Dir'\n4. Click 'Create RectBox'\n5. Click and release left mouse to select a region to annotate the rect\n   box\n6. You can use right mouse to drag the rect box to copy or move it\n\nThe annotation will be saved to the folder you specify.\n\nYou can refer to the below hotkeys to speed up your workflow.\n\nCreate pre-defined classes\n~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nYou can edit the\n`data/predefined\\_classes.txt \u003chttps://github.com/chinakook/labelImg2/blob/master/data/predefined_classes.txt\u003e`__\nto load pre-defined classes\n\nHotkeys\n~~~~~~~\n\n+------------+--------------------------------------------+\n| Ctrl + u   | Load all of the images from a directory    |\n+------------+--------------------------------------------+\n| Ctrl + r   | Change the default annotation target dir   |\n+------------+--------------------------------------------+\n| Ctrl + s   | Save                                       |\n+------------+--------------------------------------------+\n| Ctrl + d   | Copy the current label and rect box        |\n+------------+--------------------------------------------+\n| Space      | Flag the current image as verified         |\n+------------+--------------------------------------------+\n| w          | Create a rect box                          |\n+------------+--------------------------------------------+\n| d          | Next image                                 |\n+------------+--------------------------------------------+\n| a          | Previous image                             |\n+------------+--------------------------------------------+\n| z          | Rotates counterclockwise, big steps;       |\n+------------+--------------------------------------------+\n| x          | Rotates counterclockwise, small steps;     |\n+------------+--------------------------------------------+\n| c          | Rotates clockwise, small steps;            |\n+------------+--------------------------------------------+\n| v          | Rotates clockwise, big steps.              |\n+------------+--------------------------------------------+\n| f          | Rotates 90 degrees clockwise.              |\n+------------+--------------------------------------------+\n| del        | Delete the selected rect box               |\n+------------+--------------------------------------------+\n| Enter      | Select a rect box                          |\n+------------+--------------------------------------------+\n| Ctrl++     | Zoom in                                    |\n+------------+--------------------------------------------+\n| Ctrl--     | Zoom out                                   |\n+------------+--------------------------------------------+\n| ↑→↓←       | Keyboard arrows to move selected rect box  |\n+------------+--------------------------------------------+\n\nHow to contribute\n~~~~~~~~~~~~~~~~~\n\nSend a pull request\n\nLicense\n~~~~~~~\n`Free software: MIT license \u003chttps://github.com/chinakook/labelImg2/blob/master/LICENSE\u003e`_\n\nCitation: Chinakook. LabelImg2. Git code (2018-2025). https://github.com/chinakook/labelImg2\n","funding_links":[],"categories":["Toolbox"],"sub_categories":["Label tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinakook%2FlabelImg2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinakook%2FlabelImg2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinakook%2FlabelImg2/lists"}