Git Product home page Git Product logo

Comments (4)

JonathanHUnity avatar JonathanHUnity commented on May 26, 2024 1

As of Release-0.8.0-preview.2, you can now control the labeling by enabling or disabling the Lableing component. Thanks for the request!

from com.unity.perception.

mkamalza avatar mkamalza commented on May 26, 2024

Hi,

This functionality is unfortunately not supported currently. If a Labeling component is enabled when the player starts, it will remain active in ground truth generation, even if disabled midway through.

Can you please elaborate a bit more on your specific use case and tell us which labeler you are using? This way, we may be able to recommend workarounds or provide you with some custom code to help you overcome this issue.

from com.unity.perception.

RocketFan avatar RocketFan commented on May 26, 2024

Hi, thanks for quick replay.

I want to have only labeled thoes objects that are inside max distance to perception camera and thoes that are not cropped, as in the image below.

shapes_labeling

from com.unity.perception.

mkamalza avatar mkamalza commented on May 26, 2024

Thank you for the explanation. We are hoping to add this functionality soon, but for the time being, there are a few things you could try that might work:

  • For each labeled object you could have two clones. You only assign the Labeling component to one clone, and at any given time only one of these objects has enabled renderers. When you need to disable labeling, you would switch on the renderers of the object that does not have a labeling component, and vice versa.
  • A simpler workaround would be to just disable rendering on the objects that you do not wish to have labeled. Depending on how much this affects the eventual performance of the model trained on this data, it might be a viable solution.
  • The RenderedObjectInfo labeler produces a metric for the number of visible pixels of each labeled object in the output dataset. You could process the output after the fact to filter out objects that have fewer than a certain threshold number of visible pixels. This may be a viable workaround if there is a direct relation between the visible size of the objects and their distance to the camera.

from com.unity.perception.

Related Issues (20)

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.