AR Foundation with Unity3d and Creating An Augmented Reality Measuring Tape Tool

  Рет қаралды 20,623

Dilmer Valecillos

Dilmer Valecillos

Күн бұрын

AR Foundation with Unity3d is used here to create an augmented reality measuring tape, I also walk you through the implementation and all the components required to make an application like this with Unity3d.
** Support me by Subscribing to the channel as it will help me in bringing a lot more content **
bit.ly/2NmnFMu
** Find the source code in Patreon and support me if you can even if it is with one of the lower tiers as it helps me in bringing you more content - THANK YOU **
/ dilmerv
** EQUIPMENT USED TO RECORD THIS VIDEO **
- Photography Photo Portrait Studio 600W Day Light Umbrella - amzn.to/2WwI0Tc
- 1350W Photography Lighting Softbox Lighting Kit - amzn.to/2MgvV0r
- LimoStudio 6 x 9 ft. Green Muslin Backdrop with Ring Metal Holding Clips - amzn.to/30NofpT
- AmazonBasics 60-Inch Lightweight Tripod with Bag - amzn.to/2Wd8utF
- Canon EOS Rebel T6 Digital SLR Camera Kit - amzn.to/2WcnRlV
Supporters in Patreon help me and show your appreciation for all the content and source code provided thanks!
github.com/dilmerv/UnityARFou...
Support me in Patreon so I can keep doing stuff like this for free!
/ dilmerv
Get realtime indie development tips from me in Twitter
/ dilmerv
Subscribe to my indie development videos & game releases newsletter
www.dilmergames.com
Blog about Indie development and startup
www.dilmergames.com/blog

