moom0o / PhotoSphereStudio

Upload 360° photos to Google Maps without using Google's app
GNU General Public License v3.0
47 stars 8 forks source link

error 400 #11

Open manhoos69 opened 11 months ago

manhoos69 commented 11 months ago

guys please help me idk what to do when i upload photo it appear my photos are 360 i sure. F46119DE-1017-47CD-9B10-0B724E6C9D71

alexiscoutinho commented 11 months ago

How did you take the photos?

manhoos69 commented 11 months ago

How did you take the photos?

i used an app named HDReye on iPhone it takes 360 photos im sure they are 360.

alexiscoutinho commented 11 months ago

Could you send it here?

manhoos69 commented 11 months ago

Could you send it here?

F84942A4-347B-402E-83D3-4B16C407BEE9

it is 9mb in original pic.don’t worry about resolution and quality👍🏽

alexiscoutinho commented 11 months ago

I wanted to try uploading it with another program to test if the problem wasn't with the image, so I needed the original photo. Alternatively, you could check the photo's metadata with exiftool. It should contain metadata like this:

Use Panorama Viewer             : True
Projection Type                 : equirectangular
Cropped Area Image Height Pixels: 4682
Cropped Area Image Width Pixels : 10752
Full Pano Height Pixels         : 5376
Full Pano Width Pixels          : 10752
Cropped Area Top Pixels         : 0
Cropped Area Left Pixels        : 0
First Photo Date                : 2023:03:01 17:18:17.548Z
Last Photo Date                 : 2023:03:01 17:19:50.3Z
Source Photos Count             : 30
Pose Heading Degrees            : 8.0
moom0o commented 6 months ago

@manhoos69 Try downloading exiftool and running .\exiftool.exe -UsePanoramaViewer=true -ProjectionType=equirectangular FILE.jpeg

ckoerner commented 1 week ago

I'm getting the same error on an image. Initially I tried uploading the largest jpeg I could (104.6 MB). Thinking it might be a filesize issue (even though that's not reported in the error message) I tried smaller sizes. A 50% version (25.7), and finally a 25% at 6.5 MB.

exiftool reports the following for all images (metadata is kept intact across resizing). Here is the report for the full size image:

Use Panorama Viewer : True Cropped Area Image Height Pixels: 9355 Cropped Area Image Width Pixels : 18710 Full Pano Width Pixels : 18710 Full Pano Height Pixels : 9355 Projection Type : equirectangular

Attached is a 25% version of the image:

DJI_0001_DJI_0026-edit-25

debug gives the following:

{ "error": { "code": 400, "message": "The image is not a 360 photo.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "metadata": { "EXTERNAL_MESSAGE": "The image is not a 360 photo." } } ] } }