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 example_marmosets.ipynb
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.tar.gz
(40.8 kB
view hashes)
Built Distribution
Close
Hashes for deeplabcut2yolo-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0c9fb44e184dbc68822d8f0b9b7b1eea1f4183b5d8c1ebdad53f50e539eaa6b |
|
MD5 | a86e56e553e29792a8c3741ef7420719 |
|
BLAKE2b-256 | b11eeb95af9d0c479db614e20e4081fdeed38ee8b8eb8e38ca02b25f7e2c1c3e |