Giter Club home page Giter Club logo

yoro's Introduction

YORO: A YOLO Variant for Rotated Object Detection

YORO, extended from YOLO feature map encoding, is an algorithm performimg simultaneous realtime object detection and rotation detection.

The documentation project is here: https://github.com/jamesljlster/yoro-tutorial
But only Chinese version is available currently.
If you want an English version, please open an issue for it.
At least let me know you are interested in my project :D

The project is not stable yet.
There are no guarantes for API compatibility.

Feature Map Encoding and Decoding

  • YORO use the same bounding box encoding as YOLOv4:
    WongKinYiu/ScaledYOLOv4#90

  • As for degree, please refer to the following methods:

    • Constants

      Given:

      • Where

        is the minimum degree.
        is the maximum degree.
        is the degree partition size.
        is the origin of degree encoding axis.

    • Encoding



      • Where

        is normalized degree scalar.
        is degree partition index.
        is degree shift scalar based on corresponding partition.

    • Loss

      • Where

        is total degree loss.
        is output logits of degree partition.
        is output vector of degree shift.
        The lengths of both output logits and vector are the same as .

    • Decoding



      • Where

        is degree partition index prediction.
        is degree shift prediction.
        is decoded degree prediction.

Requirement

See requirements.txt for Python package dependencies.
The following dependencies need to pay attention:

  • PyTorch 1.9.0 and TorchVision 0.10.0

    Compatibilty with other versions is not guaranteed.

  • CUDA Toolkit & cuDNN

    If your PyTorch was built with CUDA support, please install the corresponding version of CUDA toolkit and cuDNN.

Optional dependencies:

  • [Optional] OpenCV 4.0.0+

    YORO C++ API optionally requires OpenCV C++ development package for providing cv::Mat inference interface support.

Collaboration Tools

  • ICANMark: Annotation tool for rotated bounding box.

Acknowledgement

Thanks ICAL Lab http://www.ical.tw/ for providing a good workstation for project development.

Citation

If this project helps your work, please kindly cite it :)

@unpublished{yoro,
    title={YORO: A YOLO Variant for Rotated Object Detection},
    author={Cheng-Ling Lai},
    note={Project URL: https://github.com/jamesljlster/yoro},
    year={2020}
}

Reference

yoro's People

Contributors

jamesljlster avatar

Stargazers

max 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.