Forum : Photosynth Lounge

Photogrammetric, Oblique Image Stitching, Pets Dressed in Clothes Photos… this is a place to chat and share stories with your fellow Photosynthers. Not all topics have to be about photography, this is a place to relax and chat about whatever you fancy.


Topic: Using the webservices api to upload

Report Abuse Report Abuse
bigbalou (Over 1 year ago)
Hi,

I saw many threads about the webservices api(http://photosynth.net/photosynthws/PhotosynthService.asmx) but I don't find any example how to use it except to retrieve information as the cloud point.

does anyone understand how to create a panorama and upload the picture?
where is the picture's data in this schema? Is it an AttachmentPart?

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddPanoramaPhoto xmlns="http://labs.live.com/">
      <PanoramaId>guid</PanoramaId>
      <FileId>string</FileId>
      <FileChunkCount>int</FileChunkCount>
    </AddPanoramaPhoto>
  </soap:Body>
</soap:Envelope>

Core5 succeded but HOW? :-(
http://photosynth.net/discussion.aspx?cat=a6bad539-de7d-4a16-8c4d-b143f7d5f984&dis=dd6ff2e5-3104-434d-9d94-aba4ed776519

Thanks for your help
Nathanael (Over 1 year ago)
The only program that I am aware of that uses the webservice to upload is they Photosynth app itself, which is to say, the synther that you drag photos into.

The webservice can be talked to in order to request any of the files associated with a given synth and is used by Photosynth.net pages, the various Photosynth viewers D3D, Silverlight, iSynth, etc. (obviously), SynthExport, Kean Walmsley's AutoCAD 2011 point cloud importer, and Henri Astre's PhotosynthToolkit to obtain the point clouds.

Henri Astre's PhotoSynthTileDownloader which can be used to download the full resolution images in a synth to use with PMVS2 via PhotosynthToolkit also uses the webservice.

To use it to add images or panoramas, the app doing the uploading would have to have first converted the image to a deep zoom image with the correct syntax (and also have a way of authenticating which user is adding the photo, if I'm thinking correctly).

Core5 succeeded simply by using the Photosynth app.
Nathanael (Over 1 year ago)
One thing that I'm not positive is clear to you is that the conversion of the image format, the photo matching, and the 3D reconstruction is all done on the local machine, and is uploaded as completed. 

The images begin uploading as soon as they are checksummed to ensure that they are not a duplicate of something already on the server, converted to a deep zoom image, and zipped up. This continues while the rest of the images are converted and subsequently uploaded, the images are matched, and the scene is reconstructed. 

When the scene is reconstructed, the deep zoom collection file is generated (2D view layout), the point cloud data is sorted into evenly distributed chunks of 5,000 points apiece, other information is saved out into a JSON file, and everything is zipped together in the correct format. Unless your app is doing all of this while being signed in to the website with a Windows Live ID, I'm not sure what chance you have of using the webservice to upload
Nathanael (Over 1 year ago)
A concise and clear official statement from a Photosynth team member comes from Bert Molinari in this discussion: 
http://photosynth.net/discussion.aspx?cat=01b6f15f-42eb-49cb-a221-ed56615e1c47&dis=6c820334-acc9-441e-ba06-78fb02eea44c

There's also a post from David Gedye (Photosynth Group Manager) at the end of this discussion, as well as some links to videos where other Photosynth team members are explaining what David sums up there: 
http://photosynth.net/discussion.aspx?cat=a6bad539-de7d-4a16-8c4d-b143f7d5f984&dis=21a7c0d4-5d57-488a-a605-c4b420ab66e1

All of that said, I would love to see some other apps written that could upload correctly formatted and high quality content to Photosynth - custom apps for Linux and OSX, for example, perhaps based on Noah Snavely's Bundler or Henri Astre's OpenSynther and using something like one of the open source deep zoom image converters from the list at http://seadragon.com/developer/creating-content/
You need to be Signed In to add a comment. (Are you new? Sign Up for a free account.)