This commit is contained in:
2026-01-08 19:36:31 +08:00
parent fce721bfc3
commit a79f7db867
8 changed files with 184 additions and 147 deletions
@@ -132,6 +132,7 @@ object FoodModule {
val startTime = System.currentTimeMillis()
val floatArray = bitmap2FloatArray(bitmap)
Timber.tag(TAG).d("bitmap2FloatArray,耗时:${System.currentTimeMillis() - startTime}")
val nameScoreList = queryFoodNameScore(floatArray, queryCount)
if (nameScoreList.isEmpty()) {
return emptyList()