Comments (11)
Well currently it can't but I'm working on this feature.
Currently it only allows you to get the CVBuffer from the native objective-c interface in the native implementation objective-c++ file, but not from the C# interface in Unity.
I will finish this feature as soon as possible.
from unity-arkit-plugin.
mmh, ok, nice!
It's a good work.
I was playing around the codes and i didn't archieve nothing, i can't figure how to push a mtlbuffer or the native cvbuffer directly in unity.
I will intempt to read your uiimage in unity, i think i have to push it in the app path.
from unity-arkit-plugin.
from unity-arkit-plugin.
i had try some things in this way (make a pointer to the cvbuffer in dll interface) but i always be in the same issue, casting the datas or bring them back to unity seem to me be impossible, i don't figure in wich format i have to make them to be pushed to unity.
from unity-arkit-plugin.
from unity-arkit-plugin.
Ok thanks,
If i find somthing i tell you.
from unity-arkit-plugin.
Any update on this? I would like this feature as well, but am not familiar enough with Unity to do it myself.
from unity-arkit-plugin.
from unity-arkit-plugin.
I have just commit the previous missing files and you guys can try it for the new features.
Sorry about the inconvenience.
from unity-arkit-plugin.
If we can't access the pixelbuffer directly from unity, could we directly access the file system where the json and images are stored?
How can we access it via unity? Would this work?
string savepath;
if (Application.platform == RuntimePlatform.IPhonePlayer) {
savepath = Application.dataPath.Replace ("UnityARRecorder.app/Data", "/Documents/");
}
from unity-arkit-plugin.
I figured it out. I could access it with
Application.persistentDataPath:
from unity-arkit-plugin.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unity-arkit-plugin.