Post

Replies

Boosts

Views

Activity

PhotogrammetrySamples metaData
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                             }
5
0
3.7k
Jul ’23
Cancel or stop PhotogrammetrySession.Request
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?
Replies
1
Boosts
0
Views
983
Activity
Dec ’21
how did you scan the bottom of the pancake?
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 ?
Replies
0
Boosts
0
Views
643
Activity
Dec ’21
PhotogrammetrySamples metaData
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                             }
Replies
5
Boosts
0
Views
3.7k
Activity
Jul ’23