Skip to content

Commit

Permalink
Add comment for mask blurring
Browse files Browse the repository at this point in the history
  • Loading branch information
izaak committed Jan 20, 2025
1 parent 059cfab commit 011f2d2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class PortraitModePlugin : IPlugin, ImageSegmenterHelper.SegmenterListener {
imageSegmenterHelper.segmentImageFile(BitmapImageBuilder(bitmap).build())
?: return@launch

// Blur mask edge with https://developer.android.com/reference/android/graphics/BlurMaskFilter
val categoryMask: ByteBuffer =
ByteBufferExtractor.extract(segmentationResults.categoryMask().get())

Expand Down

0 comments on commit 011f2d2

Please sign in to comment.