Post

Replies

Boosts

Views

Activity

How to use AVDepthData
Hello, how is going? So I almost got the meta data working, accounting to the document I have a dew question here: is that attachment referring to the CFDictionary ? The for the auxData, I got an error message like cant find deothData in scope? should I create this depth data from the TIF file? Thx CGImageDestinationAddImage(cgImageDestination, renderedCGImage, attachments) var auxDataType :NSString? let auxData = depthData.dictionaryRepresentation(forAuxiliaryDataType: &auxDataType)
0
0
417
Jun ’21
How to create depth Image for ObjectCapture sample
Hello, Just as the topic, I am trying to generate the Auxiliary depth data from my greyscale depth image. I found this page: https://developer.apple.com/documentation/avfoundation/avdepthdata/creating_auxiliary_depth_data_manually This is very good, but I used to develop unity app, for me it's a bit unclear and seems like there are a lots work has to be done before this step. So I was trying to get CVPixelBuffer from Image, I had lots of problem at this step, what frame should I use: CIImage? UIImage(this is not work for macos?) NSImage? or something else? I also got the error msg: parsableCommand stuct does not conform to protocol 'Decodable' when I declare var pixelBuffer: CVPixelBuffer? I googled it they suggest init some stuff, but not sure what should I do exactly. sorry I post so many questions, I was wondering is there any sample code or tutorial available somewhere? Thank you
0
0
443
Jun ’21
How to upload captured HEIC file to mac computer
Hello, This is Jin, I try to test the latest object capture features, and I download the AR capture sample project from: https://developer.apple.com/documentation/realitykit/taking_pictures_for_3d_object_capture I build it on the ipad-pro and it's all working fine until I want to upload all the images on the mac computer, I can find anything it in the photo app, that's all I know how to get photos from ipad. I googled it that seems like I can upload HEIC file? and from that sample project it only taook HEIC formate? Is there a way to easily get those files? Thank you Best Jin
1
0
1.1k
Jun ’21