face regonition refine

This commit is contained in:
gcw_4spBpAfv
2026-03-10 15:40:05 +08:00
parent d5767156b9
commit ec1f7d2e72
1579 changed files with 4286 additions and 319 deletions

View File

@@ -317,4 +317,17 @@ object FileHelper {
connection.disconnect()
}
}
/**
* 下载测试图片
*/
fun downloadTestImage(url: String, destination: File): Boolean {
return try {
downloadFile(url, destination)
true
} catch (e: Exception) {
Log.e(TAG, "Failed to download test image: ${e.message}", e)
false
}
}
}