OK, progress so far. Looking into the use of face-api.js to do this, with a chroma filter applied to green screen the background. my plan is to extract the face area, then make all the green bits transparent.
Work in progress, but getting there. I've hit a bit of an issue. This needs to run from a Linux machine.
I have Linux Mint 21 Xfce installed on an old PC, with a PS2 EyeToy set up as webcam. The webcam works well with other applications such as Cheese, but when I try to access it from my construct 3 game, I get nothing.
Permissions pops up, and I click the button to approve access, but nothing shows in the user media preview, and no pic is captured when I press a button.
This works on Windows 10/11 but on Linux I get no picture back with Chromium or Firefox.
Any advice welcome.
Event sheet is as follows:
Regards,
Al