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

Avatar Photo should display a human being #980

Open
wintermeyer opened this issue Aug 29, 2024 · 6 comments
Open

Avatar Photo should display a human being #980

wintermeyer opened this issue Aug 29, 2024 · 6 comments
Assignees
Labels
AI Artificial Intelligence enhancement New feature or request
Milestone

Comments

@wintermeyer
Copy link
Collaborator

When ever an avatar photo is uploaded or edited we should check if that photo really displays a human being or if it is a dog/cat/whatever or a smiley. It doesn't have to be a 100% solution but we should be able to filter out most of the "funny" ones.

@Kimutai01 You are Mr. AI. 😉 Please check if there is a https://ollama.com compatible AI that we can use for this and tell me which one it is. Do you want to implement this feature? I don't know how we can do this because it should be something similar to a validation. Maybe we do it as a validation and pay the price for it.

@wintermeyer wintermeyer added the enhancement New feature or request label Aug 29, 2024
@wintermeyer wintermeyer added this to the MVP milestone Aug 29, 2024
@wintermeyer wintermeyer changed the title Avatar Photo should be a human being Avatar Photo should display a human being Aug 30, 2024
@wintermeyer
Copy link
Collaborator Author

Example of an avatar that shouldn't be valid: https://animina.de/Linus

Bildschirmfoto 2024-08-30 um 11 25 45

@Kimutai01 Kimutai01 added the in progress Somebody is working on this issue label Sep 5, 2024
@Kimutai01
Copy link
Collaborator

@wintermeyer
This is a very interesting issue.
I'll have a look, though the image AI still hallucinates a bit, but I'll look into it.

@wintermeyer
Copy link
Collaborator Author

80% is good enough.

@wintermeyer wintermeyer added the AI Artificial Intelligence label Sep 9, 2024
@Kimutai01
Copy link
Collaborator

@wintermeyer
In your opinion, should we invalidate the photo when uploaded or afterwards? using something like oban

@wintermeyer
Copy link
Collaborator Author

@wintermeyer In your opinion, should we invalidate the photo when uploaded or afterwards?

Good question. Ideally we should invalidate it when uploaded. But that depends on the time it takes to run the AI. I don't want the user to have to wait for it too long. And we should display some sort of sandclock or status bar or anything to make it obvious what happens right now in case the user has to wait.

using something like oban

That can become a foot gun pretty fast. Search for "Oban" in the issues and see what I am talking about.

@Kimutai01
Copy link
Collaborator

@wintermeyer
For this I will also use genserver genstage setup to queue the images in the background same to the one for tracking.
I'm assuming this implementation should also apply to the story images,

@Kimutai01 Kimutai01 removed the in progress Somebody is working on this issue label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Artificial Intelligence enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants