How does meta data affect the model creation? When I added image meta data to sample, the created model was changed.
this is the code I get meta data from image url:
func getImageMetaData(url: URL) -> CFDictionary? {
if let data = NSData(contentsOf: url),
let source = CGImageSourceCreateWithData(data as CFData, nil) {
let metadata = CGImageSourceCopyPropertiesAtIndex(source, 0, nil)
return metadata
}
return nil
}
when I create photogrammetrySample, this is the code I add meta data to it:
if let metaData = getImageMetaData(url: imageURL) as? [String:AnyObject] {
sample.metadata = metaData
}
Post
Replies
Boosts
Views
Activity
How did you scan the bottom of the pancake, or did you use the other 3d apps to make the bottom mesh for the object captured pancake ?
I have multiple requests in one session, how to stop or cancel the request which is running but not stop or cancel the whole PhotogrammetrySession?