Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poco F5 #3

Open
NeuroLord opened this issue Jul 25, 2024 · 0 comments
Open

Poco F5 #3

NeuroLord opened this issue Jul 25, 2024 · 0 comments

Comments

@NeuroLord
Copy link

Is it possible to extract depth from a photo taken on a Poco F5? I take them in portrait mode, I can change the aperture in the gallery app, but your program doesn't work with that. Image

C:\Users\user\Downloads\XiaomiDepthMapExtractor\DepthMapExtractor\bin\Debug\netcoreapp3.1>C:\Users\user\Downloads\XiaomiDepthMapExtractor\DepthMapExtractor\bin\Debug\netcoreapp3.1\DepthMapExtractor.exe -i "IMG_20240726_015058.jpg" -o d.png -d true
Extracting all sub files from IMG_20240726_015058.jpg
Total lenght: 6517034 (6,22)
Extracting xml from IMG_20240726_015058.jpg
version -> 1.0
encoding -> UTF-8
standalone -> yes
focuspoint -> 2310,1038
blurlevel -> 0
depthsize -> 0,0
shinethreshold -> 5
shinelevel -> 40
rawlength -> 3056925
depthlength -> 391916
mimovie -> false
depthOrientation -> 90
vendor -> 1
portraitLightingVersion -> 2
cameraPreferredMode -> 0
bokehMappingVersion -> 1
Found a jpeg sub image
Found a jpeg sub image
Found a trailer that starts with 504D 5044 0200 at position 6125118
It's a PMPD Depthmap
Serializing a chunk starting at 0, the size is 28675, kind is JPEG
One segment was merged
Writing d.png1.jpg
The main image has this shape: {"Height":4624,"Width":2080,"RotateFlip":0,"Ratio":0.449827}
It looks like the stream DOES NOT contain a Xiaomi depth map
/types/type_depthmap_info/seq/0: at pos 1060: validation failed: not equal, expected [01 00 FF FF], but got [03 00 FF FF]
Extraction aborted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant