Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature suggestion - 'show all' link, that will display tooltips for all identified people in a picture #60

Open
stncrn opened this issue Sep 4, 2022 · 1 comment
Assignees

Comments

@stncrn
Copy link

stncrn commented Sep 4, 2022

Hello,

First of all, a big thanks for your work on this module.

I'd like to suggest a new feature :
Adding a show all link/button below the names list, that, on hover, will do the same than each name-link of the list : display the name of all identified people on the image, but this time, all at once.

I tried a naive
$('.faces-person-name').trigger('mouseover')
then tried to iterate manually
$('.faces-person-name').each(function(){$(this).trigger('mouseover');});

but I only manage to have a single tooltip at the time (the last of the list).
However, all blue frames are properly drawn.

image

I'm having trouble in identifying why only one tooltip stays active at the time, an how to change this behaviour.

I know that, on a picture like this one, several tooltips will be overlapping.
A solution may be to have instead a highlight all known faces switch, that will activate/deactivate all the blue frames, then the user may perform a regular mouseover on names or faces to show the tooltips. On mouseout, the blue frames will stay there, until the highlight all known faces is disabled.

@UksusoFF
Copy link
Owner

@stncrn
Check latest master version
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants