yolo2coco
TypeScript icon, indicating that this package has built-in type declarations

4.1.5 • Public • Published

yolo2coco

NPM version build status Test coverage npm download

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.


MIT

Package Sidebar

Install

npm i yolo2coco

Weekly Downloads

1

Version

4.1.5

License

MIT

Unpacked Size

55.9 kB

Total Files

93

Last publish

Collaborators

  • santimir