Advanced ARKit-Detect the measurement of 3D Object or Body | Calculate Start-End point distance Ep-6

Поделиться
HTML-код
  • Опубликовано: 4 сен 2024
  • This Video tutorial is about Advanced AR in iOS | Measure the distance or height of object using SceneKit, Detecting the start and end point of measurement, calculate the distance between two 3D points and create 3D text in AR Scene.
    This project is latest version in 2021. If this video helped you, recommend to subscribe this channel for more tutorials.
    👨‍💻 NOTE:- This video is meant for beginners to learn basic concept on Augmented Reality in iOS . If I went wrong somewhere, please comment it over to make it clear.
    🚀Apple Developer AR link :- developer.appl...
    👉 AR Full course, Episode 1 :- • Augmented Reality in i...
    👉 AR Full course, Episode: 2 :- • Augmented Reality in i...
    👉 AR Full course, Episode: 3 :- • Create your First Augm...
    👉 AR Full course, Episode: 4 :- • Track body motion in 3...
    👉 AR Full course, Episode: 5 :- • Track Body Skeleton mo...
    Tools: Xcode 12.1
    Apple Products.
    Language:- Swift 5
    👉 Let's connect via LinkedIn - / mohammed-azeem-azeez-5...
    👉 Let's connect via Twitter - / azeemohd786
    ☕ If you are satisfied with the video, "SAVE THE POOR - Donation*" via Paypal- www.paypal.me/...
    * The fund received as donation will be 100% (after transfer charge + GST) used to HELP PEOPLE IN NEED ! including provide education - Respective receipts will sent to you via email.

Комментарии • 15

  • @abogdzie
    @abogdzie 3 года назад +1

    Thank you for the video. I went through it from the beginning to the end rewriting the code to Xcode. Very educational. Deprecated functions and classes for hit test work better. Hard to say why.

  • @chsjqn9323
    @chsjqn9323 Год назад

    Hi! there. Your video is helpful to me a lot. I wanna get distance between camera and specific point in view (x,y coordinates). Can you give me advice for me?

    • @swiftkatcodefactory
      @swiftkatcodefactory  Год назад

      Thank you for watching!...By using node can calculate using, let distance = simd_distance(YOUR_NODE.simdTransform.columns.3, (sceneView.session.currentFrame?.camera.transform.columns.3)!);
      Some other methods using cordinates and SceneKit anchor/camera positions, refer : stackoverflow.com/questions/50937214/arkit-getting-distance-from-camera-to-anchor

  • @usamasarwar2230
    @usamasarwar2230 2 года назад

    Can there be multiple points from starting to ending point. I mean if it object is not straight. Should it be able to place more dots to cover all required area to measure it?

    • @swiftkatcodefactory
      @swiftkatcodefactory  2 года назад

      This video is only to measure the distance between two nodes ( points)
      If you want to add more nodes need to rewrite and do logic in codes accordingly.

  • @Ghinghino
    @Ghinghino 2 года назад +1

    don't works for me, 4 critical error on Double var

    • @swiftkatcodefactory
      @swiftkatcodefactory  2 года назад +1

      Please rewrite the following code to append SCNNode, // override touchBegan
      dotNodes.count >= 2 {
      dot dotNodes {
      dot.removeFromParentNode()
      }
      dotNodes = [SCNNode]()
      }

  • @jemmytech5474
    @jemmytech5474 Год назад

    How to integrate this into swiftui?

  • @aravasudheer3374
    @aravasudheer3374 3 года назад +2

    Nice tutorial. Source code please

    • @swiftkatcodefactory
      @swiftkatcodefactory  3 года назад +3

      Thank you for watching this video.
      Actually i wish the viewers to go through the code and understand by video pause and follow.

  • @swiftkatcodefactory
    @swiftkatcodefactory  3 года назад +1

    Please rewrite the following code to append SCNNode, // override touchBegan
    dotNodes.count >= 2 {
    dot dotNodes {
    dot.removeFromParentNode()
    }
    dotNodes = [SCNNode]()
    }

  • @Cor-tex
    @Cor-tex 2 года назад +1

    How to do that with SwiftUI ?

  • @lettechtutorials
    @lettechtutorials Год назад

    Please share Code

    • @swiftkatcodefactory
      @swiftkatcodefactory  Год назад

      Please pause the video and manually follow the code with your project