I'm currently working on an Android application (written in Java) using Google ML and TensorFlow. The application is centered around object detection during a live camera stream using the device camera, and uses a TensorFlow Lite model as a custom library to source file lists from. My issue is that I ran the application to see if it would print the list size, and the application launches just fine; camera preview works, app doesn't crash. However, I'm only to be met with this error;
According to my research, some results state that that the file path or root is flawed in some capacity. However, I have the .tflite model placed within my asset folder, which leads me to wonder why exactly I'm receiving these errors and how I can work on resolving them. My Log.d("TAG", "onSuccess" + detectedObjects.size()); in my code below is supposed to print the object list size, but is clearly not.
Also, just for clarification, my application name is ObjectDetection, this would be the file path of just how the .tflite model is placed within my asset folder; ObjectDetection > app > src > main > assets > ClassifierModel.tflite