Use renamed segmentation model

This commit is contained in:
Pierre-Yves Nicolas
2025-09-13 07:12:51 +02:00
parent de7cc0407d
commit 60fb714356
2 changed files with 4 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ class ImageSegmentationService(private val context: Context) {
fun initialize() {
interpreter = try {
val litertBuffer = FileUtil.loadMappedFile(context, "document-segmentation-model.tflite")
val litertBuffer = FileUtil.loadMappedFile(context, "fairscan-segmentation-model.tflite")
Log.i(TAG, "Loaded LiteRT model")
val options = Interpreter.Options().apply {
numThreads = 2