Modify (web-)camera image
-
Hi guys,
I am wondering if it's possible to grab the local (web-) camera image, filter/process it using
QCamera
and maybe some additional libs like OCV and send "send it back", so that every standard app, which will access the local cam, will get the modified image.Probably OS/platform specific and probably not possible with Qt (C++) only, but maybe one of you can point in the right direction, so I know where to start :)
Thanks in advance
-
Hi,
If memory serves well, you want to implement what is know as a "virtual camera". AFAIK, OBS implements one. You might want to check it.
-
Thank you @SGaist
Found your reply here
Looks indeed not that easy to do, at least on Windows. Haven't searched for solutions which will work on Linux yet.
It was just an idea of mine :) Like creating my own webcam filter (or preprocessed images) and try it on the next video meeting :)
I know that each service or app has its own filters but I wanted to do some fancy stuff and play around with it a little... -
IIRC, OBS makes it virtual webcam usable to other applications. I haven't gone through their sources though so I currently don't know how they do it.
-