Giter VIP home page Giter VIP logo

Comments (7)

hamidzr avatar hamidzr commented on June 15, 2024 1

Hi, are you talking about the virtual background? Currently there is no user facing flag to pick your own image since I mostly use the backgroud blur or the face tracking feature.
For a no-code solution to what you're asking I'd look in the config file here or just replace the image file in the data directory with whatever you want. Getting the image to resize properly depending on your image size, input and output frames might be tricky.
I'll add this as a feature request.

from webcam-mods.

hamidzr avatar hamidzr commented on June 15, 2024 1

update the issue I was seeing was due to a corrupted config file

I created an issue for this to track it.

Thank you. Replacing bg.jpg did the trick. I would love to use the blur option but it's very thin and the suroundings are very visible. Can you make it more opaque?

I can look into adding an option to make the bluriness configurable. maybe a --blur-level

from webcam-mods.

hamidzr avatar hamidzr commented on June 15, 2024 1

looks like I already had written that feature as well. entry.py bg-blur --kernel-size 92 no changes needed. the default kernel size is 31 and you can make increase it to get a stronger blur. in general use --help with any of the commands to get more options. let me know if that solves it

from webcam-mods.

mozo78 avatar mozo78 commented on June 15, 2024 1

Yes, it's working great! Thank you very much!!!

from webcam-mods.

hamidzr avatar hamidzr commented on June 15, 2024

nvm there is an option that I put in a while back python entry.py bg-swap --help however I do get some frame sizing issues

update the issue I was seeing was due to a corrupted config file

from webcam-mods.

mozo78 avatar mozo78 commented on June 15, 2024

Hi, are you talking about the virtual background? Currently there is no user facing flag to pick your own image since I mostly use the backgroud blur or the face tracking feature. For a no-code solution to what you're asking I'd look in the config file here or just replace the image file in the data directory with whatever you want. Getting the image to resize properly depending on your image size, input and output frames might be tricky. I'll add this as a feature request.

Thank you. Replacing bg.jpg did the trick. I would love to use the blur option but it's very thin and the suroundings are very visible. Can you make it more opaque?

from webcam-mods.

mozo78 avatar mozo78 commented on June 15, 2024

I can look into adding an option to make the bluriness configurable. maybe a --blur-level

This would be great! I'll wait eagerly :)

from webcam-mods.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.