TF-Unity-ARFoundation icon indicating copy to clipboard operation
TF-Unity-ARFoundation copied to clipboard

Errors in CameraController.cs and TensorflowSharp does not exist

Open DaphiFluffi opened this issue 3 years ago • 0 comments

Hi @shaqian,

Thank you for creating this project. 😄 Unfortunately, I cannot get the CameraImage scene to run.

System Versions:

  • Windows 10
  • Unity 2018.3.6f1
  • AR Foundation 1.0.0 preview 22
  • AR Core XR Plugin 1.0.0 preview 24

I tried using all three models, but none of them have worked so far. The webcam just does not turn on and nothing happens in the scene. This is the Error I get with Tiny even though I assigned the .bytes and the .txt file in the Editor.

NullReferenceException: Object reference not set to an instance of an object CameraController.CloseTF () (at Assets/Scripts/CameraController.cs:176) CameraController.OnDisable () (at Assets/Scripts/CameraController.cs:64)

When I try to switch to Android, it says that there is no reference for TensoflowSharp : Assets\TensorFlow\Classifier.cs(31,9): error CS0103: The name 'TensorFlowSharp' does not exist in the current context

All help is apprechiated. 🚀

DaphiFluffi avatar Apr 19 '21 10:04 DaphiFluffi