gdfonda / terminator-vision Goto Github PK
View Code? Open in Web Editor NEWCode sample for Terminator Vision article on Building Apps for Windows: https://blogs.windows.com/buildingapps
Code sample for Terminator Vision article on Building Apps for Windows: https://blogs.windows.com/buildingapps
Attempting to take the jsonResult and serializing it into an object with JsonUtility (or any namespace that uses serialization such as Newtonsoft JsonConvert) results in a silent error on the Hololens device itself. It works when simulating it in the unity editor but not when I deploy it to the device. For now I am working around it with SimpleJson.
When running the program on a Hololens device there is a large lag/delay when taking a photo. I believe the delay comes from somewhere inside the TakePhotoAsync function. When I am walking with the device, the hud freezes position and I can walk away from it. A few seconds later it will snap back to position and analyze the photo.
Problem:
When I run the app, I only get a black screen with the bottom text switching from “Calculation pending” and “Active Spatial Mapping”.
I get a subscription key for Cognitive Services and insert it in the code (Hud.cs) and in the inspector.
How to solve this?
Do you really need the HoloToolkit for this project?
I have been reading the post, and for the Terminator display it is not needed (I implemented it)
For the Camera part, it seems not necessary (I have built other camera applis as well)
Perhaps for the json part??
#if UNITY_WINRT
byte[] image = UnityEngine.Windows.File.ReadAllBytes(filePath);
#else
byte[] image = System.IO.File.ReadAllBytes(filePath);
#endif
In AnalyzeScene(), when PhotoCapture.CreateAsync(false, OnPhotoCaptureCreated) gets called, we get a "INTERNAL_CALL_Instantiate_Internal can only be called from the main thread" error message. Any ideas what we are doing wrong?
Occasionally the text will change to 'Calculation Pending', but otherwise nothing is scanned. I have verified that my subscription key and endpoints are set correctly as well. Has anyone else run into this error? I'm running Unity 5.6.0p4 (tried with 5.5.0f3 before to no avail).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.