Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Segmentation Live Stream Mode for Python #401

Open
AhmedAyman1 opened this issue May 20, 2024 · 0 comments
Open

Image Segmentation Live Stream Mode for Python #401

AhmedAyman1 opened this issue May 20, 2024 · 0 comments

Comments

@AhmedAyman1
Copy link

AhmedAyman1 commented May 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant