package eu.geyskens.pdfscan

import android.app.Application
import android.util.Log
import org.opencv.android.OpenCVLoader

class PaperScanApp : Application() {
    override fun onCreate() {
        super.onCreate()
        // The org.opencv:opencv Maven artifact bundles the native libs; initLocal loads them.
        if (!OpenCVLoader.initLocal()) {
            Log.e("PaperScan", "OpenCV native init failed; edge detection will fall back to full-frame.")
        }
    }
}
