Formats
YOLO Darknet TXT

YOLO Darknet TXT

The favored annotation format of the Darknet family of models.
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
EXAMPLE

Convert Data to YOLO Darknet TXT

Use Roboflow to convert
YOLO Darknet TXT
to the following formats.

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

With Roboflow, you get a solution with:

Free data conversion

SOC II Type 2 Compliant

Trusted by 250,000+ developers

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