You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is a virtual camera that will be made using OpenCV which will enable user to hide his/her face during video call and only outline of their face will be seen.
There are many reasons when users don't wish to show their face and don't want the other person to recognize their identity from their voice. In simpler words, users wish to hide identity and at the same time have a video chat. There can be various examples like medical help, or if the judge has to provide an unbiased verdict without knowing someone's race, gender, etc. For such reasons, we can use just an outline of the face and the speech will be converted into text and will be displayed below the video.
14
+
15
+
## Short description of package/script
16
+
17
+
- This program uses virtual camera technique to convert open cv video output stream into camera input
18
+
- It is necessary to have OBS virtual camera plugin to be installed
19
+
- When the user runs vcam.py file the virtual camera will be started and he/she can use that camera in any meeting application
20
+
- Also user can speak through their microphone and text will be displayed.
21
+
22
+
23
+
## Workflow of the Project
24
+
25
+
1. User face is captured and send into script
26
+
2. Face mesh is created and placed on plain canvas
27
+
3. At same time user microphone input is taken and converted into text
28
+
4. This is saved in text file and then retrieved from there into program function
29
+
5. Text is placed in image and send to virtual camera
30
+
6. This image now can be displayed in video chat
31
+
32
+
33
+
34
+
## Setup instructions
35
+
36
+
1. Install OBS virtual camera plugin
37
+
2. Attach Webcamera and Microphone to PC
38
+
3. Run vcam.py script
39
+
4. You can optionally change the image of mask, color of face outline and also background
40
+
5. Open any meet application and in camera section select OBS virtual camera
41
+
6. You should see privacy virtual camera output on the screen
42
+
43
+
## Compilation Steps
44
+
45
+
This program using multiprocessing and it runs 2 functions i.e. "takesinput" and "program" simultaneously.
46
+
When user runs the script a plain canvas of specified solid color is created.
47
+
On that the face mesh is placed using mediapipe library
48
+
Also a face mask can be applied on eyes.
49
+
The face mask are placed according to the eye position and also size is mantained in respect of face dimensions.
50
+
In takesinput function the microphone input is converted into text using speech recognition library and displayed on the canvas
51
+
This image is then send to virtual camera and can me used in any meet application
0 commit comments