Пікірлер: 68
@racheldepaz2288
@racheldepaz2288 5 жыл бұрын
Thank you! This was really useful.
@dilmerv
@dilmerv 5 жыл бұрын
Thanks a lot for your feedback this is very useful :)
@kawerishirke5568
@kawerishirke5568 3 жыл бұрын
thank you for the tutorial, very informative.
@dilmerv
@dilmerv 3 жыл бұрын
You are very welcome ! Thank you for your awesome feedback 😊
@muhammadhamzajamil4424
@muhammadhamzajamil4424 4 жыл бұрын
Hi @Dilmer Thanks for the video I want to ask can we render any cover photo within the marked region?
@maxarnold3878
@maxarnold3878 2 жыл бұрын
Hey Dilmer, thanks for these videos! Any clues as to why my LineRenderer is floating in mid air before any points are instantiated? Even after placing the nodes, it will not draw - very frustrating!
@anubhavnegi957
@anubhavnegi957 4 жыл бұрын
Hi! Can you help me out ? I need to put 4 anchors one by one and get the distance between them. When i am touching at two different place, it is getting us the 4 cubes. But when i tap once and then try to put my 3rd and 4th cube when tap 2, the touch count resets back to one and the same 1st and 2nd cube are spawned at new location. Thanks.
@minhdungdo4541
@minhdungdo4541 Жыл бұрын
Hey Dilmer, Awesome work. I do have question. May I ask while you choose the measurement factor as it is (39,37f)? Maybe I miss some information or is it the value that we should use to convert the measurement into real world distance? Hope to hear from you soon.
@jatinpawar8523
@jatinpawar8523 5 жыл бұрын
Good work mate.......It's great to see people like you making such lovely vids for us..... Eagerly waiting for more such content. When can we expect the next vid and what will it be about. Cheers Love From India -jking
@dilmerv
@dilmerv 5 жыл бұрын
Thanks Jatin I really appreciate it :) new videos coming are related to AR and I am doing object selection, object detection, physics with AR, multiple image tracking, and much more. Stay tuned because I will be adding a lot of content in the next few days !
@jatinpawar8523
@jatinpawar8523 5 жыл бұрын
@@dilmerv That's really great...... looking forward to it....
@dilmerv
@dilmerv 4 жыл бұрын
Thank a look at this project github.com/dilmerv/UnityARFoundationEssentials
@daniellosey5382
@daniellosey5382 3 жыл бұрын
How accurate would you say it is?
@norarallarabibi9400
@norarallarabibi9400 3 жыл бұрын
hi, Why don't I have the MeasurePoint(clone) created by default? What is the problem?
@norarallarabibi9400
@norarallarabibi9400 3 жыл бұрын
hi the line renderer part does not work. it shows me a line in front of camera
@pecke86
@pecke86 Жыл бұрын
i think combinging plane manager with cloudpoints will create a much more robust solution. Our experience is that plane manager placement is not robust when looking away and coming back with the frame. cloudpoints is much more robust for that.
@dilmerv
@dilmerv Жыл бұрын
Completely agree, I normally use both and sometimes even meshing if available, thanks for your comment.
@pecke86
@pecke86 Жыл бұрын
@@dilmerv I believe that even if you use it together, they are still independent of eachother. Or how to make them dependant?
@amiranwar1870
@amiranwar1870 3 жыл бұрын
thank you
@dilmerv
@dilmerv 3 жыл бұрын
You are welcome Amir !
@BeliZeka
@BeliZeka 4 жыл бұрын
Thanks for videos, you helped me learn basics of AR :D Question, can this code be modified to include heght measurement so volume can be calculated? For example, V = a*b*c, draw one line renderer that represents a, second b and third c. ?
@dilmerv
@dilmerv 4 жыл бұрын
Sure it can be modified, the source code is available in my GitHub page and you are more than welcome to download it at github.com/dilmerv/UnityARFoundationEssentials
@keepinitreal551
@keepinitreal551 4 жыл бұрын
Great video, very informative. Anyone know why I keep getting a black screen though when trying to use on an android device?
@dilmerv
@dilmerv 4 жыл бұрын
Thanks I am glad it helped out. Can you tell me which version of Android and what device do you have ? Also make sure there is a ARSession game object in your scene.
@nurulizzatiabghani4087
@nurulizzatiabghani4087 3 жыл бұрын
This is very useful and amazing especially if it is accurate! by they way, may I know this measure can be implement using marker-based? which are the markers act as the two points? Thank you in advanced!
@norarallarabibi9400
@norarallarabibi9400 3 жыл бұрын
does the app run on your device?
@nurulizzatiabghani4087
@nurulizzatiabghani4087 3 жыл бұрын
@@norarallarabibi9400 nope
@norarallarabibi9400
@norarallarabibi9400 3 жыл бұрын
@@nurulizzatiabghani4087 it didn’t work for me either... the line renderer is not associated with the the measurement controller script
@gergelynemeth5168
@gergelynemeth5168 4 жыл бұрын
Pls help me. I made the panel with button, but it doesnt disable when i touch the dismiss button. I dont know what i do wrong. thank you
@gergelynemeth5168
@gergelynemeth5168 4 жыл бұрын
i deleted the panels line in the code, and the panel is still on the screen.... i'm scared
@saniyathankachan1024
@saniyathankachan1024 4 жыл бұрын
Hey, can u help me? i need a program to measure area of roof top using AR .
@dilmerv
@dilmerv 4 жыл бұрын
Cool I have a lot of videos in the AR Foundation experiments which you can use as a reference, also one where I created a measuring tape in AR.
@renegades4044
@renegades4044 3 жыл бұрын
Hello, very good job, I will be writing an engineering thesis on the subject of movement and determining the distance between objects using a smartphone. Can I rely on your code and the experiences in this video? Moreover, you may have more videos on your channel about determining distances between points, determining heights etc. ? I couldn't find it, I will be obliged!
@norarallarabibi9400
@norarallarabibi9400 3 жыл бұрын
does this app work for you?
@oreonelson
@oreonelson 3 жыл бұрын
I opened the github in unity 2019.4.8f1 and it is extremely buggy. Many errors. I updated powerbuilder that solved one, and changed textgui to the text namespace. And they keep coming. It seems on the measurement scene that all variables have been stripped of their prefabs and attaching the prefab still throws the unassigned reference exception error. Very weird.
@norarallarabibi9400
@norarallarabibi9400 3 жыл бұрын
I have so many compilation errors too
@csuparna
@csuparna 3 жыл бұрын
Hi, Thanks for the tutorial. Could you please tell me how to store the measurement data?
@dilmerv
@dilmerv 3 жыл бұрын
There are many many ways, what do you want to do with the data? Would you be needing this data after the user deletes the app? would a user be associated with its own data? would the data be shared? let me know and I can give you some pointers. Thanks
@csuparna
@csuparna 3 жыл бұрын
@@dilmerv Hey, thanks for replying. Let's say I am a tailor and I take my client's measurements and want to save that data in my app.How do I do it?
@corbinordel
@corbinordel 3 жыл бұрын
is there a way to do this without having to first detect planes?
@dilmerv
@dilmerv 3 жыл бұрын
You can use feature points instead or use LiDAR which will be even more accurate.
@rd88ify
@rd88ify 3 жыл бұрын
Does this work for LiDAR as well? Or different implementation for LiDAR enabled measuring?
@dilmerv
@dilmerv 3 жыл бұрын
Yes but you would need to change some of the implementation to use the AR Mesh Manager instead of Plane Manager and raycast on the generated meshes.
@rd88ify
@rd88ify 3 жыл бұрын
@@dilmerv Thanks,, Could you provide any guidance how can I convert this into use ARMeshManager?
@moezkhnissi910
@moezkhnissi910 Жыл бұрын
Hey Dilmer, thanks for these video , How to run on android smartphone
@dilmerv
@dilmerv Жыл бұрын
Very similar, switch the platform to Android > Build & Run and there may be a few player settings to change.
@abdeljalilbenettaleb6853
@abdeljalilbenettaleb6853 5 жыл бұрын
Can you plz make a tut about ar shared experience
@dilmerv
@dilmerv 5 жыл бұрын
Yes I actually have it in my list :) it is coming my friend ! Thanks for watching !
@yacinemezrag737
@yacinemezrag737 4 жыл бұрын
Very Cool, How we can do this in virtual reality ?
@dilmerv
@dilmerv 4 жыл бұрын
Absolutely man this can be done in VR as well :)
@Mike-vj8do
@Mike-vj8do 3 жыл бұрын
Great video! I showed this video in class and it helped us so much, so thanks! Lots of support from Russia. We have a question if you don't mind, do you know how we could use unity and ar to automatically measure somebody's height? We would want to point the camera at a person and it to measure their height automatically, do you know how to do that by any chance? Don't worry if you don't get around to answering this, you are probably very busy. Thanks so much anyways and continue with the great content! :)
@dilmerv
@dilmerv 3 жыл бұрын
Cool and thank you ! To answer your question yes it is possible ! Let me do a new video about it and you can use it as a reference ❤️ Thank you for your great suggestion !
@Mike-vj8do
@Mike-vj8do 3 жыл бұрын
@@dilmerv thanks sooo much!! You don’t have to use unity btw. If u can do it without unity and with normal ARKit it would be even better but wouldn’t make much difference. Both are great
@Namit751
@Namit751 4 жыл бұрын
I am not able to run this on my android device through Unity remote ,as this is the 2019 1.5 version of Unity and I have installed this version only but I have a doubt that does the latest version of Android sdk and ndk will work with this Unity version? I guess thats why its not working on my android device can you tell me how to resolve this?
@dilmerv
@dilmerv 4 жыл бұрын
Hello thanks for your feedback and you can’t use the Unity remote to test AR applications that won’t work as it is not supported, currently there is no way to test them such as you do with the remote but you can build them to your device by creating an APK.
@Namit751
@Namit751 4 жыл бұрын
In external tool there is an error of not using the recommended Android sdk/ndk Tool,because android ndk and sdk is not yet clear for this version Unity 2019 1.5, so am facing problem to build an apk because at last it's showing that "Gradle build failed",can you tell which ndk and sdk version is preferred here?
@kaviya3322
@kaviya3322 2 жыл бұрын
Sir can you please explain in detail for beginners to do this project please..... 🙏my kind request please
@dilmerv
@dilmerv 2 жыл бұрын
Thanks for the suggestion, I will look into making a new video.
@kaviya3322
@kaviya3322 2 жыл бұрын
@@dilmerv tq sir... It will help for all 😇
@julionicacio3622
@julionicacio3622 2 жыл бұрын
@@dilmerv I'll appreciate too! Anxious for the updated version of this fantastic video.
@TYNEPUNK
@TYNEPUNK 4 жыл бұрын
does it work on ios and android?
@dilmerv
@dilmerv 4 жыл бұрын
Correct AR Foundation works with iOS and Android specifically what you see on this video ;)
@TYNEPUNK
@TYNEPUNK 4 жыл бұрын
@@dilmerv great thanks, can it only measure planes, or could it track distances between say one finger and another finger?
AR Foundation with Unity3d and Placing TVs in Augmented Reality
12:16
Dilmer Valecillos
Рет қаралды 4,9 М.
AR Foundation & Unity 03: Image Tracking
12:12
Dinesh Punni
Рет қаралды 126 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 158 МЛН
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 23 МЛН
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 22 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 6 МЛН
Apple Vision Pro Developer Strap Is Here! BUT DO You Need It?
10:26
Dilmer Valecillos
Рет қаралды 14 М.
Genetic Algorithms Explained By Example
11:52
Kie Codes
Рет қаралды 317 М.
Make Your Own 3D Instagram Filters │Spark AR Basics Tutorial
7:58
Black Mixture
Рет қаралды 354 М.
AES: How to Design Secure Encryption
15:37
Spanning Tree
Рет қаралды 153 М.
Unity 2019 - Adding Real World Height Maps To Your Game
5:35
Game Surgeon
Рет қаралды 91 М.
AI Learns to Generate Faces
10:03
Green Code
Рет қаралды 16 М.
Coding INDOOR NAVIGATION with A* Pathfinding
10:24
MatthewHallberg
Рет қаралды 183 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 158 МЛН