What I’m trying to do:
I have an app that retrieves exif data from photos uploaded from cell phones
What I’ve tried and what’s not working:
In my Jupyter Notebook all photos are returning EXIF data, but when I run my Anvil App (it is not an uplink) it is sort of hit or miss and I can’t seem to figure why.
Code Sample:
# code snippet
Clone link:
https://anvil.works/build#clone:W7N3WHFG5A6PRGB4=5MPXG3JEV5UP7EFIIIZITKC4
Depending on how you upload the images, they could be modified (see here).
Thank you for the response. It ended up being a format setting on my phone camera. Another quick question; I am extracting metadata with the same app and for iOS phones my app runs well but when I use a Samsung I get an error I have never seen:
AnvilWrappedError: unpack requires a buffer of 4 bytes
Any idea what would prompt this? I’m sending a 10MB media object to a server function and returning a string format date.
Forgot to mention it is a mp4 file. App works well on MOV files