Code Monkey home page Code Monkey logo

draw-yolo-box's Introduction

Draw YOLO boxes

[中文]

Draw bounding boxes on original images based on yolo format annotation. It can help you checking the correctness of annotation and extract the images with wrong boxes. You can use makesense.ai to re-annotate them.

Usage

Draw bounding boxes

  1. Put all of your raw images in ./raw_images/ folder.
  2. Put all of your annotation files(YOLO format txt) in ./labels/ folder.
  3. Write your class information into classes.txt.
  4. Run python draw_box.py in your terminal.

Now you have the images with bounding boxes in the ./save_image/ folder.

Extract the corresponding raw images

  1. Put the images with incorrect boxes into ./wrong/ folder.
  2. Clean up ./save_image/ folder.
  3. Run python get_origin_image.py in your terminal.

Now you have the raw images which were annotated incorrectly in the ./save_image/ folder.

Others

Thanks for 批量将yolo-v3检测结果在原图上画矩形框显示. I modified the code and enhanced its ease of use, added multi-label processing and labeling of category names, and provided a method to obtain the original image.

draw-yolo-box's People

Contributors

waittim avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.