package com.example.livingai.domain.ml

import android.graphics.Bitmap
import android.graphics.Rect
import com.example.livingai.data.ml.ObjectDetectionResult

interface AIModel {
    fun deriveInference(bitmap: Bitmap): String
    suspend fun segmentImage(bitmap: Bitmap): Triple<Bitmap, BooleanArray, Rect>?
    suspend fun detectObject(bitmap: Bitmap): ObjectDetectionResult?
}
