Skip to main content

YOLO label utils

Project description

yoloutils

YOLO Utilities

requirements

pip install --upgrade pip
# pip install -r requirements.txt
# pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
# PS D:\workspace\medical> .\.venv\Scripts\pip.exe install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

Install

setuptools

    $ pip install setuptools wheel twine
	$ cd /usr/local/src/
	$ git clone https://github.com/netkiller/yoloutils.git
	$ cd yoloutils
	$ python3 setup.py sdist
	$ python3 setup.py install --prefix=/srv/yoloutils

RPM 包

    $ python setup.py bdist_rpm

Windows 文件

    $ python setup.py bdist_wininst

Deploy Pypi

	$ pip install setuptools wheel twine
	$ python setup.py sdist bdist_wheel
	$ twine upload dist/netkiller-devops-x.x.x.tar.gz 

pyproject.toml

pip install build
python -m build
pip install dist/yoloutils-0.0.1-py3-none-any.whl --force-reinstall

(.venv) neo@Neo-Mac-mini-M4 yoloutils % yoloutils
usage: yoloutils [-h] {label,merge,copy,remove,change,crop,labelimg,resize,classify} ...

Yolo 标签工具

options:
  -h, --help            show this help message and exit

subcommands:
  valid subcommands

  {label,merge,copy,remove,change,crop,labelimg,resize,classify}
                        additional help
    label               标签处理工具
    merge               合并两个TXT文件中的标签到新TXT文件
    copy                从指定标签复制图片文件
    remove              从YOLO TXT文件中删除指定标签
    change              修改标签索引
    crop                图片裁剪
    labelimg            labelimg 格式转换为 yolo 训练数据集
    resize              修改图片尺寸
    classify            图像分类数据处理

Author: netkiller - https://www.netkiller.cn

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netkiller_yoloutils-0.0.1.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netkiller_yoloutils-0.0.1-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file netkiller_yoloutils-0.0.1.tar.gz.

File metadata

  • Download URL: netkiller_yoloutils-0.0.1.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for netkiller_yoloutils-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6f8cb49a34dd4b90bb7c46a56a17672e1c03035d3255401f2399187f801d0dd7
MD5 2aaa6680ac70fc6b8b1159357b68c18b
BLAKE2b-256 acf7ed1a2fa76520b129e2a59cd8f9cf27c1909451b2c31ffbf56995097fac9f

See more details on using hashes here.

File details

Details for the file netkiller_yoloutils-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for netkiller_yoloutils-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c1494d1cbfdf2d36af738b53859069ab77d88482471cd0f201d9e4d06cb2b9a
MD5 7295f1385f0ef82f5c561397f8e14d70
BLAKE2b-256 52dfce95c7ac461cec62d740f5351378edac608146458e87e3ef01db5fa23349

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page