yolo2coco
v4.1.5
Published
Basic Yolo to Coco conversion
Downloads
26
Maintainers
Readme
yolo2coco
Basic Yolo-to-Coco conversion tool. Converts YOLO v4-5-6-7-8.
npm install yolo2coco
Usage
import { yoloV4ToCoco, yoloV5ToCoco/* etc */ } from 'yolo2coco';
yoloV4ToCoco("./path/to/folder").then(r=>console.log(Object.keys(r))
//yoloV5ToCoco("./path/to/data.yaml").then(r=>console.log(Object.keys(r))
You can use fs.writeFileSync("out.json", JSON.stringify(resultX))
to write out.