Replace personal identifiable information with avatar
Has anyone ever replaced a user's information with a non-identifiable avatar in a table on a dashboard?
Here is the use case:
We want to show a snapshot of what was recently watched on our video streaming platform. Our model is that a group buys a subscription, and then all its members can use the platform and watch videos. We have group admins who want to see what their members are watching, at the level of: who is watching, and what video.
However, we don’t want to display the user’s name or email to the admin to keep their privacy. We only want to show if the same person is watching multiple videos, vs many people watching single videos. Thus, we want to display an avatar for them instead (Ex: Google does "anonymous animals" when you are in Google Sheets)
Any ideas on the best way to do this? I could certainly create a dataset of avatars, then use a modular to join them to users in the group, but wondering if there is a better way. Thanks!
Best Answers
-
There are various ways I could think to tackle this. In one scenario, I wrote a bingo program where I randomly selected from a thousand avatar images that I had created using AI. I stored a few thousand and made sure they balanced out demographically - race, gender, etc. If my data knew the gender and race, it fit the avatar accordingly. Sort of a lengthy process though.
Another way I have done this is with simple silhouette avatars. I only had about a dozen representing genders, and some generics features like long hair, short hair, curly hair, etc.
I have also done it with an avatar generator. Where I let the user select from four panels. A head, torso, legs, and feet to comprise a custom avatar. You can do the same using random numbers from 0 to the number of images you have created for each panel.
I think the easiest approach is to create a set of avatars, and name them all with a number value in the filename. Then use a random number to pull a random image. The more images you have, the less chance of duplication.
Here's my batch file code for renaming all files in a folder. Where it shows prefix, change that to the prefix you want in the filename. In this case, the result would be something like "asian_female_01.png", "asian_female_02.png".** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1 -
In Domo, if I want to display an image, I call up images that are hosted on a website I control. I shared the code on a link this morning. Read recent discussions and you will find it. I can repost it here if needed.
I've done it by storing files in a database in image format, but that wasn't in Domo.
Or, I store the images in their own native graphic format on a web server in png or jpg. (I prefer png because it allows transparent backgrounds when needed.) This structure would be in a subfolder to my application such as /images. Then I call the images by path to the image file.After I have associated the image to the user, I can display the image anywhere.
The same method could be used in Domo. You could host image files on a web location and reference the file with the link code I mentioned. I'm currently doing this to display real people's photos on a profile page.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Answers
-
There are various ways I could think to tackle this. In one scenario, I wrote a bingo program where I randomly selected from a thousand avatar images that I had created using AI. I stored a few thousand and made sure they balanced out demographically - race, gender, etc. If my data knew the gender and race, it fit the avatar accordingly. Sort of a lengthy process though.
Another way I have done this is with simple silhouette avatars. I only had about a dozen representing genders, and some generics features like long hair, short hair, curly hair, etc.
I have also done it with an avatar generator. Where I let the user select from four panels. A head, torso, legs, and feet to comprise a custom avatar. You can do the same using random numbers from 0 to the number of images you have created for each panel.
I think the easiest approach is to create a set of avatars, and name them all with a number value in the filename. Then use a random number to pull a random image. The more images you have, the less chance of duplication.
Here's my batch file code for renaming all files in a folder. Where it shows prefix, change that to the prefix you want in the filename. In this case, the result would be something like "asian_female_01.png", "asian_female_02.png".** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1 -
@ArborRose Thanks, that's helpful. What type of file are you using to store the avatar images?
0 -
In Domo, if I want to display an image, I call up images that are hosted on a website I control. I shared the code on a link this morning. Read recent discussions and you will find it. I can repost it here if needed.
I've done it by storing files in a database in image format, but that wasn't in Domo.
Or, I store the images in their own native graphic format on a web server in png or jpg. (I prefer png because it allows transparent backgrounds when needed.) This structure would be in a subfolder to my application such as /images. Then I call the images by path to the image file.After I have associated the image to the user, I can display the image anywhere.
The same method could be used in Domo. You could host image files on a web location and reference the file with the link code I mentioned. I'm currently doing this to display real people's photos on a profile page.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive