Recap Output format

Recap Output format

sekououmarbrehima_keita
Explorer Explorer
791 Views
4 Replies
Message 1 of 5

Recap Output format

sekououmarbrehima_keita
Explorer
Explorer

I have a EDU account and I'm using recap for my project, I follow all the steps on https://aps.autodesk.com/en/docs/reality-capture/v1/reference/http/reality-capture-create-scene-POST... and I'm specifing in the photoscene format rcm. And I tried all over format fbx and obj but at the end I get .3dp file and not what I'm asking for.


Attach with txt file with the step I folow and server response but result is still .3dp and not rcm or fbx file. 
Did some one get the same problem ? 
And how can i get it work ?

0 Likes
Accepted solutions (1)
792 Views
4 Replies
Replies (4)
Message 2 of 5

klarinda.gunadi.widjanarko
Autodesk
Autodesk

Hi,

 

From the API link, it says that for format: These parameter values are available only if scenetype is set to aerial.

I see you are setting the scenetype to object so hence the parameters are not relevant.

 

As an alternative, you can create project using ReCap Photo.

You can download ReCap from following link:

https://www.autodesk.com/products/recap/free-trial

It will install ReCap and ReCap Photo.

You can sign in using your edu account and create new project in ReCap Photo.

 

Hope this helps.

 

Rgds,

Klarinda



Klarinda Gunadi Widjanarko
Senior Software Engineer
0 Likes
Message 3 of 5

sekououmarbrehima_keita
Explorer
Explorer

Hello,

I wanted to update you on my experience using the example provided on Github at this link: https://github.com/Autodesk-Forge/recap-walkthrough-photo.to.3d.
I had to modify the headers on the "create_photoscene" function to set the format to 'application/json', which is different from the 'application/x-www-form-urlencoded' format specified in the Recap API documentation.
I'm not sure if this is a known issue or if there is a specific order that needs to be followed to achieve the desired result.

Although I set the output format to 'rcm, rcs, ortho' in the code from Github, I am still receiving an FBX file. Could you please advise me on what I can do to get the desired output format?

Unfortunately, since I am using the Recap API for a web service solution, the Recap app is not a viable option.

Thank you for your help.

Best regards,

sekououmarbrehima_keita_0-1680257826859.png

 

0 Likes
Message 4 of 5

eugene.chua
Autodesk
Autodesk
Accepted solution

Hi @sekououmarbrehima_keita,

 

Looking at the logs you attached in your original post, it looks like you might have omitted the "format=fbx" URL parameter in your "GET /photoscene" (https://aps.autodesk.com/en/docs/reality-capture/v1/reference/http/reality-capture-get-result-GET/#q...) request for obtaining the download link.

 

You should specify a request URL like: 

or
 
(substitute {photo_scene_id} for your own scene ID).
 
If nothing is specified the download link will be for a ".3dp" file, which seems to be what you're getting.
 
0 Likes
Message 5 of 5

sekououmarbrehima_keita
Explorer
Explorer

Hi,

Thank you for clarifying the issue with adding the output format in the "get result" functions.


I have another question - I often receive the following error message:

{
'error processing in check progress': {
photosceneid: 'yf9llq63wgnQdLLBB17Pdv28a0aA2iIugEB0Fh5irFo',
progressmsg: 'ERROR',
progress: '100'
}

This happens when the process is completed but the progress message shows as "ERROR". I assume this is because I sent low-quality images, despite sending 27 in total.

What are the requirements for images sent to Recap? I want to make sure that I follow these requirements to avoid this error as much as possible.

Thank you and best regards.

0 Likes