Giter VIP home page Giter VIP logo

gmr-saliency's People

Contributors

automata avatar bergie avatar greenkeeperio-bot avatar jonnor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gmr-saliency's Issues

Clean up result

Now we have the following as result:

saliency:
  bounding_rect: <array of arrays as points> box around biggest salient region
  polygon: <array of arrays as points> approximate polygon around biggest salient region
  center: <array as point> center of biggest salient region
  radius: <number> radius of the approx enclosing circle around biggest salient region

We should have the following, preserving the original fields for a while:

saliency:
  bbox: <array of objects> box around all regions
  confidence: <number> inverse/normalized entropy of saliency map histogram
  regions: <array of objects> [ 
    bbox: <array of objects> box around salient region
    polygon: <array of objects> polygon around salient region
    center: <object> center point of salient region
    radius: <number> radius of the approx enclosing circle around salient region
  ]

In this way, we should remove saliency.bounding_rect, saliency.polygon, saliency.center and saliency.radius because a saliency is composed by many regions. The only information regarding all those regions is the saliency.bbox that encloses them. If one wants to draw or use polygon of the saliency, it should iterate over all saliency.regions's bboxes.

We also should have a standard object to bboxes ({x: ?, y: ?, width: ?, height: ?}) and points ({x: ?, y: ?}).

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.