mp.Image can't deal with numpy array views #5251
Labels
os:macOS
Issues on MacOS
platform:python
MediaPipe Python issues
task:pose landmarker
Issues related to Pose Landmarker: Find people and body positions
type:bug
Bug in the Source Code of MediaPipe Solution
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
macos
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
python
MediaPipe version
0.10.9
Bazel version
No response
Solution
pose
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
When presented with a numpy array view as its
data
parameter, themp.Image
constructor fails.Describe the expected behaviour
When presented with any numpy array type, the
mp.Image
constructor succeeds.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: