Open ghost opened 6 years ago
You could use it to make potentially nsfw images sfw! However that would require you to have a trained model for that purpose...
@Orinion Fine. I will do it.
Privacy. I have a helmet camera which isn't really legal due to privacy reasons, but should be fine if I remove people from it (as google street view does). Curious if raspberry pi will be able to process a single frame in 30ms.
@sadovnychyi Nope a RPi won't. I tried to do it with a video livestream but it wouldn't even be close to 30ms per image. (CPU was a Ryzen 1700x)
@ThoughtfulDev how do the specs compare to a latest model iOS or Android device? I have a RPi 2, not a 3b but I thought the 3b was getting closer to single frame in 30ms?
@rudolfolah I ran the following command and it took ~14.71 seconds on a Intel i5-3320M.
python person_blocker.py -i images/img1.jpg -o "person"
I just blocked every person in the example Image. I timed the execution right after loading the weights so it took 14 seconds to load the picture,run the prediction, noise the persons and save the picture (not the gif).
So i think a GPU would make this way faster and a RPi would cripple when running this i guess.
Running a segmentation net in real-time on a mobile device (such as a helmet) would require something like an Nvidia Jetson TX2 . Even then, I'm unsure if it would be able to perform segmentation at 30 FPS realtime. Maybe 2 TX2s computing in parallel? Maybe 3? I'd love for someone to try it. Seems like it'd be a cool weekend project.
what are the ethical uses for something like this? is there a way to prevent this from being misused? I imagine it won't be too difficult soon to actually have AR that does this.