Giter Site home page Giter Site logo

trick_for_algorithm's Introduction

##some tricks for algorithm

caculate_occlusion (粗略计算障碍物之间的遮挡关系)

该方法可以粗略计算物体之间的遮挡关系,计算量小,使用于精度要求不高的场景,步骤如下:

  • 划分扇形面,这里以12度为单位划分可以划分成15的等分(为了使得前向180度的空间可以左右对称并且正前方在同一个区域,所以建议划分为奇数份)
  • 计算每一个障碍物所落的区域,并划分开
  • 在每一个区域内取距离原点最近的物体即可

caculate_score (计算加权距离)

该方法通过计算欧式距离和物体之间的iou覆盖率(不直接使用IOU是因为来自多个sensor的结果可能会在分裂情况),可以得到物体之间的加权匹配距离,步骤如下:

  • 计算欧式距离,并设置一个阈值内的量为得分为1,超过阈值则归一化为0~1
  • 计算IOU cover,因为存在分类或者覆盖的情况,故取互相覆盖面积的较大者
  • 通过权重分配计算加权距离分数

trick_for_algorithm's People

Contributors

depeiyan avatar

Watchers

 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.