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

Portrait Mode #12

Closed
wants to merge 2 commits into from
Closed

Portrait Mode #12

wants to merge 2 commits into from

Conversation

IzaakBH
Copy link
Collaborator

@IzaakBH IzaakBH commented Jan 10, 2025

WIP

TFLite inits correctly but segmentation fails.

override val settings: List<PluginSetting> = emptyList()

override fun onError(error: String) {
Log.e("Segmentation", "Failed segmentation");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reminds me, we need a plugin-level way to report errors. Added to this doc: https://docs.google.com/document/d/1Au_AgqrLhc9gncNjVfwruoPNTf7PF1eU3tfQZcwS17o/edit?tab=t.xp8jea3nq6j

@ISNIT0
Copy link
Member

ISNIT0 commented Jan 10, 2025

Up to you, but I have a feeling MediaPipe might be a bit more out-of-the-box for this? https://ai.google.dev/edge/mediapipe/solutions/vision/image_segmenter

@IzaakBH
Copy link
Collaborator Author

IzaakBH commented Jan 10, 2025

Up to you, but I have a feeling MediaPipe might be a bit more out-of-the-box for this? https://ai.google.dev/edge/mediapipe/solutions/vision/image_segmenter

Will give this a gander

@ISNIT0 ISNIT0 marked this pull request as draft January 11, 2025 09:57
@ISNIT0
Copy link
Member

ISNIT0 commented Jan 13, 2025

Going to close this PR in favour of the other Portrait Mode one: #18

@ISNIT0 ISNIT0 closed this Jan 13, 2025
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

Successfully merging this pull request may close these issues.

2 participants