Home

Awesome

YOLOv3 with quadrangle

Reimplementation of YOLOv3 with quadrangle

This is a reimplementation of YOLOv3: An Incremental Improvement and is based on Ultralytics LLC's PyTorch implementation. This work detects obejcts in arbitrary directions with quadrangle, and implemented on ICDAR2015 text dataset for example.

Requirements

Train

Check the -data_config_path and -cfg in train.py.

Dataset folder is organized as follows:

The label format: class x1 y1 x2 y2 x3 y3 x4 y4

For example (0 493 115 519 115 519 131 493 131)

$ python3 train.py

Train for your own dataset

Inference

Checkpoints are saved in weights.

$ python3 detect.py