Comments (4)
Hi @danrossi,
Could you kindly provide the detailed steps you are following from our documentation, or alternatively, share the standalone code with us? This will help us to reproduce the issue and gain a better understanding of it.
Thank you!!
from mediapipe.
I'll find a vanilla code. Its actually the webgl post render on the same context. Hence binding the mask texture. Would be good somehow to apply the video texture the same to not have to reupload a video frame. It's already efficient enough but trying to improve it further.
from mediapipe.
Hi @danrossi,
We apologize for any confusion. Could you please confirm whether you are utilizing our new Task API as outlined in the documentation, or if you are still using our legacy Selfi Segmentation from here? Please note that support for legacy solutions has been discontinued, and they are no longer maintained. Our current focus is on enhancing our new Task APIs, so new features will only be added to those.
Thank you!!
from mediapipe.
I was tied up with massive VR upgrades to fix issues with my Safari hacks and apple vision I am sorry. I have put up a working test file. requesting media device isnt possible in jsfiddle.
You can see this bit I have to reupload the video frame even from within the same context. Hopefully rebinding the internal video texture on the offscreen canvas context from mediapipe is enough to render video to be mixed ? Im assuming its scaled down so can be rescaled ?
rendering in webgl is performing ok enough Ive done performance tests. Just that one last bit I am hoping for. Like applying the mask texture from mediapipe.
gl.activeTexture(gl.TEXTURE1)
gl.bindTexture(gl.TEXTURE_2D, videoTexture)
gl.uniform1i(frameTextureLocation, 1)
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, video);
https://electroteque.org/dev/mediapipe/
Example it working although I bundle it in, so haven't made an update for a while. I'll double check.
https://electroteque.org/plugins/videojs/rtcstreaming/demos/virtual-background/
from mediapipe.
Related Issues (20)
- Failed to get LLM params: INVALID_ARGUMENT: LLM model file is null HOT 6
- In my Flutter project, I use the blaze_face_short_range.tflite model and get output in the format [1, 896, 16] and [1, 896, 1]. Tell me how I can turn them into coordinates. HOT 4
- Selfie Segmentation vs Image Segmentation HOT 2
- Google Meet's model (image_segmenter) HOT 1
- Availability of previous version wheels HOT 3
- Detection of non-existent landmarks HOT 1
- Mediapipe with WebGL2... HOT 5
- MediaPipe shouldn't resize the external canvas HOT 4
- hair segmetation through medipipe code in python HOT 6
- Hair segmentation : ValueError: could not broadcast input array from shape (3,) into shape (337,325,4) HOT 6
- difference in results for landmarks and world_landmarks HOT 1
- <uses-native-library> missing in Android LLM Inference Guide HOT 3
- Allow cancelling ongoing async generation in LlmInference HOT 3
- Integrate MediaPipeTasksVision into dynamic framework throws Undefined symbols error HOT 1
- When will the new, improved blendshape prediction model v3 be implemented into Mediapipe? HOT 1
- Pose model failure reason
- Eyebrow Segmentation with Mediapipe in Python HOT 1
- online web demo and pre 0.10.x api yield better hand detection than their python tasks api equivalent HOT 8
- It is incorrect of using pose_landmark_full.tflite inference HOT 7
- Can't use MediaPipe in VisionOS development HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediapipe.