codeperfectplus/ASL

Error at android\app\src\main\java\org\tensorflow\lite\examples\detection\CameraActivity.java:53:

lavsharmaa opened this issue ยท 6 comments

  • After doing the gradle sync and when running the project getting the following error
    android\app\src\main\java\org\tensorflow\lite\examples\detection\CameraActivity.java:53: error: package org.tensorflow.lite.examples.detection.env does not exist
    import org.tensorflow.lite.examples.detection.env.ImageUtils;

It's working fine on My pc. @lavsharmaa
I am mainly in Python and Deep learning So I have a limited understanding of Android. This Repo main purpose is to convert the Tensorflow model to TFLite and Deploy it to android.SO I will not able to help in android.

Alright. If I find anything I will update in this issue and then maybe you can crosscheck and verify it further.

So, the issue is at android/app/src/main/java/org/tensorflow/lite/examples/detection/ you forgot to push the env folder due to which the error is coming. Just check once. I have added the env folder externally and the error is solved.

Maybe it was due to the .gitignore.

Yes as env is included in the .gitignore. Just update that in the repo so that no one else faces that issue.

Thanks, @lavsharmaa for improving the repo.