Convert DeepLabCut dataset to YOLO format
Project description
deeplabcut2yolo
Convert DeepLabCut dataset to YOLO format
Quick Start
import deeplabcut2yolo as d2y
json_path = "./deeplabcut-dataset/labels.json"
csv_path = "./deeplabcut-dataset/collected_data.csv"
root_dir = "./deeplabcut-dataset/images/"
d2y.convert(json_path, csv_path, root_dir, datapoint_classes=[0, 1], n_keypoint_per_datapoint=30)
To install deeplabcut2yolo using pip:
pip install deeplabcut2yolo
See example in the examples/ directory.
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
deeplabcut2yolo-1.1.1.tar.gz
(40.9 kB
view hashes)
Built Distribution
Close
Hashes for deeplabcut2yolo-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85f4530827caa34dd6d5b1778bfc3700767503c4b882cdf7445e01ec4efcbcb9 |
|
MD5 | bb02c414ecd539db846e8e5886bd3b1b |
|
BLAKE2b-256 | 8ef025551eeec8bf3a52866910a7ac69371549ba77fce77bd39a0a3fa4684cbd |