voxel51/fiftyone

[FR] Add keyboard shortcut to switch between media fields

Open

#2,307 opened on 2022年11月15日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Python (4,021 stars) (400 forks)batch import
appenhancementgood first issue

説明

Proposal Summary

A keyboard shortcut to switch between media fields(especially in expanded view). For example, 0 opens the default("filepath") media, 1 opens the other media.

Motivation

  • What is the use case for this feature?

When I use Multiple Media Fields, I like to focus on specific part of an image as I switch between different media fields. This use case is similar to using a heatmap(like GradCam output) as another media field(instead of Heatmap label). So as I focus on a part, I need to switch the media field so that I can see how that specific part looks like in the other media.

Other settings in the "Display Options" are rarely used again once set, but Multiple Media Fields are frequently used.

  • Why is this use case valuable to support for FiftyOne users in general?

This is directly related to efficient use of Multiple Media Fields feature.

  • Why is it currently difficult to achieve this use case?

The problem is sometimes the part I like to focus is covered by the "Display Options" panel. I have to keep that panel(modal) on for quickly switching between the media fields. However, it is not possible to see that (right top) part of the image if I keep that tall panel(modal) on. .Note also that the panel(modal) with Multiple Media Fields got taller with v18.

image (3)

What areas of FiftyOne does this feature affect?

  • App: FiftyOne application
  • Core: Core fiftyone Python library
  • Server: FiftyOne server

Details

  • A solution would be replacing Multiple Media Fields options on the sidebar instead.
  • A workaround solution (although not a good solution) would be zooming out in such cases, but unfortunately zoom level does not persist. (Zoom level persistence is addressed in another issue)
  • A shortcut key would work quite well to address this problem.

コントリビューターガイド