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

adding more iphone support #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

CharStiles
Copy link

@CharStiles CharStiles commented May 19, 2021

Hi!
Thank you for your repo, amazing & inspiring reverse engineering!
I found some examples of photos taken with iPhone where the current code extracts the wrong meta image as depth. I did some digging and found out sometimes the newer iPhones are saving all sorts of masks also hidden in the meta data. Here are some examples where it doesnt work and I included one image that does work. https://drive.google.com/drive/folders/1HhuuN2Nsn30yCKhCOqA4_JSL5avLF0Fo?usp=sharing You can see in the filenames which ones work and which ones dont. I found that you can still condition on the order of the meta images. So if there are more than 6 hidden meta photos then it is most likely the one in the 4th position. This was found out on a case by case basis, so there still may be photos out there that are not accounted for. Apple doesnt have any externally facing documentation on where the depth photos are stored since they want us to use their libraries. I tested it that it still works 100% for all of the iphone photos that it worked for before. (because it returns if there are still only 3 photos)
Anyways, hopefully this addition can help! Let me know if I should make any other changes or if you have any questions.
All the best,
Char

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

Successfully merging this pull request may close these issues.

1 participant