Skip to content

Conversation

@shivshankar11
Copy link
Contributor

Added support for using selected webcam index as source. i wanted to use obs virtual camera output as source image.
be default its turned off with this args.
--src_webcam -1

This is my very first pull request on github, i am still learning python.

changed dri_video to dri_webcam.
Added webcam as source support
Added Webcam as source support.
Added Webcam as source support.
@warmshao
Copy link
Owner

Thank you! I will review soon

fixed logic , index -1 will disabled src_webcam
if int(args.src_webcam)>-1:
will update every 60th frame by default instead of every frame, to not tank performance, Pressing R will switch this to realtime mode.
 src_webcam_updateRealtime = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants