# \[ARkit 2.0\] 3D Object Detection.Did someone succeed?

**URL:** <https://forums.unrealengine.com/t/arkit-2-0-3d-object-detection-did-someone-succeed/431072>\
**Category:** XR Development\
**Tags:** ARKit, unreal-engine, question\
**Created:** [August 6, 2018, 3:52pm UTC](https://forums.unrealengine.com/t/arkit-2-0-3d-object-detection-did-someone-succeed/431072 "2018-08-06T15:52:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ybelilov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ybelilov](https://forums.unrealengine.com/u/ybelilov)\
**Post date:** [August 6, 2018, 3:52pm UTC](https://forums.unrealengine.com/t/arkit-2-0-3d-object-detection-did-someone-succeed/431072/1 "2018-08-06T15:52:51Z")

</div>

In the documentation there are no explanations how to detect 3D objects. Maybe someone has an idea? To find an object, you must first scan it. But the Session Type Object Scanning crash after the start.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e1ec8bcc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e1ec8bcc](https://forums.unrealengine.com/u/anonymous_user_e1ec8bcc)\
**Post date:** [October 29, 2018, 6:29pm UTC](https://forums.unrealengine.com/t/arkit-2-0-3d-object-detection-did-someone-succeed/431072/2 "2018-10-29T18:29:22Z")

</div>

Same problem here.

Is this problem also logged as report in the issues section like the crash with image detection? (couldn´t find it there)

> **[AR Image session type crashing](https://forums.unrealengine.com/questions/811262/ar-image-session-type-crashing.html)**
>
> I’ve been testing the 4.20 support for image detection through an app on an iphone X. The app works fine when the AR session is configured to world tracking. However, when I select the “Image” session type, the app crashes as soon as the AR session...

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-63793)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

Will the object scanning bug also be fixed in 4.21?

---

<div class="post-metadata">

**Author:** ![xadamxful](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xadamxful](https://forums.unrealengine.com/u/xadamxful)\
**Post date:** [August 12, 2020, 2:03am UTC](https://forums.unrealengine.com/t/arkit-2-0-3d-object-detection-did-someone-succeed/431072/3 "2020-08-12T02:03:50Z")

</div>

I have a kit on the marketplace that includes object detection for IOS devices: [Augmented Reality Toolkit in Blueprints - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/8f7a39ac3a3c4a2da58a32d2eab38276)

It also comes with a guide.here: [Scanning and detecting objects.pdf - Google Drive](https://drive.google.com/open?id=1WF5PDcEEib4cmMG0vu2YbcWQU3Fsd7vy)

If you’re not interested in the kit but would like help with object detection here are the steps I used (ARKit only):

1. Set your session type to “object scanning”
2. visualise the AR point cloud with debug points so you see what the ARkit is scanning
3. use the “Get AR candidate object” node to capture the object when scanning it with your device
4. Save the captured object data to a slot on your device
5. Use iTunes to access the save file on your device
6. load the save game from within the blueprint construction script.
7. Use the save game data to set variables and make the variables “instance editable” (public)
8. Drop the blueprint into the world, the object data you scanned should now be visible in details panel
9. Copy the data from the public variables
10. Create an “ARcandidateObject” by right clicking in the content browser then /misc/data asset
11. paste all the data in here
12. add the ARcandidateObject to the AR session config
13. change the session type to world in the session config
14. in your AR pawn blueprint add these nodes: event tick - get all ar geometries - for each loop - cast to AR tracked object - get detected object - get friendly name - equals (the friendly name of your object) - branch - (if true…whatever you want to happen when the object is detected)

---

<div class="post-metadata">

**Author:** ![BlueMind\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueMind\_Studio](https://forums.unrealengine.com/u/BlueMind_Studio)\
**Post date:** [August 12, 2020, 5:16am UTC](https://forums.unrealengine.com/t/arkit-2-0-3d-object-detection-did-someone-succeed/431072/4 "2020-08-12T05:16:35Z")

</div>

Thank you. What was the First Version of UE you Had success with?

Your Marketplace Link gives a 404

---

<div class="post-metadata">

**Author:** ![xadamxful](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xadamxful](https://forums.unrealengine.com/u/xadamxful)\
**Post date:** [August 12, 2020, 12:40pm UTC](https://forums.unrealengine.com/t/arkit-2-0-3d-object-detection-did-someone-succeed/431072/5 "2020-08-12T12:40:20Z")

</div>

I’ve fixed the link [Augmented Reality Toolkit in Blueprints - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/8f7a39ac3a3c4a2da58a32d2eab38276)

The earliest version I used is 4.23, I have not tried it on any earlier versions.

---

<div class="post-metadata">

**Author:** ![BlueMind\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueMind\_Studio](https://forums.unrealengine.com/u/BlueMind_Studio)\
**Post date:** [August 12, 2020, 3:10pm UTC](https://forums.unrealengine.com/t/arkit-2-0-3d-object-detection-did-someone-succeed/431072/6 "2020-08-12T15:10:21Z")

</div>

thanks I will give it a try. I was on 4.21 or 4.22 when I decided to stop using UE for that because nothing really worked
