Create 3D models with Object Capture

RSS for tag

Discuss the WWDC21 session Create 3D models with Object Capture.

Posts under wwdc21-10076 tag

74 Posts

Post

Replies

Boosts

Views

Activity

Photogrammetry Creation Failed, Please Help
Hello, when I use Photogrammetry, I receive this error: Error creating session: cantCreateSession("Native session create failed: CPGReturn(rawValue: -11)") . My specs are listed below. I think My macBook Pro should be supported. Please let me know if I missed something or if there is a fix for the issue. Model Name: MacBook Pro (2019) Model Identifier: MacBookPro15,2 Processor Name: Quad-Core Intel Core i7 Processor Speed: 2.8 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 8 MB Hyper-Threading Technology: Enabled Memory: 16 GB
4
0
1.8k
Jul ’21
cantCreateSession("Native session create failed: CPGReturn(rawValue: -21)
Hi, I'm getting this error code "-21" ... anyone know what it means? cantCreateSession("Native session create failed: CPGReturn(rawValue: -21) 2021-07-17 14:01:29.621817+0200 HelloPhotogrammetry[2578:40148] [HelloPhotogrammetry] Using configuration: Configuration(isObjectMaskingEnabled: true, sampleOrdering: RealityFoundation.PhotogrammetrySession.Configuration.SampleOrdering.unordered, featureSensitivity: RealityFoundation.PhotogrammetrySession.Configuration.FeatureSensitivity.normal) 2021-07-17 14:01:29.669711+0200 HelloPhotogrammetry[2578:40148] Metal API Validation Enabled 2021-07-17 14:01:29.709715+0200 HelloPhotogrammetry[2578:40148] [HelloPhotogrammetry] Error creating session: cantCreateSession("Native session create failed: CPGReturn(rawValue: -21)") Program ended with exit code: 1
6
0
1.9k
Jul ’21
Object Capture App Error
I've been trying to run the Object Capture App under my M1 MacBook pro, macOS 12 beta, Xcode13 beta, and I got this Swift Compiler error code: /Users/heyuanhuang/Downloads/CreatingAPhotogrammetryCommandLineApp 2/HelloPhotogrammetry/main.swift:39:46: 'SampleOverlap' is not a member type of struct 'HelloPhotogrammetry.Configuration' (aka 'PhotogrammetrySession.Configuration') /Users/heyuanhuang/Downloads/CreatingAPhotogrammetryCommandLineApp 2/HelloPhotogrammetry/main.swift:19:8: Type 'HelloPhotogrammetry' does not conform to protocol 'Decodable' /Users/heyuanhuang/Downloads/CreatingAPhotogrammetryCommandLineApp 2/HelloPhotogrammetry/main.swift:191:47: 'SampleOverlap' is not a member type of struct 'RealityFoundation.PhotogrammetrySession.Configuration' Any help would be very much appreciated!
7
0
4.9k
Jul ’21
ObjectCapture HelloPhotogrammetry Bug 3
After updating macOS Monterey 3rd beta, HelloPhotogrammetry is bugging again. dyld[4495]: Symbol not found: _$s17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorVs05AsyncF8ProtocolAAMc   Referenced from: /Users/jimmygunawan/Library/Developer/Xcode/DerivedData/HelloPhotogrammetry-fljhediczpqycdgoysdrwzqsgxxf/Build/Products/Debug/HelloPhotogrammetry   Expected in: /System/Library/Frameworks/RealityFoundation.framework/Versions/A/RealityFoundation zsh: abort      ./HelloPhotogrammetry
2
0
923
Jul ’21
Symbol not found error in Photogrammetry command-line app in macOS 12 beta 3
I'm trying to run the Photogrammetry command line app in my 2019 16" MacBook Pro with AMD Radeon Pro 5500M (4GB), macOS 12 Beta 3 and Xcode 13 Beta 2, and I'm getting this error at runtime: dyld[2925]: Symbol not found: _$s17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorVs05AsyncF8ProtocolAAMc   Referenced from: /Users/jcabrera/Library/Developer/Xcode/DerivedData/HelloPhotogrammetry-cqhqojtjskyoksbfcqhymwkywznw/Build/Products/Debug/HelloPhotogrammetry   Expected in: /System/Library/Frameworks/RealityFoundation.framework/Versions/A/RealityFoundation A similar error was reported in another thread that came from changes from macOS 12 Beta 1 to Beta 2, so could this error be due to changes from Beta 2 to Beta 3?
1
0
919
Jul ’21
I can't run captureSample app on IPadOS15!! I can't find the "trust the app" in settings!!
Usually I could run some apps from out of app store just by setting the "trust the app" button in settings before IPadOS15, but after being updated to IPadOS15 beta, I can't find the setting, so I just see always "can't open the unidentified developers app" warning repeatedly. How can I solve it?? Please please help me!! ** I could build the CaptureSample successfully by xcode 13.0 beat anyway.
3
0
1.4k
Jul ’21
Creating a Photogrammetry Command-Line App
Hey! When using, I get this error. With what it can be connected? I am using intel core i5, 16 gb RAM, Radeon Pro 575x 4GB 2021-07-08 14:24:31.665961+0300 HelloPhotogrammetry[6882:508494] [HelloPhotogrammetry] Using configuration: Configuration(isObjectMaskingEnabled: true, sampleOrdering: RealityFoundation.PhotogrammetrySession.Configuration.SampleOrdering.sequential, featureSensitivity: RealityFoundation.PhotogrammetrySession.Configuration.FeatureSensitivity.normal) 2021-07-08 14:24:31.683174+0300 HelloPhotogrammetry[6882:508494] Metal API Validation Enabled 2021-07-08 14:24:31.697133+0300 HelloPhotogrammetry[6882:508494] [HelloPhotogrammetry] Error creating session: cantCreateSession("Native session create failed: CPGReturn(rawValue: -11)") Program ended with exit code: 1
1
0
563
Jul ’21
What is this "gravity data" in the new object capture API?
I'm playing with macOS new Object Capture API. I'm pretty new to 3D and I can't find any information regarding this gravity data for 3D reconstruction used for object capture. I used the CaptureSample app provided by Apple (link) and this is a sample of the gravity data 0.015480,-0.991253,-0.131063 And another question, how does the app calculate that data? What information does it use for that? Thanks
0
0
608
Jul ’21
Object Capture Errors
Im testing the object capture api and with the data provided it works like a charm. However when i take my own photos i keep getting the below error code - RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil) = 1.0 2021-06-21 13:22:50.674266+1000 HelloPhotogrammetry[55028:754841] ERROR cv3dapi.pg: Internal codes (1): 4004 2021-06-21 13:22:50.675276+1000 HelloPhotogrammetry[55028:754841] [Photogrammetry] No SfM map found in native output! 2021-06-21 13:22:50.675995+1000 HelloPhotogrammetry[55028:754841] [Photogrammetry] Got error in completion: reconstructionFailed(RealityFoundation.PhotogrammetrySession.Request.modelFile(url: file:///Users/xx/Desktop/Rock.usdz, detail: RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil), "Reconstruction failed!") Request modelFile(url: file:///Users/xx/Desktop/Rock.usdz, detail: RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil) had an error: reconstructionFailed("Reconstruction failed!")
1
0
1k
Jul ’21
RealityKit Object Capture
Hi, I am trying to build an object capture demo for mac kinda new in building macOS apps. Added a button to export the model but there is an error/warning "[Photogrammetry] No Auxiliary Depth Data found in the CGImageSource. Not using depth." Build a command line demo it works was able to export an usdz model, the only issue occurs while building an app demo Have installed macOS 12 beta and xcode 13 beta
0
0
745
Jul ’21
I got the "illegal hardware instruction" error when running Object Capture app
I'm testing Object Capture that is announced at WWDC21 but I got the error like below. zsh: illegal hardware instruction   /Users/userName/Downloads/CreatingAPhotogrammetryCommandLineApp/inpu I'm wondered why the console didn't say the path correctly. The path is "/Users/userName/Downloads/CreatingAPhotogrammetryCommandLineApp/input" (last t is missing) I built the app on a M1 Macbook and of cause I ran it on same Macbook but I got the error I mentioned. I'm guessing the app can run correctly in mesh building timing because I can see logs about the status of estimations. I attached the log. Does anyone know what happened in my Macbook? Error log
0
0
827
Jun ’21
Photogrammetry Examples Clipped
I'm running the HelloPhotogrammetry command line app with a few of the example set of images, but the results are different to the example USDZ files. With the two Nike trainers, the front gets clipped off for some reason. Am I doing something wrong?
Replies
0
Boosts
0
Views
391
Activity
Jul ’21
Value of type 'PhotogrammetrySession' has no member 'outputs'
API documentation and Demo show photogrammetrysession has property ouputs https://developer.apple.com/documentation/realitykit/photogrammetrysession But my macOS can't find the ouputs. My mac :MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports) version: macOS 12.0 Beta (21A5284e) XCode: Version 13.0 beta (13A5154h)
Replies
1
Boosts
0
Views
446
Activity
Jul ’21
Photogrammetry Creation Failed, Please Help
Hello, when I use Photogrammetry, I receive this error: Error creating session: cantCreateSession("Native session create failed: CPGReturn(rawValue: -11)") . My specs are listed below. I think My macBook Pro should be supported. Please let me know if I missed something or if there is a fix for the issue. Model Name: MacBook Pro (2019) Model Identifier: MacBookPro15,2 Processor Name: Quad-Core Intel Core i7 Processor Speed: 2.8 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 8 MB Hyper-Threading Technology: Enabled Memory: 16 GB
Replies
4
Boosts
0
Views
1.8k
Activity
Jul ’21
cantCreateSession("Native session create failed: CPGReturn(rawValue: -21)
Hi, I'm getting this error code "-21" ... anyone know what it means? cantCreateSession("Native session create failed: CPGReturn(rawValue: -21) 2021-07-17 14:01:29.621817+0200 HelloPhotogrammetry[2578:40148] [HelloPhotogrammetry] Using configuration: Configuration(isObjectMaskingEnabled: true, sampleOrdering: RealityFoundation.PhotogrammetrySession.Configuration.SampleOrdering.unordered, featureSensitivity: RealityFoundation.PhotogrammetrySession.Configuration.FeatureSensitivity.normal) 2021-07-17 14:01:29.669711+0200 HelloPhotogrammetry[2578:40148] Metal API Validation Enabled 2021-07-17 14:01:29.709715+0200 HelloPhotogrammetry[2578:40148] [HelloPhotogrammetry] Error creating session: cantCreateSession("Native session create failed: CPGReturn(rawValue: -21)") Program ended with exit code: 1
Replies
6
Boosts
0
Views
1.9k
Activity
Jul ’21
Object Capture App Error
I've been trying to run the Object Capture App under my M1 MacBook pro, macOS 12 beta, Xcode13 beta, and I got this Swift Compiler error code: /Users/heyuanhuang/Downloads/CreatingAPhotogrammetryCommandLineApp 2/HelloPhotogrammetry/main.swift:39:46: 'SampleOverlap' is not a member type of struct 'HelloPhotogrammetry.Configuration' (aka 'PhotogrammetrySession.Configuration') /Users/heyuanhuang/Downloads/CreatingAPhotogrammetryCommandLineApp 2/HelloPhotogrammetry/main.swift:19:8: Type 'HelloPhotogrammetry' does not conform to protocol 'Decodable' /Users/heyuanhuang/Downloads/CreatingAPhotogrammetryCommandLineApp 2/HelloPhotogrammetry/main.swift:191:47: 'SampleOverlap' is not a member type of struct 'RealityFoundation.PhotogrammetrySession.Configuration' Any help would be very much appreciated!
Replies
7
Boosts
0
Views
4.9k
Activity
Jul ’21
ObjectCapture HelloPhotogrammetry Bug 3
After updating macOS Monterey 3rd beta, HelloPhotogrammetry is bugging again. dyld[4495]: Symbol not found: _$s17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorVs05AsyncF8ProtocolAAMc   Referenced from: /Users/jimmygunawan/Library/Developer/Xcode/DerivedData/HelloPhotogrammetry-fljhediczpqycdgoysdrwzqsgxxf/Build/Products/Debug/HelloPhotogrammetry   Expected in: /System/Library/Frameworks/RealityFoundation.framework/Versions/A/RealityFoundation zsh: abort      ./HelloPhotogrammetry
Replies
2
Boosts
0
Views
923
Activity
Jul ’21
Symbol not found error in Photogrammetry command-line app in macOS 12 beta 3
I'm trying to run the Photogrammetry command line app in my 2019 16" MacBook Pro with AMD Radeon Pro 5500M (4GB), macOS 12 Beta 3 and Xcode 13 Beta 2, and I'm getting this error at runtime: dyld[2925]: Symbol not found: _$s17RealityFoundation21PhotogrammetrySessionC7OutputsV8IteratorVs05AsyncF8ProtocolAAMc   Referenced from: /Users/jcabrera/Library/Developer/Xcode/DerivedData/HelloPhotogrammetry-cqhqojtjskyoksbfcqhymwkywznw/Build/Products/Debug/HelloPhotogrammetry   Expected in: /System/Library/Frameworks/RealityFoundation.framework/Versions/A/RealityFoundation A similar error was reported in another thread that came from changes from macOS 12 Beta 1 to Beta 2, so could this error be due to changes from Beta 2 to Beta 3?
Replies
1
Boosts
0
Views
919
Activity
Jul ’21
I can't run captureSample app on IPadOS15!! I can't find the "trust the app" in settings!!
Usually I could run some apps from out of app store just by setting the "trust the app" button in settings before IPadOS15, but after being updated to IPadOS15 beta, I can't find the setting, so I just see always "can't open the unidentified developers app" warning repeatedly. How can I solve it?? Please please help me!! ** I could build the CaptureSample successfully by xcode 13.0 beat anyway.
Replies
3
Boosts
0
Views
1.4k
Activity
Jul ’21
Creating a Photogrammetry Command-Line App
Hey! When using, I get this error. With what it can be connected? I am using intel core i5, 16 gb RAM, Radeon Pro 575x 4GB 2021-07-08 14:24:31.665961+0300 HelloPhotogrammetry[6882:508494] [HelloPhotogrammetry] Using configuration: Configuration(isObjectMaskingEnabled: true, sampleOrdering: RealityFoundation.PhotogrammetrySession.Configuration.SampleOrdering.sequential, featureSensitivity: RealityFoundation.PhotogrammetrySession.Configuration.FeatureSensitivity.normal) 2021-07-08 14:24:31.683174+0300 HelloPhotogrammetry[6882:508494] Metal API Validation Enabled 2021-07-08 14:24:31.697133+0300 HelloPhotogrammetry[6882:508494] [HelloPhotogrammetry] Error creating session: cantCreateSession("Native session create failed: CPGReturn(rawValue: -11)") Program ended with exit code: 1
Replies
1
Boosts
0
Views
563
Activity
Jul ’21
Creating a Photogrammetry Command-Line App
Hello! How to start "Creating a Photogrammetry Command-Line App" Where to enter the path of the folder with the photo? I am using xcode and Monterey beta2
Replies
1
Boosts
0
Views
1.5k
Activity
Jul ’21
What is this "gravity data" in the new object capture API?
I'm playing with macOS new Object Capture API. I'm pretty new to 3D and I can't find any information regarding this gravity data for 3D reconstruction used for object capture. I used the CaptureSample app provided by Apple (link) and this is a sample of the gravity data 0.015480,-0.991253,-0.131063 And another question, how does the app calculate that data? What information does it use for that? Thanks
Replies
0
Boosts
0
Views
608
Activity
Jul ’21
Object Capture Errors
Im testing the object capture api and with the data provided it works like a charm. However when i take my own photos i keep getting the below error code - RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil) = 1.0 2021-06-21 13:22:50.674266+1000 HelloPhotogrammetry[55028:754841] ERROR cv3dapi.pg: Internal codes (1): 4004 2021-06-21 13:22:50.675276+1000 HelloPhotogrammetry[55028:754841] [Photogrammetry] No SfM map found in native output! 2021-06-21 13:22:50.675995+1000 HelloPhotogrammetry[55028:754841] [Photogrammetry] Got error in completion: reconstructionFailed(RealityFoundation.PhotogrammetrySession.Request.modelFile(url: file:///Users/xx/Desktop/Rock.usdz, detail: RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil), "Reconstruction failed!") Request modelFile(url: file:///Users/xx/Desktop/Rock.usdz, detail: RealityFoundation.PhotogrammetrySession.Request.Detail.reduced, geometry: nil) had an error: reconstructionFailed("Reconstruction failed!")
Replies
1
Boosts
0
Views
1k
Activity
Jul ’21
RealityKit Object Capture
Hi, I am trying to build an object capture demo for mac kinda new in building macOS apps. Added a button to export the model but there is an error/warning "[Photogrammetry] No Auxiliary Depth Data found in the CGImageSource. Not using depth." Build a command line demo it works was able to export an usdz model, the only issue occurs while building an app demo Have installed macOS 12 beta and xcode 13 beta
Replies
0
Boosts
0
Views
745
Activity
Jul ’21
I got the "illegal hardware instruction" error when running Object Capture app
I'm testing Object Capture that is announced at WWDC21 but I got the error like below. zsh: illegal hardware instruction   /Users/userName/Downloads/CreatingAPhotogrammetryCommandLineApp/inpu I'm wondered why the console didn't say the path correctly. The path is "/Users/userName/Downloads/CreatingAPhotogrammetryCommandLineApp/input" (last t is missing) I built the app on a M1 Macbook and of cause I ran it on same Macbook but I got the error I mentioned. I'm guessing the app can run correctly in mesh building timing because I can see logs about the status of estimations. I attached the log. Does anyone know what happened in my Macbook? Error log
Replies
0
Boosts
0
Views
827
Activity
Jun ’21