{"id":16297782,"url":"https://github.com/lionleaf/mastertools","last_synced_at":"2025-04-09T15:43:58.463Z","repository":{"id":68965540,"uuid":"57904969","full_name":"lionleaf/mastertools","owner":"lionleaf","description":null,"archived":false,"fork":false,"pushed_at":"2016-07-07T20:15:24.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T14:46:13.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lionleaf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2016-05-02T16:46:01.000Z","updated_at":"2023-04-07T21:54:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"6063f087-95c7-433a-852d-3bfe531619d1","html_url":"https://github.com/lionleaf/mastertools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionleaf%2Fmastertools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionleaf%2Fmastertools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionleaf%2Fmastertools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lionleaf%2Fmastertools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lionleaf","download_url":"https://codeload.github.com/lionleaf/mastertools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248061073,"owners_count":21041297,"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","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":"2024-10-10T20:42:46.552Z","updated_at":"2025-04-09T15:43:58.436Z","avatar_url":"https://github.com/lionleaf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mastertools\n\nCollection of useful python scripts.\n\n## Evaluate detections\n\nCreates two output files `good_list` and `bad_list`,\nwhere `good_list` contains images where more than one box was predicted correctly.\n`bad_list` contains images where no boxes were correctly predicted.\n\n```\npython evaluate_detections.py recall \u003crecall-output\u003e \u003cground-truth-list\u003e\n```\n\nor\n\n```\npython evaluate_detections.py valid \u003cpredicted-boxes\u003e \u003cground-truth-list\u003e\n```\n\n## Image View\n\nOpen one image to inspect its labels:\n```\npython imageview.py data/images/image.jpg\n```\n\nOpen a folder to browse all its images:\n```\npython imageview.py data/images/\n```\n\nOpen a list of images from a txt-file:\n```\npython imageview.py good_list.txt\n```\n\n### Browse good/bad detections:\nThis is easier than using `evaluate_detections` directly.\n\n```\npython imageview.py good \u003cweights-name\u003e \u003cground-truths\u003e\npython imageview.py bad \u003cweights-name\u003e \u003cground-truths\u003e\n```\n\nExample:\n```\npython imageview.py good exp_wide_graybg_manymodel kitti\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flionleaf%2Fmastertools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flionleaf%2Fmastertools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flionleaf%2Fmastertools/lists"}