Open DebasisDa opened 1 month ago
Hi @DebasisDa,
You are currently using the legacy Selfie Segmentation solution, which has undergone a significant upgrade. The corresponding model and implementation have been modified, and it is now integrated into Image Segmentation Task API. Detailed information about this upgrade is available in the documentation, and the legacy solution is no longer supported from our end or maintained.
For the updated solution, please refer to the Image Segmentation overview page first. Follow the provided instructions for setting up the solution on the web. Additionally, you can find the Selfie Segmentation model on the same page and utilize it for segmenting selfie faces.
If you encounter any similar behavior in the new model, we kindly request you to report it. Your feedback is valuable as we continue to enhance and improve our solutions.
Thank you!!
ok. Let me check Image Segmentation. Will update here my update. Thanks @kuaashish
Hi @DebasisDa,
Could you please provide an update on the status of this? If so, sharing an example could assist other community members with our new Task API. If this issue is resolved on your end, we can proceed to close it and mark it as resolved internally.
Thank you!!
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Windows 11 Enterprise
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
Google chrome - Version 125.0.6422.78 (Official Build) (32-bit)
Programming Language and version
Javascript ( React.js )
MediaPipe version
@mediapipe/selfie_segmentation: "0.1.1632777926"
Bazel version
No response
Solution
Selfie Segmentation
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
mediapipe/selfie_segmentation should works the same way as in main thread
Describe the expected behaviour
Brower Error : (anonymous) @ selfie_segmentation.js:51 ta @ selfie_segmentation.js:14 next @ selfie_segmentation.js:15 h @ selfie_segmentation.js:40 Promise.then (async) g @ selfie_segmentation.js:40 (anonymous) @ selfie_segmentation.js:40 Y @ selfie_segmentation.js:40 Pb @ selfie_segmentation.js:49 (anonymous) @ selfie_segmentation.js:58 ta @ selfie_segmentation.js:14 next @ selfie_segmentation.js:15 (anonymous) @ selfie_segmentation.js:40 Y @ selfie_segmentation.js:40 push../node_modules/@mediapipe/selfie_segmentation/selfie_segmentation.js.D.initialize @ selfie_segmentation.js:58 (anonymous) @ selfie_segmentation.js:59 ta @ selfie_segmentation.js:14 next @ selfie_segmentation.js:15 h @ selfie_segmentation.js:40 Promise.then (async) g @ selfie_segmentation.js:40 (anonymous) @ selfie_segmentation.js:40 Y @ selfie_segmentation.js:40 push../node_modules/@mediapipe/selfie_segmentation/selfie_segmentation.js.D.send @ selfie_segmentation.js:59 (anonymous) @ selfie_segmentation.js:75 ta @ selfie_segmentation.js:14 next @ selfie_segmentation.js:15 (anonymous) @ selfie_segmentation.js:40 Y @ selfie_segmentation.js:40 push../node_modules/@mediapipe/selfie_segmentation/selfie_segmentation.js.D.send @ selfie_segmentation.js:75 (anonymous) @ worker.js:27 selfie_segmentation.js:51 Refused to execute script from 'https://cdn.jsdelivr.net/npm/@mediapipe/selfie_segmentation@0.1.1675465747/selfie_segmentation_landscape.tflite' because its MIME type ('application/octet-stream') is not executable, and strict MIME type checking is enabled.
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs