优化人脸识别区域效果

This commit is contained in:
2026-03-10 11:10:23 +08:00
parent dfde8c0fad
commit 39c0ca7d72
@@ -21,7 +21,7 @@ class HollowOvalInRectView @JvmOverloads constructor(
private val rectWidthDp = 400f // 矩形宽度 private val rectWidthDp = 400f // 矩形宽度
private val rectHeightDp = 510f // 矩形高度 private val rectHeightDp = 510f // 矩形高度
private val ovalWidthDp = 400f // 椭圆宽度 private val ovalWidthDp = 400f // 椭圆宽度
private val ovalHeightDp = 436f // 椭圆高度 private val ovalHeightDp = 416f // 椭圆高度
// 转换后的像素尺寸 // 转换后的像素尺寸
private val rectWidth: Float private val rectWidth: Float