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
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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)
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
so I update my mac laptop, and run hello photogrammetry sample project, here is the crash message:
dyld[4936]: Symbol not found: _$s17RealityFoundation21PhotogrammetrySessionC13ConfigurationV13SampleOverlapO3lowyA2GmFWC
not sure what's happening, any one had same problem?
Best