Skip to content

Commit

Permalink
Merge branch 'master' into cpu-friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
pangyuteng committed Jul 3, 2020
2 parents 7287ae7 + cceaf88 commit a0270e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ https://github.com/fangfufu/Linux-Fake-Background-Webcam
Finally, for those interested in the underlying bodypix. Here is a detailed blog post on this amazing open source library, there is even a live demo page!
https://blog.tensorflow.org/2019/11/updated-bodypix-2.html

If you just want a tl;dr... we grab image frames from the physical camera with OpenCV. For each image, the face/body is cropped with a pretrained neural net via TensorFlow.js Bodypix, and merged with a specified background image. The merged images are then continously generated and used to create a video feed via pyfakewebcam and v4l2loopback. The implementation is dockerized to 2 containers, with the `bodypix` container handling the body detection, while the `fakecam` container handles the rest of the image processing, and also interfacing with the physical and virtual camera devices.
If you just want a tl;dr... we grab image frames from the physical camera with OpenCV. For each image, the face/body is cropped with a pretrained neural net via TensorFlow.js Bodypix, and merged with a specified background image. The merged images are then continuously generated and used to create a video feed via pyfakewebcam and v4l2loopback. The implementation is dockerized to 2 containers, with the `bodypix` container handling the body detection, while the `fakecam` container handles the rest of the image processing, and also interfacing with the physical and virtual camera devices.

--

Expand Down

0 comments on commit a0270e4

Please sign in to comment.