Giter VIP home page Giter VIP logo

Comments (11)

StephenGuanqi avatar StephenGuanqi commented on September 3, 2024

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.

lgRecip avatar lgRecip commented on September 3, 2024

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.

StephenGuanqi avatar StephenGuanqi commented on September 3, 2024

from unity-arkit-plugin.

lgRecip avatar lgRecip commented on September 3, 2024

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.

StephenGuanqi avatar StephenGuanqi commented on September 3, 2024

from unity-arkit-plugin.

lgRecip avatar lgRecip commented on September 3, 2024

Ok thanks,
If i find somthing i tell you.

from unity-arkit-plugin.

an-kumar avatar an-kumar commented on September 3, 2024

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.

StephenGuanqi avatar StephenGuanqi commented on September 3, 2024

from unity-arkit-plugin.

StephenGuanqi avatar StephenGuanqi commented on September 3, 2024

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.

pavan4 avatar pavan4 commented on September 3, 2024

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.

pavan4 avatar pavan4 commented on September 3, 2024

I figured it out. I could access it with

Application.persistentDataPath:

from unity-arkit-plugin.

Related Issues (6)

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.