mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Image Segmentation Live Stream Mode for Python

Open AhmedAyman1 opened this issue 1 month ago • 0 comments

Hello,

I am struggling to get the image segmentation live stream mode to work for python. I followed the tutorial on ai.google.dev. However, I think there might be a mistake for the live stream tab. For example, the running_mode is set to video and the result_callback is not set in options. image

I also tried to replicate what is implemented for other segmentation models, like the handlandmarker, as it works fine in live_stream mode. But it did not work. The app crashes instantly.

Here is the script I am using. Thanks!

image

AhmedAyman1 avatar May 20 '24 13:05 AhmedAyman1