charlielito/snapchat-filters-opencv

Amazing stuff

Opened this issue · 1 comments

hello there I just came across your project and I must say its amazing well done. I have a few questions if you could please answer them.

  1. Can I use your project on a single arm board like a raspberry pi? I understand it has limited capabilities but the latest raspberry pi is as good as a desktop.

  2. With regards to the effects, is it possible to create my own? I.e. I have many glasses and I would like to take a picture of them and try it on my girlfriend who lives in another country?

Thank you

Hi!

  1. Sure, it could run just fine. The dlib implementation is slightly heavier but maybe it can run fast enough! Let me know if you try that!
  2. Yes, you just need to take a picture of the glasses and then using your favorite image edition tool (like GIMP), add an alpha channel and segment out the the glasses and set to transparent everything else, like the images in sprites. Then just save your image in sprites directory and modify the code to read your just created image.