fiftyone icon indicating copy to clipboard operation
fiftyone copied to clipboard

Adjusting of font size, box line thickness in the interface

Open amirassov opened this issue 3 years ago • 7 comments

Hello!

I have launched app. For example, using the following script:

import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset("quickstart")
session = fo.launch_app(dataset)

How can I adjust font size of class name and confidence, box thickness in the FiftyOne interface? image

Maybe there is a way to set these parameters in some config or other way?

amirassov avatar Jun 22 '21 10:06 amirassov

HI @amirassov.

We do not offer this setting at the moment. Is the an underlying reason you'd like to change font size and thickness?

This can be added at some point. Just trying to understand your issue.

benjaminpkane avatar Jun 22 '21 13:06 benjaminpkane

Thank you for the answer @benjaminpkane.

For me, it is hard to analyse images with many detections, because the thick box line, which contains information about class name, confidence and box of object cover most of the image (and objects).

Maybe it would be convenient to have options like:

  1. font size for information about object
  2. thickness of box
  3. hiding information about class and confidence
  4. etc. Screenshot 2021-06-22 at 16 25 07

amirassov avatar Jun 22 '21 14:06 amirassov

Thanks! We are adding zooming and panning, which should help with visibility issues. But adjusting font size and box thickness is also a possibility, so I'll leave this open.

benjaminpkane avatar Jun 22 '21 14:06 benjaminpkane

There is our case when images have huge number of boxes, so we can't see the image. Zoom solves this problem partially when zooming in, but we want to see the whole picture without labels texts, just squares.

image

bobokvsky avatar Sep 16 '21 12:09 bobokvsky

@amirassov @bobokvsky FYI you can use the settings menu to turn off label and confidence, in which case only the boxes will be rendered:

Screen Shot 2021-09-16 at 10 29 33 AM

In combination with zooming-in, this does give pretty reasonable resolution even in dense scenes:

Screen Shot 2021-09-16 at 10 34 25 AM

We still haven't gotten to adding support for customizing things like overlay transparency and line thickness in the App, although this is still in the backlog.

brimoor avatar Sep 16 '21 14:09 brimoor

Oh, thanks! This looks neat. image

bobokvsky avatar Sep 16 '21 16:09 bobokvsky

Thanks! We are adding zooming and panning, which should help with visibility issues. But adjusting font size and box thickness is also a possibility, so I'll leave this open.

That would be very helpful. Even disabling the labels leads to an overcrowded image in my special case.

sonovice avatar Jun 24 '22 11:06 sonovice