I’ve been working on object scanning and detection and have created a basic app to define a candidate object extent to capture, however at the point of saving the candidate object the app crashes. It also shows a false result when using the ‘Is AR Session Supported’, despite using a Ipad Pro 12.9" with the latest iOS software (12.1.3).
I’m struggling to find out where this is tripping up.
Has anyone been able to make progress on this problem? I’m able to successfully save a Scanned Object, however when I try to actively scan for a Candidate Object, it can never seem to find it. I was able to get the Image Scanning working so I used the part for actively scanning per frame and reworked it for Object Scanning, but haven’t been able to successfully recognize my scanned object.
Here’s a screenshot of the Events I’m using to successfully save a scanned object. If anyone needs help with getting that part working let me know.
Hey, unfortunately I have not been able to make any successful progress with the ARKit object scanning, however while trying to search for an answer i came across a developer on twitter who seems to have solved it, although their explanation isn’t very descriptive. Here’s the link: https://twitter.com/ayuma_x/status/1161927836438949888
the result exports a *.arobject file. I do not know how to load this *.arobject file into an ARCandidateObject yet, but i imagine that is the pipeline required.
the little app from the link above is pretty cool actually, opens up all kinds of possibilities, so i encourage folks exploring this path to check it out
if anyone knows how to get the data from the *arobject file into the ARCandidateObject, would love to know. in the meantime, will keep digging…
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 ARpoint 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 to set **public variables **in a blueprint
7 - Drop the blueprint into the world, the object data you scanned should now be visible in details panel
8- Copy the data from the public variables
11 - Create an “ARcandidateObject” by right clicking in the content browser then /misc/data asset
12 - paste all the data in here
13 - add the ARcandidateObject to the ARsession config
11 - change the session type to world
12 - 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)