How can I anchor an AR Object to a wall in my home with ARKit? - augmented-reality

I want to create an app that shows signs and objects on walls of my home as directions or explanations of wall decor.
Is there a way to have these things consistently mapped to the right spots on the right walls? How do I go about mapping my home? I've not done any work with ARKit before so I have limited knowledge of what is possible and what isn't with the current SDK features.
Please guide me to resources which can help me learn and make a cool project

Related

Share 3D objects in a city and have people see them with ARKit

I’m looking for something that lets people place 3D objects around a city and have people see them exactly where they were placed, even with years apart. I’m looking for something more asynchronous than a real-time experience so ARWorldMap is out of the equation. Google Cloud Anchors does not work with provided GPS coordinates either. I've looked into .gravityAndWorldMap, how can I use it? Is this project something feasible with ARKit?
Try Sturfee, works on top of ARKit. Only available from within Unity and some cities.
https://sturfee.com/

How to find how much the mobile screen went from the eye's straight line

I have this requirement how to find whether the user is looking down or up the iPhone screen. like if the user have his iPhone in desk and he need to look down to the screen. if the same user taking a photo over his head means how to find it.
Is there is any sensors we need to use?
There is no direct sensor in iPhone that can recognise where your eyes looking but you can use front camera & machine learning to achieve your functionality. For more refer recognize gaze direction

Draw polylines which follow the roads gemoetry

In my app I want to highlight certain roads, which can easily be achieved just by drawing polylines on top of the roads. (I am using the Google Maps SDK, by the way). However these polylines won't follow the road's geometry, they will just connect two coordinates with a straight line. (I have a coordinate for the start of the road which I want to highlight and the end of it). The coordinates won't change, the same roads will be highlighted through out the whole time in the app.
The question is: Is there a way I could draw these polylines not to be straight but to follow the road's geometry? If it's not possible in the SDK, is there a tool on the internet which will connect two coordinates following the roads between them? Because if there is, than I could get the coordinates of those poylines and parse them in my app.
Cheers!
as #Fabian has suggested, if you have a small set of polylines to show in your app, and your app works mostly offline, it would be better to get all the polylines during the development. And there are two ways:
1) through the direction API, you might able to skip all the implementation by using the WEB API, which is meant for webserver.
https://maps.googleapis.com/maps/api/directions/json?origin=Toronto&destination=Montreal&avoid=highways&mode=bicycling&key=API_KEY
2) or, with the Snap to Road API, which might gives you a better control over your route compare to the direction API. This API is meant to fix the pool GPS data you get from the sensor and snap those on the road.

navigation with in a building navigate from living room to study room ios

i want to develop an iphone app based on gps navigation.
i have an idea about how to navigate user from a location to other location (that covers distance in km). but i am totally lost how it can be done if distance is very near like with in a building. for example navigate from living room to your study room.
Any idea about this would be a great.
as per knowledge i think i will have to have all geo points of building and all tiles images of building
is it possible? if yes then how i should start with it.
thanks for giving your time to read this qns.

Cocos2d side scrolling game best way to implement it?

I was wondering if its better to add sprite by sprite(spritesheets) for the each level of the game? or is it better to add segment by segment for the levels in the game?
The thing is that i want to be able to have animated objects in my game.. like moving platforms, falling platforms, part of the wall that can smash your player, but the thing is the level has an end. its not an endless game like jetpack joyride... it has end per level like Badland
example:
Badland Side-Scrolling Action Adventure Game
Hello I would use SpriteHelper and LevelHelper. I have learned that they are very helpful in making game with levels. With these applications, you can plan out your level sprite by sprite. They are cheap. I know on the Mac App Store, LevelHelper is $24.99 and SpriteHelper is $16.99. SpriteHelper is a sprite packer and LevelHelper allows you to lay out your game world/level. Here are the websites for both.
LevelHelper- http://www.gamedevhelper.com/levelhelper/
SpriteHelper- http://www.gamedevhelper.com/spritehelper/
Ray Wenderlich has great tutorials on those two apps.
Here is the link: http://www.raywenderlich.com/28713/how-to-make-a-game-like-jetpack-joyride-using-latest-levelhelper-spritehelper-cocos2d-edition-part-1
This tutorial uses the example of "a game like Jetpack Joyride." I know that this is not the game you want to learn how to make but it gives you great insight about how to use LevelHelper and SpriteHelper. The links for the apps also have guides on how to use the two apps.
Hope this helped and Good Luck!

Resources