CanvasRenderingContext2D is not defined in DrawingUtils constructor #5284
Labels
os:macOS
Issues on MacOS
platform:javascript
MediaPipe Javascript issues
stat:awaiting googler
Waiting for Google Engineer's Response
task:pose landmarker
Issues related to Pose Landmarker: Find people and body positions
type:support
General questions
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
macOS 12.6
MediaPipe Tasks SDK version
npm package version 0.10.12
Task name (e.g. Image classification, Gesture recognition etc.)
Pose Landmarker
Programming Language and version (e.g. C++, Python, Java)
Typescript
Describe the actual behavior
Instanciating a DrawingUtils with an OffscreenCanvasRenderingContext2D as cpuContext in Worker returns an Uncaught ReferenceError: CanvasRenderingContext2D is not defined
Describe the expected behaviour
a DrawingUtils is properly Instantiated
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs
The text was updated successfully, but these errors were encountered: