eyds-ca / arcorelocation Goto Github PK
View Code? Open in Web Editor NEWA lightweight iOS framework for displaying AR content at real-world coordinates
License: MIT License
A lightweight iOS framework for displaying AR content at real-world coordinates
License: MIT License
I try to run example but picture freezes and stops.
I also try to run project with pod v. 0.1.9 but CocoaPods could not find compatible versions for pod "ARCoreLocation":
In Podfile:
ARCoreLocation (~> 0.1.9)
Hope on your reply!
Hi,
As of now the landmarks show if my camera is pointing to the floor but I would like to see it if the user has the phone camera pointing forward. How to achieve that?
The ARMarker we have added flickers a lot and does not stay at one place, can we fix this ?
The framework crashes (iphone pro max running ios 16.3.1) every once in a while. (on Average within 30 seconds).
I traced the problem down to the use of "DispatchQueue.global(qos: .userInteractive).async " in the method: updateAnchorNodes. So this one:
DispatchQueue.global(qos: .userInteractive).async { if let textureImage = image { landmarkNode.texture = SKTexture(image: textureImage) } }
By dispatching this work to a queue to be done asynchronously at some later point in time, it can interfere with the rendering of the sprites. So the crash occurs in a system call which is setting GPU stuff because stuff is being altered while it is rendering. To fix it, just remove the queueing which will force the updating to be done in the callback of the delegate, not interfering in renderloops.
I noticed some other place the use of 'DispatchQueue.global(qos: .userInteractive).async' and I think they all can be removed as they don't add much except overhead to the system. Usually one uses these methods if a big chunk of work needs to be done and you want to take that out of the UI thread, but in this case where it is used I think the overhead of queueing actually would take more system effort than just doing these few matrix calculations or setting a texture.
In any case, great library... made using ARkit a lot simpler.
is it possible to instantiate a custom view from storyboard?
rather than just adding a label ?
Is it possible to include this framework in an app that has a deployment target of iOS 10? Obviously I would only show the AR features to iOS 11 users as to not cause a crash. But I am not currently able to build my iOS 10 app.
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.