JeremyHeleine / Photo-Sphere-Viewer

A JavaScript library to display Photo Sphere panoramas.
849 stars 942 forks source link

Samsung Gear 360 #35

Open paulinhop opened 8 years ago

paulinhop commented 8 years ago

Hello,

Im trying out photo-sphere-viewer solution to embed the photos produced by samsung gear 360 in my webpage. The problem is the photomerging isnt right, for some reason the 2 pictures have some black spots in it. Please check the attachments, is it a bug? maybe im doing something wrong?

foto1 foto2

paulinhop commented 8 years ago

Btw, im using a basic code, this is my code: I also attached now the image im using.

Teste de Imagem 360º ```
``` ![360_0004](https://cloud.githubusercontent.com/assets/17089365/16548873/19190a5e-416e-11e6-9ef2-7da1ddee8d50.JPG)
JeremyHeleine commented 8 years ago

Hi,

I'm not sure it's a bug. Actually we "see" that black areas in the original image. I never tried the Samsung Gear 360, is it its default output?

paulinhop commented 8 years ago

Hello Jeremy,

Thank you for your answer, i just found out 2 min. ago that it isnt a bug, its actually what you are going to with your question. Its the output format. The biggest problem is, when i take several pictures, in the mircro sd card it saves with the format i showed in my message. If i select the picture through the gear 360 software in my phone i can change the output to panorama and it will work fine. The problem with this is i have to do this picture by picture instead of making it like a bulk operation directly from the micro sd card.

JeremyHeleine commented 8 years ago

As I said, I never tried the Samsung Gear 360 so I won't be able to help you for that part. Maybe you can have a chance to automate the conversions if Samsung provides a command line tool?

paulinhop commented 8 years ago

Yes that would be great, but i dont think they have a command line tool. Im trying to find a software to convert the image they save into the sd card, witch is like the one i showed, and transform it in a standard panorama image that i can use anywhere, including your script.

claudiababescu commented 8 years ago

If you're on windows try Samsung Gear 360 Action Director . It will stitch the photos for you from source.

paulinhop commented 8 years ago

Hello @claudiababescu ,

May i ask you how? I have the gear 360 action director, but i isnt it only for videos? Can you point me where is the "conversion" of the photos so they stitch in the right format?

claudiababescu commented 8 years ago

Hi, Action Director is for both photos and videos. I wrote a tutorial on how to stitch 360 photos with Action Director here : https://www.startintech.co.uk/how-to-stitch-360-photos/ . Hope it works for you.

ftoledo commented 7 years ago

Hello all, I get a Gear 360 few days ago..i see that the output format are jpg with the two lens images together. The phone software (Samsung Gear Admin for android or Action Director for pc) process the photo previous to "download" from the camera to the phone (or pc). Unfortunately this app run only on certain devices (my phone S4 are not supported and i had to use a modified version of this app that do not work very well for testing)

I'm are gnu/linux user and seach for free software to process (stitch?) the photo that download and use directly from sdcard. I'm found hugin (http://hugin.sourceforge.net/), i will investigate it. Also, found this scripts https://github.com/ultramango/gear360pano/ whitout good result yet (i'm newbie on "360" world") If you viewer could do this process, it will be fantastic.

Example images: Original: http://bbs.docksud.com.ar/tmp/360/360_0019.JPG

Stitched from androiod gear app: http://bbs.docksud.com.ar/tmp/360/1483418695919.jpg

nunesbns commented 6 years ago

Import that image on Gear 360 ActionDirector, right click on image thumb and open file path. Use the image without the black borders. Done!