Software Archive
Read-only legacy content
17060 Discussions

Output landmarkPoints(*.json) files error

志成_符_
Beginner
721 Views

Hi everyone. I can got the landmarkPoint sucessfully, but while I want to save the obj files with texture  and output the  landmark files together, and error turn out. While I just save the obj  files with texture, no error will happen. The developement enviroment is U3D 5.1+ Win10 +SDK R5V7 + SR300. Do anyone successfully output the lankmark files(*.json) ? Can u share the succefull example? My code is followed, while setting the config, error won`t show up until the output step.

PXCM3DScan.Configuration scanConfig = new PXCM3DScan.Configuration();
scanConfig.mode = PXCM3DScan.ScanningMode.FACE;
scanConfig.options = PXCM3DScan.ReconstructionOption.NONE;

scanConfig.options =scanConfig.options | PXCM3DScan.ReconstructionOption.LANDMARKS;
scanConfig.startScan = true;
scanner.SetConfiguration(scanConfig);

 

0 Kudos
3 Replies
Xusheng_L_Intel
Employee
721 Views

Kevin, I cannot reproduce your issue. What error did you get when you save obj file with landmark? Thanks!

0 Kudos
志成_符_
Beginner
721 Views

Debug the PXCM3DScan will show up "PXCM_STATUS_ITEM_UNAVAILABLE". Once the "scanConfig.options =scanConfig.options | PXCM3DScan.ReconstructionOption.LANDMARKS;" was set, no matter "reconstructionOption.TEXTURE"  or "reconstructionOption.TEXTURE" will come out the same error.

0 Kudos
Xusheng_L_Intel
Employee
721 Views

Sorry, I can reproduce this issue. It looks like there is a bug there. We will fix it in future release. Thanks!

0 Kudos
Reply