{"id":28546466,"url":"https://github.com/netkiller/yoloutils","last_synced_at":"2026-03-09T14:07:04.178Z","repository":{"id":286777056,"uuid":"962482866","full_name":"netkiller/yoloutils","owner":"netkiller","description":"YOLO Utilities","archived":false,"fork":false,"pushed_at":"2025-09-26T11:47:46.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-20T15:53:43.021Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netkiller.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-08T08:14:50.000Z","updated_at":"2025-09-26T11:47:50.000Z","dependencies_parsed_at":"2025-09-26T13:20:52.689Z","dependency_job_id":"2777b208-308c-4a79-9349-6795cbe5def0","html_url":"https://github.com/netkiller/yoloutils","commit_stats":null,"previous_names":["netkiller/yoloutils"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/netkiller/yoloutils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fyoloutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fyoloutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fyoloutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fyoloutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netkiller","download_url":"https://codeload.github.com/netkiller/yoloutils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netkiller%2Fyoloutils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30297941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T13:46:43.843Z","status":"ssl_error","status_checked_at":"2026-03-09T13:46:42.821Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-06-09T23:39:35.504Z","updated_at":"2026-03-09T14:07:04.153Z","avatar_url":"https://github.com/netkiller.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yoloutils\nYOLO Utilities\n\n## 帮助信息\n\n```shell\n(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils\nusage: yoloutils [-h] {label,merge,copy,remove,change,crop,labelimg,resize,classify} ...\n\nYolo 标签工具\n\noptions:\n  -h, --help            show this help message and exit\n\nsubcommands:\n  valid subcommands\n\n  {label,merge,copy,remove,change,crop,labelimg,resize,classify}\n                        additional help\n    label               标签处理工具\n    merge               合并两个TXT文件中的标签到新TXT文件\n    copy                从指定标签复制图片文件\n    remove              从YOLO TXT文件中删除指定标签\n    change              修改标签索引\n    crop                图片裁剪\n    labelimg            labelimg 格式转换为 yolo 训练数据集\n    resize              修改图片尺寸\n    classify            图像分类数据处理\n\nAuthor: netkiller - https://www.netkiller.cn\n```\n\n### 标签管理\n\n```shell\n(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils label -h\nusage: yoloutils label [-h] [--source /tmp/dir1] [--classes] [--total] [--index] [--search 1 2 3 [1 2 3 ...]]\n\noptions:\n  -h, --help            show this help message and exit\n  --source /tmp/dir1    目录\n  --classes             查看 classes.txt 文件\n  --total               统计标签图数量\n  --index               统计标签索引数量\n  --search 1 2 3 [1 2 3 ...]\n                        搜索标签\n```\n\n### 合并标签\n\n```shell\n(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils merge -h\nusage: yoloutils merge [-h] [--left /tmp/dir1] [--right /tmp/dir2] [--output /tmp/output] [--clean]\n\noptions:\n  -h, --help            show this help message and exit\n  --left /tmp/dir1      左侧目录\n  --right /tmp/dir2     右侧目录\n  --output /tmp/output  最终输出目录\n  --clean               清理之前的数据\n\n\n```\n\n### 复制标签\n\n```shell\n(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils copy -h\nusage: yoloutils copy [-h] [--source SOURCE] [--target TARGET] [--label LABEL] [-u] [-c]\n\noptions:\n  -h, --help       show this help message and exit\n  --source SOURCE  图片来源地址\n  --target TARGET  图片目标地址\n  --label LABEL    逗号分割多个标签\n  -u, --uuid       UUID 文件名\n  -c, --clean      清理目标文件夹\n\n\n```\n\n### 删除标签\n\n```shell\n(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils remove -h\nusage: yoloutils remove [-h] [--source SOURCE] [--target TARGET] [--clean] [--classes 1 2 3 [1 2 3 ...]]\n                        [--label label1 label2 [label1 label2 ...]]\n\noptions:\n  -h, --help            show this help message and exit\n  --classes 1 2 3 [1 2 3 ...]\n                        标签序号\n  --label label1 label2 [label1 label2 ...]\n                        标签名称\n\n通用参数:\n  --source SOURCE       图片来源地址\n  --target TARGET       图片目标地址\n  --clean               清理之前的数据\n\n```\n\n### 修改标签 \n\n```shell\n(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils change -h\nusage: yoloutils change [-h] [--source /tmp/dir1] [--search 1 2 3 [1 2 3 ...]] [--replace 4 5 6 [4 5 6 ...]]\n\noptions:\n  -h, --help            show this help message and exit\n  --source /tmp/dir1    目录\n  --search 1 2 3 [1 2 3 ...]\n                        标签序号\n  --replace 4 5 6 [4 5 6 ...]\n                        标签名称\n\n\n```\n\n### 裁剪图片\n\n```shell\n(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils crop -h  \nusage: yoloutils crop [-h] [--source SOURCE] [--target TARGET] [--clean] [--model best.pt] [--output /tmp/output]\n\noptions:\n  -h, --help            show this help message and exit\n  --model best.pt       模型\n  --output /tmp/output  Yolo 输出目录\n\n通用参数:\n  --source SOURCE       图片来源地址\n  --target TARGET       图片目标地址\n  --clean               清理之前的数据\n\n```\n\n### labelimg 转 yolo 训练数据集\n\n```shell\n(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils labelimg -h\nusage: yoloutils labelimg [-h] [--source SOURCE] [--target TARGET] [--clean] [--classes CLASSES] [--val 10] [--uuid] [--check]\n\noptions:\n  -h, --help         show this help message and exit\n  --classes CLASSES  classes.txt 文件\n  --val 10           检验数量\n  --uuid             输出文件名使用UUID\n  --check            图片检查 corrupt JPEG restored and saved\n\n通用参数:\n  --source SOURCE    图片来源地址\n  --target TARGET    图片目标地址\n  --clean            清理之前的数据\n```\n\n### 修改图片尺寸\n\n```shell\n(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils resize -h  \nusage: yoloutils resize [-h] [--source SOURCE] [--target TARGET] [--clean] [--imgsz 640] [--output ]\n\noptions:\n  -h, --help       show this help message and exit\n  --imgsz 640      长边尺寸\n  --output         输出识别图像\n\n通用参数:\n  --source SOURCE  图片来源地址\n  --target TARGET  图片目标地址\n  --clean          清理之前的数据\n```\n\n### 图像分类数据处理\n\n```shell\n(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils classify -h\nusage: yoloutils classify [-h] [--source SOURCE] [--target TARGET] [--clean] [--output ] [--checklist ] [--test 100] [--crop] [--model ]\n                          [--uuid] [--verbose]\n\noptions:\n  -h, --help       show this help message and exit\n  --output         输出识别图像\n  --checklist      输出识别图像\n  --test 100       测试数量\n  --crop           裁剪\n  --model          裁剪模型\n  --uuid           重命名图片为UUID\n  --verbose        过程输出\n\n通用参数:\n  --source SOURCE  图片来源地址\n  --target TARGET  图片目标地址\n  --clean          清理之前的数据\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetkiller%2Fyoloutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetkiller%2Fyoloutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetkiller%2Fyoloutils/lists"}