Questions tagged [bodypix]
22 questions
0
votes
0 answers
How to remove background from webcam input in browser without greenscreen?
There are ways to remove background from webcam input in browser itself using tensorflow.js and body-pix model. Lot of example codes are given in internet using these but these examples does not work well and results are very laggy and not accurate…

Alok
- 7,734
- 8
- 55
- 100
0
votes
0 answers
BodyPix person segmentation not working as desired on Nodejs
I used the bodyPix model using script tag to import the libraries from CDN as described in the documentation. This works quickly and fine.
But when I am trying to use it on node.js using npm installation, it's taking a long time to segment and takes…

Taz
- 15
- 3
0
votes
1 answer
Tensorflow.js BodyPix very slow in browser for single image
I'm trying to create an in-browser background removal using tensorflow.js body-pix
While the online demo reaches ~10 frames per second on my computer, my code takes ~3 seconds for a single frame.
I mostly followed the example on the official…

LobsterMan
- 1,158
- 1
- 11
- 18
0
votes
1 answer
OpenCV BodyPix mask
I am trying to draw a mask over an image, the mask is the result of the processing done by body-pix (in NodeJS). I want to use OpenCV to draw the masks, instead of htmlcanva for performance reasons.
const segmentation = await…

patrol
- 21
- 5
0
votes
1 answer
BodyPix (Tensorflow.js) error: Unknown input type: [object ImageData]
I am trying to load images serverside (locally) using node.js so that I can run the segmentation functions on them.
In the BodyPix README it states that the segmentPerson function accepts ImageData object images:
"Params in segmentPerson()
image -…

Shaheen Alemi
- 1
- 1
0
votes
1 answer
single person detection in latest bodypix
When I try the bokeh segmentation effect using body-pix@1.0.0, It detects/segments the person (A) in front of the camera. If another person (B) is standing behind, away from A, B is being blurred out. If the person B comes very close to the contour…
-2
votes
1 answer
Implementing background blur with screen recording in JavaScript jquery
I'm trying to implement a background blur effect with screen recording.
currently, we are using the "api.video" library in our MVC project, but we can't find any features regarding this
can anyone help me?

Sourav Paria
- 91
- 9