We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After pressing 'p' and spacebar in unity vision demo, I am getting the below error. Any inputs?
ArgumentOutOfRangeException: Argument is out of range. Parameter name: index System.Collections.Generic.List`1[Category].get_Item (Int32 index) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:633) FoundImageObject.GetHighestCategory () (at Assets/Scripts/FoundImageObject.cs:47) FoundImageObject..ctor (.JSONObject cat) (at Assets/Scripts/FoundImageObject.cs:18) ParseComputerVisionResponse.ConvertObjectToFoundImageObject (.JSONObject obj) (at Assets/Scripts/ParseComputerVisionResponse.cs:37) ParseComputerVisionResponse.ParseJSONData (System.String respString) (at Assets/Scripts/ParseComputerVisionResponse.cs:27) ImageToComputerVisionAPI+c__Iterator0.MoveNext () (at Assets/Scripts/ImageToComputerVisionAPI.cs:54) UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
The text was updated successfully, but these errors were encountered:
solved it. had to update my EmotionURL to string emotionURL = "https://westcentralus.api.cognitive.microsoft.com/vision/v1.0/analyze"; as it was giving an invalid key error with the existing url.
Sorry, something went wrong.
No branches or pull requests
After pressing 'p' and spacebar in unity vision demo, I am getting the below error. Any inputs?
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[Category].get_Item (Int32 index) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:633)
FoundImageObject.GetHighestCategory () (at Assets/Scripts/FoundImageObject.cs:47)
FoundImageObject..ctor (.JSONObject cat) (at Assets/Scripts/FoundImageObject.cs:18)
ParseComputerVisionResponse.ConvertObjectToFoundImageObject (.JSONObject obj) (at Assets/Scripts/ParseComputerVisionResponse.cs:37)
ParseComputerVisionResponse.ParseJSONData (System.String respString) (at Assets/Scripts/ParseComputerVisionResponse.cs:27)
ImageToComputerVisionAPI+c__Iterator0.MoveNext () (at Assets/Scripts/ImageToComputerVisionAPI.cs:54)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
The text was updated successfully, but these errors were encountered: