Code Monkey home page Code Monkey logo

tf-unity-arfoundation's People

Contributors

shaqian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tf-unity-arfoundation's Issues

Train custom model

How to train our own model with own dataset. could you please let me know i want to train ssdmobilenet and I need ssdmobilenet.byte file.

Thank you

error CS0234: The type or namespace name 'ARExtensions' does not exist in the namespace 'UnityEngine.XR'

Hi, @shaqian .
After installing ARFoundation and ARCore or ARKit I'm getting the following error:

error CS0234: The type or namespace name 'ARExtensions' does not exist in the namespace 'UnityEngine.XR' (are you missing an assembly reference?)

Could you please tell what versions of ARFoundation and ARCore / ARKit you're using for this project to work? Also do I need the exactly Unity3d version that it was compiled with? Mine is a bit older.

Releasing render texture that is set to be RenderTexture.active!

Hello,

Thank you for great project!
I was trying to run on my iphone as it was, and saw it ran for a few seconds on my phone.
However, it freezes after a few seconds with this error message.

Releasing render texture that is set to be RenderTexture.active!

It seems like there is a crash with camera frame, wonder if anyone can help me with this issue.

-Youjin

Error in TFsharp. Only when building for android

Assets\TensorFlow\Detector.cs(59,9): error CS0103: The name 'TensorFlowSharp' does not exist in the current context

Code: "#if UNITY_ANDROID
TensorFlowSharp.Android.NativeBinding.Init ();
#endif"

Assets\TensorFlow\Classifier.cs(31,9): error CS0103: The name 'TensorFlowSharp' does not exist in the current context

Code: "#if UNITY_ANDROID
TensorFlowSharp.Android.NativeBinding.Init ();
#endif"

I'm not certain if these lines are necessary or not

Errors in CameraController.cs and TensorflowSharp does not exist

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. ๐Ÿš€

NullReferenceException of Texture on RunTF function in cameracontroller (Android)

I get a null reference exception when trying to run this code. Here is the error:

NullReferenceException: Object reference not set to an instance of an object
06-09 06:39:28.025 18910 18967 E Unity : at CameraController.RunTF (UnityEngine.Texture2D texture) [0x00001] in C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\Scripts\CameraController.cs:157
06-09 06:39:28.025 18910 18967 E Unity : at CameraController.OnCameraFrameReceived (UnityEngine.XR.ARFoundation.ARCameraFrameEventArgs eventArgs) [0x0012d] in C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\Scripts\CameraController.cs:109
06-09 06:39:28.073 18910 18967 E Unity : at CameraController.OnCameraFrameReceived (UnityEngine.XR.ARFoundation.ARCameraFrameEventArgs eventArgs) [0x0012d] in C:\Users\Brand\Desktop\TF-Unity-ARFoundation-master\Assets\Scripts\CameraController.cs:109

any idea why the texture is not being referenced correctly?

ARSubsystemManager Removed

Hi, tried to update since ARSubsystemManager is Removed, but did not succeed (new to coding). Kindly appreciate any help.

Black screen when pressing Play

Hi @shaqian .
When pressing playing, I'm getting no errors, just a black screen with new text in it and the another text field.

I'm trying to debug OnCameraFrameReceived in the following line if (m_Texture == null || m_Texture.width != image.width || m_Texture.height != image.height). But the break point doesn't even stop there.

I'll try to get the arexamples to work, maybe it will help to advance forward.

Also the ssd_mobilenet.bytes shoots an errors of Op type not registered 'NonMaxSuppressionV3'.

Any help is highly appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.