samuel-s-marques / thisdatedoesnotexist-server

GNU General Public License v3.0
0 stars 0 forks source link

Implement person detection in the server #49

Open samuel-s-marques opened 7 months ago

samuel-s-marques commented 7 months ago

Is your feature request related to a problem? Please describe. Currently, the server checks for nudity in user-uploaded pictures, but it doesn't verify if there is a person in the image. This allows users to upload pictures that do not violate nudity policies but may not be suitable for a dating app, such as anime characters or objects.

Describe the solution you'd like I would like to have a feature that checks whether the user-uploaded picture contains a person. This could be achieved through image recognition technology to detect human faces or other characteristics indicative of a person's presence. If the image does not contain a person, the user should be prompted to upload a different picture.

Describe alternatives you've considered One alternative could be relying on user-reported content or complaints to identify and remove pictures that don't contain people. However, this would rely heavily on user engagement and may not be efficient or effective. Another alternative could be implementing a manual review process, but this would be time-consuming and could create delays for users.

Additional context Adding a person detection feature would enhance the content moderation process and help maintain the integrity of user profiles on the app. It would ensure that users upload pictures that are relevant and appropriate for a dating platform, improving overall user experience and safety.

samuel-s-marques commented 7 months ago

Maybe face-api.js is suitable for this. It must be fast and it would be used after checking for nudity.