{"id":18250738,"url":"https://github.com/devarshi16/form-labeller","last_synced_at":"2025-08-26T16:28:50.317Z","repository":{"id":43244525,"uuid":"229098681","full_name":"devarshi16/Form-Labeller","owner":"devarshi16","description":"Use this tool to label forms, bounding boxes, and assigning types to annotations","archived":false,"fork":false,"pushed_at":"2024-12-11T14:51:29.000Z","size":10529,"stargazers_count":22,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T02:57:57.638Z","etag":null,"topics":["annotation-tool","annotations","annotator","form-label","form-labeller","label","label-images","labelimg","labeling-tool","labelling","labels","ocr","ocr-tools","tkinter","tkinter-gui","tkinter-python"],"latest_commit_sha":null,"homepage":"https://attackonalgorithms.wordpress.com/2019/12/09/image-labelling-tool-for-annotating-object-detection-models/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devarshi16.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"devarshi16"}},"created_at":"2019-12-19T16:46:35.000Z","updated_at":"2025-02-14T18:25:01.000Z","dependencies_parsed_at":"2024-12-11T15:41:20.100Z","dependency_job_id":null,"html_url":"https://github.com/devarshi16/Form-Labeller","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devarshi16/Form-Labeller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devarshi16%2FForm-Labeller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devarshi16%2FForm-Labeller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devarshi16%2FForm-Labeller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devarshi16%2FForm-Labeller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devarshi16","download_url":"https://codeload.github.com/devarshi16/Form-Labeller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devarshi16%2FForm-Labeller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272237011,"owners_count":24897524,"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-08-26T02:00:07.904Z","response_time":60,"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":["annotation-tool","annotations","annotator","form-label","form-labeller","label","label-images","labelimg","labeling-tool","labelling","labels","ocr","ocr-tools","tkinter","tkinter-gui","tkinter-python"],"created_at":"2024-11-05T09:45:43.202Z","updated_at":"2025-08-26T16:28:50.250Z","avatar_url":"https://github.com/devarshi16.png","language":"Python","funding_links":["https://github.com/sponsors/devarshi16"],"categories":[],"sub_categories":[],"readme":"# Form Labeller\nThis tool helps in modifying/creating existing labels/annotations of images in Image.\n![alt text](https://github.com/devarshi16/Form-Labeller/blob/master/img_label.png?raw=true)\n\nLibraries needed, `tkinter`,`json`\n\nTo run the application, \n\n```\npython gui.py\n```\n\n## Features\n\n### Draw Rectangles\n![Alt Text](https://github.com/devarshi16/Form-Labeller/blob/master/rect_draw.gif)\n\n### Draw Polygons\n![Alt Text](https://github.com/devarshi16/Form-Labeller/blob/master/poly_draw.gif)\n\n### Make Boxes Tight\n![Alt Text](https://github.com/devarshi16/Form-Labeller/blob/master/tight.gif)\n\n### Assign Types to Boxes\n![Alt Text](https://github.com/devarshi16/Form-Labeller/blob/master/assign_type.gif)\n\n### Config File\nYou can change the name of types to be assigned by changing `TYPE_CHOICES` in config.py\n```\n#WINDOW DIMENSIONS\nINIT_WIDTH = 1366\nINIT_HEIGHT = 768\nTOP_FRAME_HEIGHT = 20\nBOTTOM_FRAME_HEIGHT = INIT_HEIGHT - TOP_FRAME_HEIGHT\nBUTTON_WIDTH = 20\n\n#TOOL MODIFIABLES\nSUPPORTED_FORMATS = [\"jpg\",\"png\",\"jpeg\",\"JPEG\",\"tiff\"]\nTYPE_CHOICES = [\"None\", \n    \"Printed Key\", \"Written Key\", \n    \"Printed Value\", \"Written Value\",\n    \"Check Box Key\", \"Check Box Value\",\n    \"Comment/Info\", \"Logo\", \n    \"Signature\", \"Photograph\"\n    ]\n'''\nTYPE_CHOICES = [\"None\",\n    \"ADDRESS\",\n    \"NAME\",\n    \"DOB\",\n    \"GENDER\",\n    \"AADHAAR\",\n    \"MOBILE\",\n    \"PHOTO\",\n    \"BARCODE\",\n    \"QR\"\n    ]\n'''\nFONT_SIZE = 11\nICON_NAME = 'icon.ico'\nLOG_FILE = 'form_labeller.log'\nLOGGING = True\nDEBUGGING = True\nALLOWED_DEBUG_LEVEL = 3\n\n#POINTS DIMENSIONS\nRADIUS = 5\nSMALL_RADIUS = 1\nBIG_RADIUS = 5\n\n#BUTTON POSITIONS\nOPEN_FOLDER_ROW,OPEN_FOLDER_COL = 0,0\nPREV_ROW,PREV_COL = 1,0\nNEXT_ROW,NEXT_COL = 1,1\nSAVE_ROW,SAVE_COL = 2,0\nDEL_SELECTED_ROW,DEL_SELECTED_COL = 3,0\nDROP_DOWN_ROW,DROP_DOWN_COL = 4,0\nSAVE_TYPE_ROW,SAVE_TYPE_COL = 4,1\nDESELECT_ALL_ROW,DESELECT_ALL_COL = 5,0\nSELECT_ALL_ROW, SELECT_ALL_COL = 6,0\nDRAW_POLY_ROW, DRAW_POLY_COL = 7,0\nDRAW_RECT_ROW, DRAW_RECT_COL = 8,0\nDELETE_ALL_ROW, DELETE_ALL_COL = 9,0\nSHOW_TYPE_ROW,SHOW_TYPE_COL = 10,0\nHIDE_TYPE_ROW,HIDE_TYPE_COL = 10,1\nMAKE_TIGHT_ROW = 11\nTHRESHOLD_ROW = 12\n```\n\n### Example Output JSON Format\n```\n{\n    \"textBBs\": [\n        {\n            \"poly_points\": [\n                [\n                    1143,\n                    1453\n                ],\n                [\n                    2955,\n                    1475\n                ],\n                [\n                    2953,\n                    1353\n                ],\n                [\n                    1154,\n                    1328\n                ]\n            ],\n            \"id\": \"0\",\n            \"type\": \"detectorPrediction\"\n        },\n        {\n            \"poly_points\": [\n                [\n                    407,\n                    2207\n                ],\n                [\n                    1403,\n                    2207\n                ],\n                [\n                    1403,\n                    2061\n                ],\n                [\n                    407,\n                    2061\n                ]\n            ],\n            \"id\": \"1\",\n            \"type\": \"detectorPrediction\"\n        }\n    ]\n}\n```\n\n## Raise Issues for Features\nYou can raise issues for additional features in the tool. You can contribute to the tool aswell.\n\n## Example images Acknowledgement\nStanford dataset [link](https://web.cs.wpi.edu/~claypool/mmsys-dataset/2011/stanford/mvs_images/ \"stanford dataset\")\n\n## License\n[MIT](https://github.com/devarshi16/Form-Labeller/blob/master/LICENSE)\n\n## Citation\n\n\u003c!--\n\n\nList of username-realname matching based on\nhttps://github.com/devarshi16/Form-Labeller ordered by commits:\n\ndevarshi16          Aggarwal, Devarshi\n\n--\u003e\nIf this library has helped you during your research, feel free to cite it:\n```latex\n@misc{Form-Labeller,\n  author = {Aggarwal, Devarshi},\n  title = {{Form Labeller}},\n  howpublished = {\\url{https://github.com/devarshi16/Form-Labeller}},\n  year = {2020},\n  note = {Online; accessed 01-March-2020}\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevarshi16%2Fform-labeller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevarshi16%2Fform-labeller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevarshi16%2Fform-labeller/lists"}