Posts

Posts mit dem Label "Google" werden angezeigt.

How to get Data from an Android phone and visualise it with terraink.app and Inkscape

Bild
In 2024, Google announced that they would begin storing your Timeline data (i.e. your Location History) locally on your device rather than in the cloud on their systems. The desktop version of the Timeline viewer was also discontinued since the data is now stored on your phone. But you are still able to export your timeline data How to obtain your Timeline JSON file: The most reliable way to obtain a compatible JSON file appears to be via your Android device's system settings, as direct export from the Google Maps app's main interface may no longer be available or straightforward: Navigate to your Android device's Settings . Go to Location . Select Location Services (or a similar entry, this may vary slightly by Android version/manufacturer). Tap on Google Location History or Timeline . Select your Google Account (if you have multiple). Look for and click on an option like "Export Timeline Data" or "Download a copy of ...

Monocular Depth Estimation using Diffusion Models

Here a little bit more about AI depth map generation. Google published an interesting paper: Monocular Depth Estimation using Diffusion Models   https://arxiv.org/abs/2302.14816   https://depth-gen.github.io/   ZoeDepth: Combining relative and metric depth (Official implementation) https://huggingface.co/spaces/RamAnanth1/ZoeDepth https://github.com/isl-org/ZoeDepth  

How to extract mp4 videos from your Google Pixel 6a photos

Bild
The Google Pixel 6a phone can take so-called motion pictures. These are jpeg images with a short mp4 video included in the metadata. This is how you see the image in an normal image viewer. This command allows you to extract the video from the jpeg file: exiftool -b -p "${trailer;s/.*(\0\0\0\x1cftypisom)/$1/s}" -ext jpg -w mp4 DIRECTORY or FILENAME -b Output metadata in binary format.  -p "${trailer;s/.*(\0\0\0\x1cftypisom)/$1/s}" Some magic to remove an offset in the binary file. https://exiftool.org/exiftool_pod.html#Advanced-formatting-feature -ext jpg Process files with the specified extension -w mp4 New filename extension DIR Directory or filename    This is the extracted video:  

Depth Map from Google Pixel 6a Photos

Bild
An other phone an other method to get the depth map. 😕 If you shoot with an Google Pixel in the "Portrait" mode it saves three images in one jpeg. The First one ist the Main image you See in every image viewer, second one is the image without any filter applied and the third one is the depth map. Main Image You can get the images with the command line tool " exiftool ". This time the depth map is not saved as embedded data but as a trailer. To extract it you need to fist run: "exiftool(-k).exe" MainImage.PORTRAIT.jpg -trailer -b > ImageWithoutFilter.jpg Image without filter This extracts an image with without any filter applied. Now you need to run the same command with the new created image, this will extract now the depth map: "exiftool(-k).exe" ImageWithoutFilter.jpg  -trailer -b > DepthMap.jpg Depth Map    

Panorama of old vase in VR - "View of Berlin from the roof of the dome"

Bild
Panorama „View of Berlin from the roof of the dome“ from a crater shape vase. Bild: Klassik Stiftung Weimar After I created the first 360° view from a vase , the Klassik Stiftung Weimar provided an second panorama from an old vase (1835 - 1841) created by Royal Porcelain Factory in Berlin (KPM) . This time it's a view of Berlin from the roof of the dome . Panorama „View of Berlin from the roof of the dome“ from a crater shape vase. Bild: Klassik Stiftung Weimar This time I did not remove the handles at the bottom and the result looks really nice in the VR glasses. I've done nearly the same then with the last vase panorama. Most of the work wass done with GIMP, I created the missing sky with gmics inpainting method and then added some meta data with exiftool. Panorama „View of Berlin from the roof of the dome“ from a crater shape vase. Bild: Klassik Stiftung Weimar edited by me Thanks to A-Frame I can now embed it as VR view here: The lin...

How to integrate a 360° Panorama with A-Frame into a Blogger post

Bild
This is a follow up of my last post "Panorama of old vase in VR" . The team from Klassik Stiftung Weimar asked me if it is possible to view the panorama directly into the blog without the link to google photos. My first answer was no, but then I started to research. I liked the idea to be a little bit more independent from Google. Google stopped the support of the Daydream last year and there will be no new smartphone with Daydream support. That means I will need to find other VR glasses if my smartphone will ever stop working. The good news is, I found A-Frame , an open-source web framework for building virtual reality (VR) experiences. A-Frame supports most VR headsets such as Vive, Rift, Windows Mixed Reality, Daydream, GearVR, Cardboard, Oculus Go, and can even be used for augmented reality. I found this very simple example to convert an equirectangular panorama to a 360° VR panorama. I just needed to add this eight line to the post and voila it's done. ...

"Hand with Reflecting Sphere" from M. C. Escher in VR

Bild
This time I stumbled across the picture "Hand with Reflecting Sphere" of M. C. Escher . Again I used more or less the steps from this tutorial: https://dablogter.blogspot.com/2019/05/tutorial-dresden-1824-inside-image-from.html 1. I removed the background with GIMP and cut out the Sphere: 2. I let hugin use his magic to create a Equirectangular panorama out of it: 3. I uploaded it to Google Photos to make it possible to view it in the browser or with my Daydream: Here the link to view the panorama with the Daydream: https://photos.app.goo.gl/dDkKrdtuBav9eDqe9 An nice alternative Android app to view panoramas is: https://play.google.com/store/apps/details?id=com.xojot.vrplayer

How to add sound to an VR Panorama

Bild
After I have created panoramas that I can view with a DayDream VR headset, I have now added sound to the image. CC BY Maurizio Pesce  How to create the panoramas: Tutorial: Dresden 1824 - Inside an image from Carl August Richter Update: Dresden 1824 - A 195 Year old image as 3D Wireframe in VR Tutorial: Dresden 1824 - Inside an image from Carl August Richter - Improved I used the sound from this video I found in Wikipedia: https://commons.wikimedia.org/wiki/File:Stadt_Wehlen_in_der_S%C3%A4chsischen_Schweiz.webm Then I used the Transmageddon Video Converter to extract the sound from the video and directly convert it to MPEG-4 AAC. I used this setting: MPEG4 Sound: MPEG-4 AAC Video: No Video Then I renamed my images to Dreden_left.jpg and Dresden_right.jpg and dropped all three files into used this online tool: https://cctoolkit.vectorcult.com/# And this is the result (You can only hear the sound with the headset, not in the browser): https://photos.app.goo...

Tutorial: Dresden 1824 - Inside an image from Carl August Richter

Bild
I found this image from Carl August Richter in an article about Dresden in Wikipedia. I think I found one of the oldest "little planet". I created images like this already myself some times: Little City Planet , Elbe Sandstone Mountains Now I had the idea to do it reverse and create an 360° panorama that can be viewed with an VR headset. (I use the Google Daydream.)  This is the original image, that you can download from Wikipedia: https://de.wikipedia.org/wiki/Frauenkirche_(Dresden)#/media/File:Dresden_Umsicht_Frauenkirche_1824.jpg The first step is to centre the image. I used two guides in Gimp,  Image->Guides->New Guides (by percent) and then used the move tool to place the picture. After that I used the crop tool to to create a perfect square image. To unroll the image I used the "Little Planet" plugin with an inverse transformation to create the classic panorama:  Filters->Map->Little Planet ...