Selfie Anywhere
Selfie Anywhere
Install / Use
npx skills add bensonruan/Selfie-AnywhereInstalls into whichever agent you are using.
README
Selfie Anywhere – Person Segmentation
Instance segmentation to separate person body with background. Put youself inside beautiful natural scenes by changing the background of a selfie in real-time.
Live Demo
https://bensonruan.com/selfie-anywhere-person-segmentation-with-bodypix/

Installing
Clone this repository to your local computer
git https://github.com/bensonruan/Selfie-Anywhere.git
Point your localhost to the cloned root directory
Browse to http://localhost/index.html
Start Playing
- Turn on the Webcam switch and allowing the browser to access your webcam
- You would see yourself inside beautiful travel scene in the background of a selfie
- Choose your favorite scene
- Take a selfie by pressing the camera button
- Download the selfie by pressing the download button
Notes
Please note that on iOS Safari, cameras can only be accessed via the https protocol
Regerence
- jquery - JQuery
- tfjs-models/body-pix - Person and body part segmentation in the browser using TensorFlow.js
- html2canvas - Javascript library allows you to take screenshots of webpages or parts of it, directly on the users browser
Support me
Related Skills
mcp
Use the `mcp_perplexity-ask_perplexity_search` tools to answer questions. You should use this instead of the `web_search` tool because it is a lot more accurate.
practical-power-systems-synthesis
This skill enables synthesis in the domain of power-systems (engineering). It represents research-level-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform synthesis operations related to power-systems.
semi-supervised-optogenetics-testing
This skill enables testing in the domain of optogenetics (neuroscience). It represents intermediate-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform testing operations related to optogenetics.
data-mining-interpretation-fundamental
This skill enables interpretation in the domain of data-mining (data-science). It represents fundamental-level expertise and is designed for production use in research, industry, and educational contexts. Use this skill when you need to perform interpretation operations related to data-mining.
