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

Adjust previews so marked person is visible #91

Closed
illnesse opened this issue Oct 22, 2022 · 17 comments
Closed

Adjust previews so marked person is visible #91

illnesse opened this issue Oct 22, 2022 · 17 comments
Labels
feature New feature or request

Comments

@illnesse
Copy link

illnesse commented Oct 22, 2022

Example: marked person isn't visible in preview, only in full view, but then there's no green rectangle and you can't be sure which face is being referenced:

Screenshot_20221022-230725

Basically we need to make sure the green rectangle is visible in previews, sounds like a lot of fun math 😅 not sure how I'd do it, maybe something like this..

  • check if all 4 corners are in view
  • if not -> adjust view so they are (with some min padding to the edge)
  • if green rectangle/face is cut off in photo -> do more math idk 🙋
@pulsejet
Copy link
Owner

Did you run occ memories:index -f after upgrading to v4.3? Or is this on mobile?

@pulsejet pulsejet added bug Something isn't working feature New feature or request and removed bug Something isn't working labels Oct 22, 2022
@illnesse
Copy link
Author

Screenshot is from mobile, what does the -f do? I haven't ran index for a while

@pulsejet
Copy link
Owner

Makes sense. Not sure how this could be fixed though; let's see.

You need to run index after the 4.3 update because exiftool also stores the image size now (needed for the tiled layout). -f forces a re-run and indexes all images.

@illnesse
Copy link
Author

Ok it's doing its thing now.
I got this:
Exiftool not found: /var/www/nextcloud/apps/memories/lib/../exiftool-bin/exiftool/exiftool
Exiftool not found: /var/www/nextcloud/apps/memories/lib/../exiftool-bin/exiftool-amd64-glibc
But guess it found it elsewhere
Also a few random Exiftool may have crashed, restarting process but seems fine

@pulsejet
Copy link
Owner

Weird. Are you running off git or installed from the app store?

@illnesse
Copy link
Author

illnesse commented Oct 22, 2022

git actually but nextcloud forced me to update from the store as well

whereis exiftool
exiftool: /usr/bin/exiftool

@pulsejet
Copy link
Owner

Then you need to run make exiftool to download exiftool first. Memories ships with it's own version now.

@illnesse
Copy link
Author

Thanks, better now, ill test the layout when it's done indexing 👍🏼

@illnesse
Copy link
Author

That fixed it

@illnesse
Copy link
Author

Just to make sure, mobile always has the square layout right? So this issue actually still exists on mobile. But low priority imo, as long as desktop works

@sirdrakeistda
Copy link

sirdrakeistda commented Oct 28, 2022

Just to make sure, mobile always has the square layout right? So this issue actually still exists on mobile. But low priority imo, as long as desktop works

Can you show an image how it should look? I've never seen a green rectangle, neither on desktop or mobile.

@illnesse
Copy link
Author

Can you show an image how it should look? I've never seen a green rectangle, neither on desktop or mobile.

You need to tick the box in the menu in the upper right

@sirdrakeistda
Copy link

There is no box for me in the upper right. There is the option to merge or remove persons. The only checkbox I see is the checkbox for every image. Activating this does not show a rectangle for me.

@pulsejet
Copy link
Owner

@sirdrakeistda To be sure, is this activated? #79 (comment)
Also you need to refresh the page after ticking that.

@sirdrakeistda
Copy link

I'm confused at the moment. Are memories and recognize two different apps? I only installed recognize (because only this app was suggested in the photo app).
nextcloud/recognize#429 (comment)

@pulsejet
Copy link
Owner

pulsejet commented Oct 28, 2022

Are memories and recognize two different apps?

Umm yeah. https://apps.nextcloud.com/apps/memories
Memories is a separate photo viewer like Photos that also uses faces from the recognize app.

@pulsejet
Copy link
Owner

Thumbs aren't cropped anymore 🎉

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

No branches or pull requests

3 participants