Closed NandanModtech closed 2 months ago
Hi @NandanModtech,
Unfortunately, we cannot provide support for this issue. We recommend migrating your example to a Node environment for development and using a JavaScript bundler to compile your sources. This approach will consolidate your multiple script imports into a single import using JavaScript modules, reducing potential conflicts between the two libraries.
Additionally, consider using the package available at @mediapipe/tasks-vision.
Thank you!!
I am using React. Should I use a package manager for OpenCV?
Hi @NandanModtech,
OpenCV compatibility has not been tested with our Task API. Therefore, we recommend using a Node environment for development to minimize conflicts between the two libraries. Based on past reported issues, we cannot provide support for this configuration, and it is not on our roadmap.
Thank you!!
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
This issue was closed due to lack of activity after being marked stale for past 7 days.
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Windows 11
MediaPipe Tasks SDK version
mediapipe/tasks-vision@0.10.14
Task name (e.g. Image classification, Gesture recognition etc.)
Face Landmarker & Hand Landmarker
Programming Language and version (e.g. C++, Python, Java)
Javascript
Describe the actual behavior
The browser crashes immediately when attempting to load mediapipe task vision ( face landmarker ) after loading hand landmarker & opencv.js together at initial.
Describe the expected behaviour
The MediaPipe Vision task models should load successfully without causing the browser to crash, allowing both OpenCV.js and MediaPipe to operate simultaneously.
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs
No response