Formats

YOLO Darknet TXT

Below, we show how to convert data to and from

YOLO Darknet TXT

. We also list popular models that use the

YOLO Darknet TXT

data format. Our conversion tools are free to use.

CONVERT To
CONVERT From
MODELS
EXAMPLE
Roboflow is a trusted solution for converting and managing your data. Today, over 100,000 datasets are managed on Roboflow, comprised of 100 million labeled and annotated images.

Once your data is in Roboflow, just add the link from your dataset and you're ready to go. We even include the code to export to common inference formats like TFLite, ONNX, and CoreML.

Below are pre-configured models that use the
YOLO Darknet TXT
data format
.

What computer vision models use YOLO Darknet TXT?

The

YOLOv3 PyTorch

,

YOLOv4 Darknet

,

YOLOv4 Tiny

,

models all use the

YOLO Darknet TXT

data format.

To see our entire list of computer vision models, check out the Roboflow Model Library.

Each image has one txt file with a single line for each bounding box. The format of each row is:

class_id center_x center_y width height
img0001.txt
1 0.408 0.30266666666666664 0.104 0.15733333333333333
1 0.245 0.424 0.046 0.08
darknet.labels
head
helmet
person
MANAGING over 100 million images for companies of all sizes

Join over 250,000 developers managing computer vision data on Roboflow.

VentureBeatTechCrunchInteresting EngineeringInternational Business TimesU.S. News & World ReportYahoo Finance