{"id":28429827,"url":"https://github.com/appsilon/mbaza-mv-predicted","last_synced_at":"2025-06-26T03:36:02.814Z","repository":{"id":176533527,"uuid":"658860546","full_name":"Appsilon/mbaza-mv-predicted","owner":"Appsilon","description":"A small Mbaza post-processing script to copy images from source folder to predicted folder.","archived":false,"fork":false,"pushed_at":"2023-12-15T08:57:10.000Z","size":8,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-06-05T13:48:12.556Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Appsilon.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}},"created_at":"2023-06-26T16:29:58.000Z","updated_at":"2023-06-28T10:18:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5902d37-e96e-4aa6-9f48-3a1a6401f7c1","html_url":"https://github.com/Appsilon/mbaza-mv-predicted","commit_stats":null,"previous_names":["appsilon/mbaza-mv-predicted"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Appsilon/mbaza-mv-predicted","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2Fmbaza-mv-predicted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2Fmbaza-mv-predicted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2Fmbaza-mv-predicted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2Fmbaza-mv-predicted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Appsilon","download_url":"https://codeload.github.com/Appsilon/mbaza-mv-predicted/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Appsilon%2Fmbaza-mv-predicted/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261995849,"owners_count":23242204,"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":"2025-06-05T13:39:14.769Z","updated_at":"2025-06-26T03:36:02.802Z","avatar_url":"https://github.com/Appsilon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mbaza-mv-predicted\n\nA small Mbaza post-processing script to copy images from source folder to predicted folder.\n\n## Installation\n\nThe package can be installed directly from Github:\n\n```\npip install git+https://github.com/Appsilon/mbaza-mv-predicted.git\n```\n\n## Running\n\nOnce installed, run the `mbaza_mv_predicted` script to process the `.csv` output from Mbaza, for example:\n\n```\nmbaza_mv_predicted /path/to/mbaza_output_file.csv /path/to/images --output_path /path/to/output --p 0.5 --p_multi 0.2\n```\n\nThis will output a new csv file in the `output_path` directory which contains the original Mbaza information and paths where the image has been copied to.\n\nNOTE: this requires the same `/path/to/images` as provided to Mbaza.\n\nThe following commands are optional:\n\n- `output_path` defaults to `/path/to/images/predicted`\n- `p` is the probability threshold required to copy the image to the top predicted species (otherwise copied to `unknown`), defaults to 0 i.e. all images will be copied to a species folder\n- `p_multi` is the probability threshold required to also copy images to the 2nd/3rd top predicted species folder (multi-label), default behaviour is off i.e. images will only be copied to one folder\n\nFor help with commands run:\n\n```\nmbaza_mv_predicted -h\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappsilon%2Fmbaza-mv-predicted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappsilon%2Fmbaza-mv-predicted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappsilon%2Fmbaza-mv-predicted/lists"}